LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   differences of commands (https://www.linuxquestions.org/questions/linux-newbie-8/differences-of-commands-529537/)

jumabern 02-16-2007 02:23 AM

differences of commands
 
what is the difference between the commands ls-l and
ls-al used in linux.

Nylex 02-16-2007 02:25 AM

Read the man page for ls to see what the a and l options do.

Broder 02-16-2007 03:44 AM

-l is long format, ls -l will list the permissions, ownership and dates of the contents of the directory. -a will also list the hidden files so ls -la will list the contents, including the hidden contents, in long form. The hidden files generally start with . If you do ls -a in your home directory you will see your user software files such as .gnome .mozilla, .realplayer .xmms, .kde Your user gnome settings are stored in .gnome etc.

reddazz 02-16-2007 04:03 AM

Hello and welcome to LQ. If you do not know what a command or a command switch does, then I think its best to read the manual or info page. On most distros you would do something like "man command" to find out what the command and its switches do.

XavierP 02-16-2007 07:58 AM

Moved: This thread is more suitable in Linux-Newbie and has been moved accordingly to help your thread/question get the exposure it deserves.


All times are GMT -5. The time now is 10:56 PM.