Unix For Sap Basis
Unix For Sap Basis
Unix For Sap Basis
To remove permissions
• telnet ipaddress
it connets to remote system
• ftp ipaddress
• scp /dir ipaddress:/dir
it copies date from source system to target
system
• ssh ipaddress:mkdir /dir
it executes commands in remote system.
Only in homogenous environment
• rlogin ipaddress
• shutdown
• init 0
like shutdown
• init 1
single user mode
• init 6
like reboot
• reboot
• poweroff
To copy a file
cp sourcefile targetfile
To copy empty directory
cp sourcedir targetdir
To copy directory with all contents
cp –r sourcedir targetdir
To move file
mv sourcefile targetfile
To move directory
mv sourcdir targetdir
• To link file or directory in same filesystem
ln soucefile/dir targerfile/dir
this is called hard mounting
• If you link souce file or dir with another file
which is in different file system that is
called soft mounting
ln –s sourcefile/dir targetfile/dir
• For help
man command
Pattern search
• To seach for a single word in a file
grep word filename
• it displays all lines which contains this
word
• To seach multiple words
egrep word1 | word2 filename
• To seach for a text
fgrep text filename
THANK YOU