Cheatography
https://cheatography.com
AIX linux programming reference documentation
SAS Server Command Cheatsheet |
File permission/Owners
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 |
|
|
Disk & File size
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 |
User Related Commands
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 |
|
Created By
Metadata
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets