Unix Survival Kit

Typical problems solving under Unix


Kill a process

  • Identify the Process ID (PID) of your process,
    ps -ef | grep

  • Kill the process,
    kill -9

Machine hang

If your machine does not respond to any keyboard or mouse entry,

  • Login another machine
  • SSH to the hung machine
  • Identify the Process ID (PID) of your processes,
    ps -ef | grep
  • Kill the process,
    kill -9
  • If not succeed, call the system administrator for help.

Well organize your work files under Unix environment

Some rules to organize your work files

  • Users are strictly required to save their work files under their home directory
  • No user is allowed to write any files onto /tmp, this directory is reversed for system files swapping
  • All files under /tmp will be removed without prior notice
  • For those who need a larger swapping area, they can save their work files on /public temporarily
  • All files that have not been accessed for 14 days under /public will be removed with prior notice