ps aux (shows all processes) kill (pid #) to remove service For example kill 12435 (this kills pid 12435)
Category: Linux Commands
Remove core files
find /var/ -name core.* -exec rm {} \; find /home/dwhs/public_html/ -name core.* -exec rm {} \; find /home/dwhs/ -name core.* -exec rm {} \; find /home/dwhs/ -name error_log -exec rm {} \; find /home/dwhs/ -name error_log -exec rm {} \;
Remove a service
service nfslock stop chkconfig nfslock off
FSCK file systems check
fsck -A -a Automatically repairs everything
Adding a Symlink
ln -s linktext linkname linktext is the location of the actual file. linkname is the redirect path ln -s /backup/logs /var/logs ln -s /home/cpanel /var/cpanel