Skip to content

Instantly share code, notes, and snippets.

@lg3bass
Last active June 23, 2017 19:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lg3bass/64aae30dfa7fc07c6bcd to your computer and use it in GitHub Desktop.
Save lg3bass/64aae30dfa7fc07c6bcd to your computer and use it in GitHub Desktop.
MACOS>UNIX>cp,mv,mkdir
//copy directory into another directory
cp -R CSV/ WPS_SITES/ab_middleton_law_mysearchlab_9/CSV/
//mkdir
//--the -p flag will create the intermediate directories.
mkdir -p LM/STINKBUT/TEST
//show the size of the home directory
du -chd 1 ~
//recursively list all files in directories and save output to file
ls -LR > output.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment