Common Tasks and Commands
Services
Restarting/Starting a Service
/etc/init.d/(SERVICE) restart
Common services:
- webmin
- mysqld
- apache2
- httpd
- squid
- proftpd
- ssh
- bind9
Shutting down a service
/etc/init.d/(SERVICE) stop
Common Commands
- top - Check the current status of your VPS utilization of memory and CPU
- du - Check your disk usage
- ping - Check connectivity
- vi - Text editor
- vim - The above text editorĀ improved
- apt-get - Install new software, updates and more
- cd - Move between directories
- rm - Remove files and directories (BE CAREFUL WITH THIS)
- mv - Move files and directories
- cp - Copy files and directories
- ls - List contents of directories
- chown - Change ownership of files/folders
- chmod - Change permissions of files/folders
- shutdown - Initiate restarts and shutdowns
This is by no means comprehensive and only covers the top commands used most frequently, for more commands: http://linuxmanpages.com/ -- http://linux.die.net/man/