Skip to main content

Linux Shell snippets

p0nch0 d3v

Here is a set of some git snippets, useful in some way.

List files/directories

ls -a -l -h --color=always

Where:

-a      = show all files included the dots(.)
-l = show in long format
-h = Show in units in humat readable format
--color = Output colored

Find forlders recursively

find . -name "node_modules" -type d -prune | xargs du -chs