From the course: Learning Linux Command Line

Unlock the full course today

Join today to access over 24,200 courses taught by industry experts.

Exploring the output of the ls command

Exploring the output of the ls command - Linux Tutorial

From the course: Learning Linux Command Line

Exploring the output of the ls command

- [Narrator] As we've seen the LS command lists, the contents of a directory. Showing information about files contained within it. We've been using it as an example of command because it has options to change the output and because it accepts arguments. But the commands output itself is pretty useful. And it's worth taking some time to understand what it shows. LS just by itself, gives a list. And depending on your environment, the items may have some color or they may not. The coloration is helpful, but it's not critical to using LS. If you're not seeing it, you can try running LS with the color equals always option. On other platforms like BST or MAKO S you may need to use the dash capital G option Instead. The colors represent different aspects of the files in the listing. Let's go to the exercise files and look around. I'll write CD space, documents slash, exercise files and there I'll write LS dash L to see a…

Contents