DEV Community

Cover image for 8 bash commands with options for beginner developers
Ahmed Said-ahmed
Ahmed Said-ahmed

Posted on • Edited on

8 bash commands with options for beginner developers

How do you list the files and directories in your working directory? Well, we use ls, right?

Then, what if we want to list the files and directories and the files inside each directory?

Until very recently, I was thinking that I have to install a package called tree and that this was the only way. Until, I actually found out that ls command has an option -R that do exactly the same thing, and even sometimes better if combined with other flags and options.

In the video below, I am sharing flags and options for basic linux commands like this that will increase your terminal mastery and sometimes save you some time and space (compared to downloading other solutions).

Check this out and let me know if you had been in this situation and if so what was your solutions?!

Check the next part of the series:

Writing complex bash commands using redirecting, chaining & nesting

Top comments (0)