|
A) Aim: Log into the system
When we turn on the system one screen will appear. In this we have to type 100.0.0.9 then we enter into editor. It asks Login : allam530
Then we log into the commands. B) Aim: Open the file created in session -1 In the above session we create a file in vi editor To open the file created in Session 1 we have to type as follows Syntax: vi filename
C) Aim: Add Some text: To add some text to the file which is already created first we have to open that file then add text. vi filename. Text D) Aim: Change some text To change the some text in myfile.text move the cursor where we want to change the text After that replace the text under cursor with other text first open the file as follows. vi myfile.text E) Aim: Delete some text : To delete text in my file text we first move the cursor to end of that line and then press delete then the line is erased to do this first we open the file as vi myfile.text F) Aim: Save the changes: To save the changes made in file myfile.text we press esc:WQ It means that saves the file and quits editing mode then we log out from the vi Mode. G) Aim: Logout of the System: In our current directory press exit to logout from the commands in desktop turn off computer option will appear ok that option and then ok shutdown option then windows will shutdown we logout from the system. |
See Also Have a Unix ProblemDo you have a UNIX Question? Unix Books :-
Return to : - Unix System Administration Hints and Tips (c) www.gotothings.com All material on this site is Copyright.
|