answersLogoWhite

0

Explain out put of the ls-l command?

Updated: 10/3/2023
User Avatar

Harilalkesav

Lvl 1
14y ago

Best Answer

If you mean the ls command in linux/unix, it is the command to list the contents of a directory. A 'ls -l' will display the complete information including the permissions, owners, size and when last modified in date and time.

e.g.

root\usr\sample $ ls -l

drwxr-xr-x 1 root root 4096 Nov 26 2007 sample.txt

root\usr\sample $ ll

drwxr-xr-x 1 root root 4096 Nov 26 2007 sample.txt

root\usr\sample $ ls

sample.txt

The output of the ls -l and ll command is in the following format. First of the 10 characters shows the type of the item (directory/file/link etc) and the remaining shows the permissions of root, user and group. Next is the number of directories, next is group to which the item belongs, next size of the dirctory/file, next the date on which the directory/file was last modified and the directory/file name.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

11y ago

ls command, by itself, will list all of the files and directories in the current directory. It is similar to the dir command in DOS. You can type 'man ls' to get the manual for for all of the options for ls. One that's good to know is 'ls -al' which gives the file listing with all the permission bits, as well as file size and type (directory, link, etc.)

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

The best way to describe this is to use the command:

man ls

To give a complete picture of what the long listings are.

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

it shows all the files and directories under with their permissions and date and sizes .

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Explain out put of the ls-l command?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the formula for process capability when only LSL is given?

process capability = std deviation - lsl / 6 sigma


Explain the economic characteristics of the command and market economic?

Explain the economic characteristics of the command


What does lsl in texting mean?

Laughing So Loud


Where is the Lsl Historical Society in Lake Saint Louis Missouri located?

The address of the Lsl Historical Society is: 100 Cognac Court, Lake Saint Louis, MO 63367


Explain stalins use of command economy in Russia?

its his command in economy


What is msdos filter command?

what is ms dos filter command? explain with example


In foxpro explain any five SET command?

(1) Set clock command (2) Set data command (3) Set decimal command (4) Set device command (5) Set function command


What is the purpose of the AS command in SQL?

If you are in search of learning the purpose of the AS command in SQL, there are a few resources that are available to you. One resource that can explain the purpose of the AS command in SQL is Wikipedia.


What is the PUT command?

In BASIC the put command fills a file field area, typically for random access writes.


What is the command for new panels in laptop?

Please explain "new panels".


What does the sudo command do in linux?

When u put sudo before a command in terminal the command run with root privileges


What does a command sign look like?

Put a period at the end of every command sentence.