Skip to content

Instantly share code, notes, and snippets.

@scabbiaza
Last active August 29, 2015 14:06
Show Gist options
  • Save scabbiaza/8d722db0eb30bd1cd3af to your computer and use it in GitHub Desktop.
Save scabbiaza/8d722db0eb30bd1cd3af to your computer and use it in GitHub Desktop.
Terminal sketches
# list of files in current dir
$ ls -la
# open file for reading
$ cat filename
# open file for changes
$ nano filename
# remove folter and its contain
$ rm -r dir/
$ rm -rf dir/
# check port (80)
$ lsof -i :80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment