All these commands can be run in SSH as the root user
top
like windows task manager
We can install "htop" like top but more graphical
free -m
show the free, used and total ram in mb
CD directory_to_go_to
Will change the current working directory e.g. "cd /etc/"
LS
Will list all of the files in the current working directory, add -l for more info e.g. "ls -l"
PWD
Display the current directory path.
ping ip_address
same as ping in windows cmd, you will need to do ctrl+c to stop the ping.
nano file_name
like notpad for linux, run "yum install -y nano" if you don't have it already
find / -type f -size +20000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'
Display all of the "large files" on your VPS
/etc/init.d/httpd stop
/etc/init.d/httpd start
/etc/init.d/httpd restart
stop, start or restart apache, should be done after any config changes
/etc/init.d/mysqld stop
/etc/init.d/mysqld start
/etc/init.d/mysqld restart
stop, start or restart the mysql server
They are some basic commands, not all may work on your VPS server.
These are mainly for LxAdmin CentOS VPS servers.
Kindest Regards,