List of most important commands

Aus IT Physics
Zur Navigation springen Zur Suche springen

AG Guhr

Navigate through the file system

  • List all folders in current level -> ls
  • Change directory to a folder in current level -> cd folder name
  • Change directory back to previous folder -> cd ..
  • Change directory to a folder two or more levels deeper -> cd folder name 1/folder name 2(/...)
  • Copy one file into another directory -> cp file name complete file directory:home/...
  • here are more basic commands [[1]]



System monitoring

  • Print general hardware specification (for example core number) -> lscpu
  • Print all active processes -> ps -x

(many processes are listed now -> search for example for process name with python -> note the process id)

  • Kill one specific process by id -> kill -9 process id