Join Scott Simpson for an in-depth discussion in this video A little more about ls, part of Learning Linux Command Line.
- [Voiceover] I want to talk a little bit more…about the ls command.…As we've seen, ls lists the contents of a directory.…We've been using it as an example for our command…because it's short and has an easily changeable output.…But that 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 might have…some color or they might not.…Let's go to the exercise files and look around.…All right, cd Documents/Exercise\ Files/…and I'll write ls - l to see a little bit more information.…
The first column on the left shows whether an item…is a folder or a directory which will be shown with a d,…a link will will be an l, or a file which is a dash,…meaning that the attribute is missing or not set.…The next set of columns show a representation…of the permissions on the file, what different kinds…of users are allowed to do with the file.…We'll take a look at these in depth later on.…Further to the right, we see the owner of the file…
This course will establish the foundation for more advanced Linux topics. Find other Linux training courses here.
- What is the Linux command line?
- Writing Linux commands at the prompt
- Finding help for Linux commands
- Editing files and folders
- Configuring user roles and file permissions
- Using pipes to connect commands
- Peeking at files
- Searching and editing text
- Finding disk and system information
- Installing and updating software