LinuxQuestions.org
Review your favorite Linux distribution.
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 11-23-2006, 10:57 AM   #1
shipon_97
Member
 
Registered: Oct 2005
Location: Bangladesh
Posts: 447

Rep: Reputation: 30
Cool Meaning of -R, --g, -G


Dear Friends,

I have the following two questions :


1) chown -R oracle.oinstall /usr/app

what is the meaning of "-R" . Here oracle and oinstall is the user and "/usr/app" is a directory .

2) useradd -g oinstall -G apache apache

What is the meaning of SMALL 'g' and CAPITAL 'G' ?

Here I make "oinstall" and "apache" both are group .
 
Old 11-23-2006, 11:02 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Please read both 'man chmod' and 'man group' minus the single quote marks and learn the answers for yourself.

For example from the manpage for chmod;

-R, --recursive
change files and directories recursively
 
  


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
mips: 32(sp) -- meaning? ashlesha Linux - Newbie 1 09-16-2006 12:13 AM
What's the meaning of this sentense? ArthurHuang Programming 4 06-26-2006 01:22 PM
meaning of void* kpachopoulos Programming 3 10-12-2005 04:48 PM
what is the meaning of the directories? ashrat2002 Linux - Newbie 7 01-09-2004 07:18 PM
meaning of % symbol? freychef Linux - General 1 11-10-2003 10:32 AM


All times are GMT -5. The time now is 11:03 AM.

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