Friday, February 17, 2017

Unix login process and accessing steps

Unix login process and accessing steps
-- Go to Putty software – Give Host Name (Connection Type:-SSH)à Click Load àWill open black screen
-- Give credentials to login
Once login to UNIX type like below
1)  su – (user name)
Ex:  - su – WDIF
2) To go for specific environment
Prod (Production)
3) Change the location path
Cd (folder name)
4) To see the list of all files in the folder
ls –ltr
5) Creating Text file
vi Lokesh.txt
 file will open for edit, to insert data type – i
to switch command mode – Esc
to save the file type - :wq (it will save the file data)
6) view the data in the file
Cat Lokesh.txt
7) Rename file name
Mv OldFileName NewFileName
8) To execute shall script file
-ksh Filename.ksh
 
 

No comments:

Post a Comment