But, if you want to display the information about the /etc/ directory, use -ld option as shown below. But if you want the details of directory then you can use -d option as., For example, if you use ls -l /etc will display all the files under etc directory. When you use “ls -l” you will get the details of directories content. Display Directory Information Using ls -ld Use ls -lh (h stands for human readable form), to display file size in easy to read format. Display File Size in Human Readable Format Using ls -lh Field 7 – File name: The last field is the name of the file.In this example, ‘Jun 13 15:27’ specifies the last modification time of the file. Field 6 – Last modified date & time: Sixth field specifies the date and time of the last modification of the file.In this example, ‘9275204’ indicates the file size. Field 5 – Size: Fifth field specifies the size of file. In this example, this file belongs to ”team-dev’ group.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |