08-08-2012, 12:15 PM
UNIX FOR SAP BASIS
UNIX.ppt (Size: 744 KB / Downloads: 29)
CREATING AND REMOVING DIRECTORIES
mkdir dir1 dir2
no.of directories will be created.
rmdir dir1 dir2
no.of empty directories will be deleted
rm –rf dir1
it removes directories with contents.
cd
to change one directory to another directory
File permissions
We have two ways to assign permissions to files
1. Numeric mode
2. Symbolic mode
Numeric mode
We assign numerics to permissions like
read 4
write 2
execute 1
chmod 777 filename/dirname
assign full permissions to all users.
chmod 666 filename/dirname
it assigns read and write permissions to all users
Users monitoring
who
displays all users who are currently logged in system.
who am I
displays detailed information about current logged in user.
last
displays information about when system is lastly rebooted,who,time.
finger
information about current logged in user.