Jump to content

CL101:File Management

From NYC Resistor Wiki
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 | edit source]

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

cd[edit | edit source]

  • cd
  • cd -
  • cd ~

pwd[edit | edit source]

ls[edit | edit source]

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

rm[edit | edit source]

  • rmdir

mv[edit | edit source]

  • also rename

cp[edit | edit source]

  • cp -r


Cool things that would require their own class[edit | edit source]

find[edit | edit source]