LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-24-2004, 06:58 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,637

Rep: Reputation: 54
Command question


Hi folks,

The owner/group and user of /dir_A are AAA bbb

To change them to "XXX yyy", instead of runing

chgrp -R XXX /dir_A
chown -R yyy /dir_A

separately, is there a combination command (not with pipe commmand) doing 2 tasks simultaneously.

TIA

B.R.
satimis
 
Old 11-24-2004, 07:12 AM   #2
jkobrien
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slackware, LFS, Ubuntu, RedHat, Slamd64
Posts: 507

Rep: Reputation: 30
chown -R yyy:XXX /dir_A
 
Old 11-24-2004, 09:59 AM   #3
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,637

Original Poster
Rep: Reputation: 54
Quote:
Originally posted by jkobrien
chown -R yyy:XXX /dir_A
noted with thanks

B.R.
satimis
 
  


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
Question About a Command? carlosinfl Linux - General 4 10-28-2005 01:51 PM
mt command question Ayman.mashal Linux - General 3 06-17-2005 06:19 AM
Command question satimis Linux - General 8 06-23-2004 03:43 AM
cp command question satimis Linux - Newbie 1 09-13-2003 09:31 PM
Command Question gauge73 Linux - Newbie 2 02-13-2003 09:18 PM


All times are GMT -5. The time now is 04:34 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