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 05-28-2009, 11:46 PM   #1
linux hates me
Member
 
Registered: May 2009
Distribution: fedora 14 and CentOS 5.5
Posts: 71

Rep: Reputation: 15
simple command for viewing folder permissions


hey could someone tell me what the command is for seeing what permissions you have set for a specific folder. I know how to set permissions I just cant seem to remember how to view permissions already set.

thanks guys
 
Old 05-28-2009, 11:55 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
ls -l

that's a small l, same as ls
 
Old 05-28-2009, 11:57 PM   #3
linux hates me
Member
 
Registered: May 2009
Distribution: fedora 14 and CentOS 5.5
Posts: 71

Original Poster
Rep: Reputation: 15
THATS IT

i just forgot

thanks
 
Old 05-29-2009, 12:05 AM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
You may want to add th "-d" option as well to stop ls from descending into the directory.
 
  


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
viewing computer folder in shell babu198649 Linux - Newbie 1 02-12-2008 02:32 AM
Viewing Folder Sizes? carlosinfl Linux - General 10 02-06-2007 06:41 AM
Need to get command for folder permissions ajd344 Linux - Newbie 5 10-13-2006 03:03 AM
permissions difference between /home/..../folder and /root/folder darkleaf Linux - General 3 07-21-2005 06:23 PM
Folder permissions viewing in Suse 9.1 randon SUSE / openSUSE 2 02-24-2005 12:31 AM


All times are GMT -5. The time now is 01:50 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration