Useful pi commands

May 21, 2016    raspberrypi    commandline   

Note to Self

General commands

  • Shutdown: sudo shutdown -h now
  • Reboot: sudo shutdown -r now
  • Quit: exit
  • Delete a file rm FILE

Iowa Image Project

  • Turn on the computer vision environment: workon cv
  • Turn if off: deactivate
  • Run a python script with nohup: nohup python FILE.py &
  • Count lines in a file: wc -l nohup.out

Running pi and plex at home

  • Access the pi ssh pi@IPADRESS
  • sudo service plexmediaserver start