Closed Thread Icon

Preserved Topic: 2 Linux Commands, what do they do? Pages that link to <a href="https://ozoneasylum.com/backlink?for=21070" title="Pages that link to Preserved Topic: 2 Linux Commands, what do they do?" rel="nofollow" >Preserved Topic: 2 Linux Commands, what do they do?\

 
Author Thread
Maskkkk
Paranoid (IV) Inmate

From: Willaimsport, PA, US of A the hole in the Ozone
Insane since: Mar 2002

posted posted 12-11-2003 00:21

chgrp -R cvs .
chmod ug+rwx . CVSROOT

What do these do?

I think the first on changes the group to CVS
and the second I don't know what it's doing...

Thanks,



- Biggie

- Face the Present
- AIM: MASKKKK

01001101011000010111001101101011011010110110101101101011

WarMage
Maniac (V) Mad Scientist

From: Rochester, New York, USA
Insane since: May 2000

posted posted 12-11-2003 03:12

Before I begin disecting your commands I would reccomend you use the commands
man chgrp
man chmod

The . would symbolise the current working directory. It is normally refered to as ./, this means I could be wrong on the whole . issue but I don't believe I am.

chgrp -R cvs .
This command recursively changes all file in the current directory up to be owned by the cvs group. The -R is the recursive switch cvs is the group the . is the current directory.

chmod ug+rwx . CVSROOT

This one is file permissions, u means user, g means group, the rwx is read write execute. This adds read write and execute permissions for the current user and the group to the the local directory and the file CVSROOT.

Using the command ls -al will let you see how these changes take effect. Running a man ls wouldn't hurt either.

-Dan-

Maskkkk
Paranoid (IV) Inmate

From: Willaimsport, PA, US of A the hole in the Ozone
Insane since: Mar 2002

posted posted 12-11-2003 19:47

Ok thanks chief! You've been a big help!



- Biggie

- Face the Present
- AIM: MASKKKK

01001101011000010111001101101011011010110110101101101011

« BackwardsOnwards »

Show Forum Drop Down Menu