课程: Learning Linux Command Line

今天就学习课程吧!

今天就开通帐号,24,700 门业界名师课程任您挑!

Exploring the output of the ls command

Exploring the output of the ls command - Linux教程

课程: 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…

内容