LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 10-18-2003, 09:34 PM   #1
Imyrryr
Member
 
Registered: Aug 2003
Location: 3rd electron on the left getting mugged by the nutrinos at Quarks
Distribution: Slackware 13.37, Slackware 14.0, Mint
Posts: 138

Rep: Reputation: 17
Question displaying file permissions


This may seem like a really dull question but I can't seem to find it in my books or in the man pages (although very possible I'm overlooking it) but, if I set a files chattr +i attribute, is there a way to see all the file permissions for that files using 'ls' I can't seem to find a way to show the 'extended' attributes.

Any assistance would be greatly appreciated
 
Old 10-18-2003, 09:55 PM   #2
speter
Member
 
Registered: Sep 2003
Location: Edison, NJ
Distribution: Fedora, Mac OS X
Posts: 313

Rep: Reputation: 30
ls -l (long form)

Steve
 
Old 10-18-2003, 10:00 PM   #3
rakriege
Member
 
Registered: Oct 2003
Location: San Deigo, CA
Distribution: FC3, Win2k Server, XP Pro & 2003 Server
Posts: 198

Rep: Reputation: 30
ll works too and is 3 less strokes
 
Old 10-18-2003, 10:02 PM   #4
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
You can use the lsattr to show the attributes, ls doesn't show them.
 
Old 10-18-2003, 10:02 PM   #5
Imyrryr
Member
 
Registered: Aug 2003
Location: 3rd electron on the left getting mugged by the nutrinos at Quarks
Distribution: Slackware 13.37, Slackware 14.0, Mint
Posts: 138

Original Poster
Rep: Reputation: 17
Quote:
Originally posted by rakriege
ll works too and is 3 less strokes
ll only works if you have the ll as an alias to do ls -l

just an fyi.. not meaning to step on toes
 
Old 10-18-2003, 10:05 PM   #6
Imyrryr
Member
 
Registered: Aug 2003
Location: 3rd electron on the left getting mugged by the nutrinos at Quarks
Distribution: Slackware 13.37, Slackware 14.0, Mint
Posts: 138

Original Poster
Rep: Reputation: 17
Quote:
Originally posted by ToniT
You can use the lsattr to show the attributes, ls doesn't show them.
you da' man! Thank you! was looking for the wrong command the whole time. btw is there a way to incorporate 'ls' and 'lsattr' in the same directory listing?
 
Old 10-18-2003, 10:06 PM   #7
rakriege
Member
 
Registered: Oct 2003
Location: San Deigo, CA
Distribution: FC3, Win2k Server, XP Pro & 2003 Server
Posts: 198

Rep: Reputation: 30
np, most alias are set to as defualt on newer distros
 
  


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
Possible to pipe output and error to a file while displaying them on monitor? Akhran Linux - Newbie 2 03-29-2006 05:04 AM
Displaying fields in wtmp file? eclapton1 Programming 1 06-26-2004 09:51 PM
displaying file access times in console k4zau Linux - Software 4 10-26-2003 10:48 PM
Displaying a text file in ascii?? bauld Linux - General 4 11-21-2001 07:33 PM
Displaying a certain line in a file. Mike_the_Man Linux - General 1 03-02-2001 10:12 PM


All times are GMT -5. The time now is 09:37 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration