Extra PTS Commands - n05urpr1532-MHA-Team/PTS-Team GitHub Wiki

General Shortcuts - Here are some handy sudo shortcuts for normal use!

  • Type reboot which equals sudo reboot
  • Type update which equals sudo apt update
  • Type upgrade which equals sudo apt upgrade
  • Type install which equals sudo apt install followed by the appname you want to install e.g. install nano
  • Type autoremove which equals sudo apt autoremove – This removes any unused packages after installing an app
  • Type slist which equals sudo ls/etc/systemd/system – This lists all current services you have installed
  • Type prune which equals sudo docker image prune -a – This will remove any unused docker images (Thanks to @barryclamsworth for the tip!)
  • Type blitz which shows you the current transfer of PTS

Check Status of a Service - The key here is to type an s in front of what you are looking for.

  • Type sgdrive which equals sudo systemctl status gdrive
  • Type sgcrypt which equals sudo systemctl status gcrypt – For encrypted version
  • Type spgmove which equals sudo systemctl status PTSmove
  • Type spgunion which equals sudo systemctl status PTSunion
  • Type sufs which equals sudo systemctl status ufsmonitor
  • Type spgwhich equals sudo systemctl status PTS

Edit a Service - The key here is to type an n in front of what you are editing! Also, it executes a systemctl daemon-reload automatically for you!

  • Type ngdrive which equals sudo nano /etc/systemd/system/gdrive.service
  • Type ngcrypt which equals sudo nano /etc/systemd/system/ngcrypt.service – For encrypted version
  • Type npgmove which equals sudo nano /etc/systemd/system/PTSmove.service
  • Type ntdrive which equals sudo nano /etc/systemd/system/tdrive.service
  • Type ntcrypt which equals sudo nano /etc/systemd/system/tcrypt.service – For encrypted version
  • Type npgunion which equals sudo nano /opt/appdata/plexguide/PTSunion.sh
  • Type nrclone which equals sudo nano /opt/appdata/plexguide/rclone.conf