LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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-20-2003, 08:06 AM   #1
koswo
Member
 
Registered: Oct 2003
Location: Drieslinter, Belgium
Distribution: Fedora Core 3 / Knoppix 3.7
Posts: 53

Rep: Reputation: 15
chmod


Hello,

Let's say I have a dir in my home name Docs. In this dir there are couple of subdirs and files. Now I want to put the "700" permission on the Docs dir and all the subdirs and files in it. How do I do this in one command?

Thanks,

Koen.
 
Old 10-20-2003, 08:09 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
chmod -R 700 filename

Its all in the man pages. man chmod
 
Old 10-20-2003, 08:21 AM   #3
koswo
Member
 
Registered: Oct 2003
Location: Drieslinter, Belgium
Distribution: Fedora Core 3 / Knoppix 3.7
Posts: 53

Original Poster
Rep: Reputation: 15
thanks!

Koen.
 
  


Reply



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
How to use Chmod Centinul Linux - Newbie 8 06-30-2005 10:44 AM
What can we do if we type chmod ugo-x /bin/chmod ?????? bunny123 Linux - Software 3 02-01-2005 08:53 PM
CHMOD in shell : chmod 777 /usr/ <---is that right? cpanelskindepot Programming 5 07-16-2004 05:37 AM
Chmod gibbylinks Linux - Newbie 1 10-23-2003 11:17 AM
chmod u+s csDraco_ Slackware 6 04-22-2003 08:44 AM

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

All times are GMT -5. The time now is 10:38 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
Open Source Consulting | Domain Registration