AIX linux programming reference documentation
|
chmod -R 770 Files/Directories
|
Change file or folder permission directories
770 = read & write on user and groups 740=read & write on User. Read only on group |
|
chmod -R a=rwx. g=rwx, o= files/directories
|
Changes permission using rwx style.
|
|
chown -R user:group files/directories
|
Changes the user & group of files or directory.
-R option will make recursive changes to the directory |
|
df -g
|
Check the storage space usage on current directory.
cd /sasdata & df -g | grep IFRS9Model check how much spaces IFRS9Model folder is used |
|
du -m
|
Check the file size in megabytes.
du -m /sasdata/IFRS9Model/Canada/Reports/CB_IFRS9_Dashboard |
|
whoami
|
view your unix id
|
|
groups scotiaid
|
check which group the user belongs to.
groups s3307623 will show all groups s3307623 belongs |
|
lsgroup ALL | grep ifrs9mod
|
check all users under group ifrs9mod
|
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.