CL101:File Management

From NYC Resistor Wiki
Jump to: navigation, search
Command Line 101 Class Notes
Sections
  1. Home
  2. The Shell
  3. Directories
  4. File Management
  5. Viewing Files
  6. GREP
  7. The Pipe
  8. Chaining
  9. Cool Tricks
  10. Where do I go from here?

General options in most commands[edit]

  • -v
  • --version
  • -h, --help

cd[edit]

  • cd
  • cd -
  • cd ~

pwd[edit]

ls[edit]

  • ls
  • ls -l
  • ls -a
  • ls -h
  • ls -lah

rm[edit]

  • rmdir

mv[edit]

  • also rename

cp[edit]

  • cp -r


Cool things that would require their own class[edit]

find[edit]