Skip to content

Instantly share code, notes, and snippets.

@nestoralonso
Last active August 2, 2016 14:58
Show Gist options
  • Save nestoralonso/bf300d7e0d4b712f614efac531c209f9 to your computer and use it in GitHub Desktop.
Save nestoralonso/bf300d7e0d4b712f614efac531c209f9 to your computer and use it in GitHub Desktop.
bash random commands
# make a folder selection using ls and pass it to echo to see command output before executing
ls -d muchos*dirs/ | xargs -I{} echo rm -rf {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment