Appendix: Linux Cheatsheet

Analog (Integrated) Circuit Design

19 Appendix: Linux Cheatsheet

Appendix: Linux Cheatsheet

  • ls to list files and directories
  • cd to change directory (e.g. cd analog-circuit-design/xschem)
  • cd .. to move one directory level up
  • mkdir to create a new directory (e.g. mkdir my_directory)
  • touch to create an empty file (e.g. touch file.txt)
  • rm to remove files (e.g. rm file.txt)
  • rm -r to remove recursively, for example a directory (e.g. rm -r my_directory)
  • cp to copy files (e.g. cp file.txt destination)
  • cp -r to copy recursively a directory (e.g. cp -r directory destination)
  • mv to rename files (e.g. mv file.txt new_name.txt)
  • mv to move files into other directories (e.g. mv file.txt directory)
  • cat to view the contents of a file (e.g. cat file.txt)

Appendix: Linux Cheatsheet

  • find to search for files and directories (e.g. find /path -name "*.txt")
  • nano to edit file (e.g. nano file.txt)
  • Ctrl + C to forcefully terminate a running process
  • htop to open the “task manager”

Appendix: Linux Cheatsheet