Unix Programming Learning Session #1

A) Aim: Log into the system

When we return on the system one screen will appear. In this we have to type 100.0.0.9 then we enter into editor. It asks our details such as

            Login : allem530
            password: 

Then we get log into the commands.

B) Aim: Use vi editor to create a file called myfile.txt which contains some text. 

To create a file in vi editor we must follow the syntax given below

           Syntax:-vi file name

Here we have to open a file named as my file text when we open the file by using the  above syntax one window will be opened in that we type text as our wish.

           Example: vi myfile.text.

C) Aim: Correct typing errors during creation.

In creating a file through vi editor an error an error will occur we modify the file by  opening the file again. An error will occur when we don’t give space between filename and command name

           Example: vi530

           Other type of error is when any wrong typing in file.

D) Aim: Save the File.

To save the file created in vi editor we press esc:WQ1.

It means that saves the file and Quits editing mode .then we come out from the vi editor.

E) Aim: Logout the system.

In our current directory press exit to log out from the commands. 

In desktop turn off computer option will displayed Ok that option and then ok shutdown option then windows will shutdown and we log out from the system. 

See Also

Have a Unix Problem
Do you have a UNIX Question?

Unix Books :-
UNIX Programming, Certification, System Administration, Performance Tuning Reference Books

Return to : - Unix System Administration Hints and Tips

(c) www.gotothings.com All material on this site is Copyright.
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk.
All product names are trademarks of their respective companies.
The site www.gotothings.com is in no way affiliated with or endorsed by any company listed at this site.
Any unauthorised copying or mirroring is prohibited.