Thursday, October 24, 2013

System Administration Linux Commands

System Administration Linux Commands

• chmod – change file access permissions                                         

Usage: chmod [OPTION] [MODE] [FILE]                                      

eg. chmod 744 calculate.sh    

• chown – change file owner and group                                                     

Usage: chown [OPTION]... OWNER[:[GROUP]] FILE...               

eg. chown remo myfile.txt  

•  su –  change user ID or become super-­user                              

Usage: su [OPTION] [LOGIN]                                                 

eg. su remo, su 

• passwd – update  a user’s authentication tokens(s)                   

Usage: passwd [OPTION]                                                       

eg. passwd 

• who – show who is logged on                                                     

Usage: who [OPTION]                                                            

eg. who , who ­-b , who -q


No comments:

Post a Comment