Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 607 Bytes

quickref.md

File metadata and controls

21 lines (17 loc) · 607 Bytes
  • pwd: print working directory (where am i?)

  • cd: change directory

  • ls: list directory contents

  • tree: show a hierarchical directory view

  • echo: spit a file out onto the terminal

  • cat: concatenate (print out a file onto the terminal)

  • less: view a file page by page

  • file: see the filetype of a file

  • cp: copy a file

  • mkdir: make a directory

  • mv: move a file (or rename)

  • rm: remove a file or directory

  • man: view online documentation

  • bash FILE: run FILE as a bash script

  • ~: your home directory

  • ..: "back" one directory

  • *: the "anything" wildcard