•
chmod – change file access permissions
Syntax: chmod [OPTION] [MODE] [FILE]
eg. chmod 744 calculate.sh
•
chown – change file owner and group
Syntax: chown [OPTION]... OWNER[:[GROUP]] FILE...
eg. chown remo myfile.txt
• su – change user ID or become superuser
Syntax: su [OPTION] [LOGIN]
• passwd – update a user’s authentication tokens(s)
Syntax: passwd [OPTION]
eg. passwd
• who – show who is logged on
Syntax: who [OPTION]
eg. who , who b , who q
•
ps – report a snapshot of the current processes
Syntax: ps [OPTION]
eg. ps, ps el
•
kill – to kill a process(using signal mechanism)
Syntax: kill [OPTION] pid
eg. kill 9 2275
File Systems
•
fdisk – partition manipulator
eg. sudo fdisk l
• mount – mount a file system
Syntax: mount t type device dir
eg. mount /dev/sda5 /media/target
•
umount – unmount file systems
Syntax: umount [OPTIONS] dir | device...
eg. umount /Dinesh1/target
• du – estimate file space Syntax
Syntax: du [OPTION]... [FILE]...
eg. du
•
df – report filesystem disk space Syntax
Syntax: df [OPTION]... [FILE]...
eg. df
• quota – display disk Syntax and limits
Syntax: quota [OPTION]
eg. quota v
No comments:
Post a Comment