Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Both cp and rm have a -r (recursive) option that is used when operating on directories.
  • mkdir and rm also have a has -f (force) option that does not report an error if the file , directory, or or directory doesn't exist.
  • mkdir has a -p (parent) option that does not report an error if a component of a directory path, doesn't exist.
  • It is a good idea to specify directory names with a trailing slash ( / ) to indicate that they are directories
  • The "./" syntax means "relative to the current directory". It's optional but explicit.

...