Thursday, July 10, 2008

file permission and groups

u=owner
g=group
o=others

r=read w=write x=execute
+ add permissions
- remove permissions
= set permissions absolutely

Ex:
chmod go+rx mydir

separate multiple settings by a comma
chmod a=rx,u+w myhome
will set myhome to drwxr_xr_x

No comments:

Post a Comment

Continuously monitor GPU usage

 For nvidia GPUs do the follwing: nvidia-smi -l 1