answersLogoWhite

0


Best Answer

Exploration is the best thing! Try it!

It's a commonly used command. It lists the files in the current directory (or another directory if you specify). You can use flags to choose what information you need to see.

User Avatar

Wiki User

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

Wiki User

13y ago

Internally it will call "readdir" system call and interact with the kernel and list out the files present in the current directory. To understand better( internal process) just read about the file management in Linux by Moris J. Bach.

This answer is:
User Avatar

User Avatar

Wiki User

8y ago

It produces a list from files in a specific folder. Like the dir command in ms dos.

For a complete guide on how to use it and defferent options you can check out the manpage by typing man ls in a terminal.

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

The ls command is used to list the contents of the current directory.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What does the ls command in Linux?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Is the ls command in Linux equivalent to ls -FC?

The 'ls' command is the same in Linux and Unix systems. System Administrators may set up an alias that has the -FC or other options but the command itself with no other parameters (ls) is just the 'ls' command.


Linux command to list a folders contents?

The LS command: ls folder Type man ls for more details.


Write the Linux command to display the information about LS command?

Using man ls will open the manual page for the ls command. The ls command lists the files and folders in the current directory.


What Linux command that lists the basic files in a directory is?

ls


What does man ls abcdat command do in Linux?

The command "man ls" will tell you about the 'ls' command. The last part will be ignored because it isn't part of the manual entry for the 'ls' command.The command as you can given it is most likely because you want to know what will happen when you issue the 'ls abcdat' command in Linux. The answer is that it will list out the name (in a short form) of the file or directory abcdat if it exists in your current working directory.


What is the Linux command used to list the contents of a directory?

ls will list the contents of a directory.


What are the two most commonly used command in Linux?

cd ls


What command list basic directory files?

In Linux: ls In Windows: dir


How do you find user permissions in Linux?

Type the following command# ls -l


What Linux command is used for displaying all files with extension .c?

ls *.c


What is syntax Is command?

The 'ls' command has many switches and options, especially depending on which version of Unix or Linux you are talking about. The best way to find out is to try either: man ls info ls ls --help depending on the system.


What is the use of man command in Linux?

"man" is part of Linux. You could try "info" if you really wanted.