answersLogoWhite

0


Best Answer

To see the full list of options for the ls command, type "ls --help".

Some of the more important options are:

* -a - show all files (do not hide files starting with .) * -h - human readable (e.g., show file size as 2K instead of 2048) * -l - long listing format (show much more information about each file) The options can be combined. For example "ls -lha".

[Note: I often need a long listing of all files with the most recently modified file(s) at the end of the listing so I frequently use the command:

ls -latr

to accomplish this task. JHM]

User Avatar

Wiki User

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

Wiki User

14y ago

There are too many options to list here. Use the 'man ls' command or the 'info ls' command to get a complete list.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the options under 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.


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.


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 is Unix ls - l?

the "ls" command gives a listing of all the files in the current working directory, "ls" with the -l option gives the listing in vertical format along with file permissions, owner, group, and date when it was last modified. To see a more detailed explanation of the "ls" command and all its options run the command "man ls", man will also work with any other standard Unix/Linux command to give a detailed explanation of its purpose and various options.


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


Which command illustrates how to obtain helpful documentation for the ls command?

Use either the 'man' command or the 'info' command with ls to get more information on options and output.