These are typically files that you don't want to see, so this makes perfect sense. ![]() ) and aren't meant to be picked up by most GUI software, or the ls command. Though, that's mostly the benefit you get from this flag. instead of showing only in bytes, which can be very helpful. Now, we can see the size of files showed in KB, MB, GB, etc. rwxrwxrwx 1 marija marija 161K large.jpg If you want a more human-readable form, you can add the joined extension -lh or simply -h after the -l option: $ ls -lhĭrwxrwxr-x 3 marija marija 4,0K Jul 18 19:26 Folder_one Note: You can get far with the -l flag, and by combining other flags with it, the ls command will get you far for this task. If you'd like to read more about permmissions and how to change them via the terminal, read our Guide to Understanding chmod. The number following the permissions is the number of links to the file or directory. We can also see their owner and group, marija, and their size in bytes, as well as their modification date/time. Here we can see that we have one directory ( d in drwxrwxr-x), named Folder_one, and 2 files. rwxrwxrwx 1 marija marija 164461 large.jpg ![]() The result of this command should look something like: total 15168ĭrwxrwxr-x 3 marija marija 4096 Jul 18 19:26 Folder_one The -l option will modify the ls command to give you much more detailed info, such as whether an entry is a file or directory, the size (usually in bytes), modified date and time, permissions, and more: $ ls -l You can use them alone, or by combining a few of them, depending on what exactly are you looking for. The ls command has several non-mandatory options which, when turned on, give us much more about these files when listing them. Though, these are just the names, and we can't infer much from them.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |