Skip to content

Instantly share code, notes, and snippets.

@RavinduSachintha
Created July 13, 2019 02:43
Show Gist options
  • Save RavinduSachintha/0f89c1f67f08a19f0ea725e47a6760db to your computer and use it in GitHub Desktop.
Save RavinduSachintha/0f89c1f67f08a19f0ea725e47a6760db to your computer and use it in GitHub Desktop.
  • ls -> list down all files and folders inside the mentioned folder
    • ls -l -> show more details about content
    • ls -a -> show hidden files too
  • cd -> go to the mentioned folder
  • tree -> show the internal files and folders using tree structure ( may be need to install the corresponding package )
    • tree -L 2 -> show tree structure upto 2 levels
  • wc -> count the characters, words, lines for a given string content
    • wc -c -> print bytes count
    • wc -m -> print character count
    • wc -l -> print new line count
    • wc -w -> print word count
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment