Linux Commands
From ACLab Wiki
Contents |
[edit] Commands
- Basic list of linux commands: http://blog.lxpages.com/ultimate_linux.html (Printer friendly version)
[edit] Permissions and Ownership
- Change Permissions: chmod
e.g. from pauli, how to make all the users/acl folders, files and subfolders 775:
>chmod 775 -R /home/ACL/acl
- Change Owner: chown
e.g. from pauli, how to make all the users/acl folders, files and subfolders owner acl and group Domain Users:
>chown acl:"Domain Users" -R /home/ACL/acl
- Change Just Group: chgrp
For more detail and information about Linux permissions, see:
- http://en.wikipedia.org/wiki/File_system_permissions
- http://www.hackinglinuxexposed.com/articles/20030417.html
- http://www.hackinglinuxexposed.com/articles/20030424.html
[edit] Others
- Change Password: passwd
e.g. change root password:
>sudo passwd root
[edit] Archiving
- Archive and Unarchiving folders and files: gzip & gunzip
>gzip -r [folder/file]
>gunzip -r [folder/file]

