Linux Commands

From ACLab Wiki

Jump to: navigation, search

Contents

[edit] Commands


[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:


[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]


[edit] Linux directory structure

Image:Linux_Directory_Structure.png

Personal tools