LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 02-16-2007, 02:23 AM   #1
jumabern
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
Nylex
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
Broder
Member
 
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
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

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


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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