Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-16-2007, 02:23 AM   #1
LQ Newbie
Registered: Feb 2007
Posts: 1

Rep: Reputation: 0
differences of commands

what is the difference between the commands ls-l and
ls-al used in linux.
Old 02-16-2007, 02:25 AM   #2
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Read the man page for ls to see what the a and l options do.
Old 02-16-2007, 03:44 AM   #3
Registered: Oct 2006
Location: Santa Barbara, C.A.
Distribution: Mood dependent
Posts: 117

Rep: Reputation: 15
-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.
Old 02-16-2007, 04:03 AM   #4
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
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.
Old 02-16-2007, 07:58 AM   #5
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Suse Linux Commands For These Aix Commands? Vaskar Guha Linux - Software 2 12-19-2005 12:45 AM
what are the differences? LinuxPadawan Linux - General 10 07-27-2005 03:39 PM
Differences between 9.1 and 10 mikeymorgan Slackware 4 03-28-2005 04:42 AM
some differences linuxanswer Programming 1 04-09-2004 10:13 PM
Differences progjm Linux - Distributions 3 09-08-2003 11:02 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:25 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration