LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 03-22-2005, 04:28 PM   #1
cookie_ie
LQ Newbie
 
Registered: Mar 2005
Posts: 13

Rep: Reputation: 0
Basic ls command


Can someone help basic question, using the ls command i need to display access rights, what methods can i use?and examples would be great.
 
Old 03-22-2005, 04:33 PM   #2
overlord73
Member
 
Registered: Apr 2004
Location: ..where no life dwells..
Distribution: RH,FC/SuSE/Debian/HPUX/OSX
Posts: 518

Rep: Reputation: 30
hi and welcome!

use īls -lī

-> check īman lsī
 
Old 03-22-2005, 04:46 PM   #3
artificialGekko
Member
 
Registered: Mar 2005
Posts: 77

Rep: Reputation: 15
Or start the Midnight Commander with "mc" in any console, set the right panel to "Info" with F9 and you have all the filerights displayed uber-comfy...
 
Old 03-22-2005, 05:07 PM   #4
cookie_ie
LQ Newbie
 
Registered: Mar 2005
Posts: 13

Original Poster
Rep: Reputation: 0
i dont think i was specific enough, i need to get the numeric access rights values

Type of desired output, the lower sets of numbers
rwx-wx--x
421021001
7 3 1
 
Old 03-22-2005, 05:09 PM   #5
overlord73
Member
 
Registered: Apr 2004
Location: ..where no life dwells..
Distribution: RH,FC/SuSE/Debian/HPUX/OSX
Posts: 518

Rep: Reputation: 30
...but in this way mc shows only the rights per highlighted entry!
 
Old 03-22-2005, 05:09 PM   #6
artificialGekko
Member
 
Registered: Mar 2005
Posts: 77

Rep: Reputation: 15
Yeah, go for the Midnight Commander version I postet right up there, it shows the octal values of the chmod too. Always remember, mc is your friend
 
Old 03-22-2005, 05:12 PM   #7
artificialGekko
Member
 
Registered: Mar 2005
Posts: 77

Rep: Reputation: 15
Quote:
Originally posted by overlord73
...but in this way mc shows only the rights per highlighted entry!
Hum, true. But on the other hand if you just look at the way the rights are usually displayed in the long ls outputs for a couple of minutes you see the octal values, come on, it's as simple as 1+2+4
 
Old 03-22-2005, 05:32 PM   #8
calcon
Member
 
Registered: Mar 2005
Location: somewhere over the rainbow theres a place....
Distribution: Ubuntu Dapper and Arch
Posts: 121

Rep: Reputation: 15
I find mc kind of hard to get used to. Can you recommend some tips/sites to help with mc?

calcon
 
Old 03-22-2005, 05:35 PM   #9
artificialGekko
Member
 
Registered: Mar 2005
Posts: 77

Rep: Reputation: 15
Look at the man-page ("man mc" in console) - the documentation is as detailed as it could be.
 
Old 03-22-2005, 05:38 PM   #10
calcon
Member
 
Registered: Mar 2005
Location: somewhere over the rainbow theres a place....
Distribution: Ubuntu Dapper and Arch
Posts: 121

Rep: Reputation: 15
Thank you, I haven't read it yet but looking at it online it seems like it's very detailed.

Thanks!
 
  


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
Basic help on a command Colinux_Tlinux_noob Linux - Newbie 13 10-14-2005 08:43 AM
command line help - pretty basic Chuck23 Linux - Hardware 6 01-13-2005 10:30 AM
sources of linux basic command digitalbrutus Linux - Software 1 11-03-2004 01:50 PM
Need help one a basic command Gaz85 Linux - Software 4 02-22-2004 03:37 PM
Find Command - Basic Question tlb04 Linux - General 3 05-06-2003 08:45 PM


All times are GMT -5. The time now is 07:04 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration