Skip to content

list of commands we have learned so far

Meg Staton edited this page Aug 26, 2020 · 3 revisions

Day 1

  • ssh (secure shell)
  • qsub (submit a request to the job queue)
  • pwd (print working directory)
  • hostname (get name of computer)
  • cd (change directories)
  • ls (list contents)
    • ls -F
    • ls -l
  • wget (get file from a URL)
  • unzip (unzip a file)
  • man (manual)
  • --help (a flag that will work with many commands to get help)

Day 2

  • mkdir (make directory)
  • nano (open text editor)
  • ^C (kill a hung job)
  • cat (concatenate, ie print text to terminal)
  • touch (create an empty file)
  • mv (move - to rename and/or relocate a file or folder)
  • cp (copy)
    • cp -r
  • * (wildcard)
  • ? (wildcard)
  • wc (word count)
    • wc -l
  • > (redirect)
  • sort (sort)
    • sort -n
  • head (see the first few lines of a file)
    • head -n #