- Change to home directory
- Create a file with name 'testfile' using vim editor
- Insert some 10 lines of data in the file and Save the contents of the file and exit the file
- Now list the first 5 lines of the file 'testfile'
- List the last 5 lines of the file 'testfile'
- cd
- vim testfile
- press i
Linux is a ‘Linux Kernel’ based operating system behaving similarly to the UNIX system.
It was developed by Linus Torvalds and released on 17th September 1991.
Linux is a family of operating systems for many different devices.
Some Linux Operating systems are Ubuntu, Debian, Wayland, GNOME, and Android, etc.
The logo of the Linux consists of a penguin ‘Tux’, the goodwill of the brand.
Linux OS comprises Boot loader, Kernel, Graphics Server, Desktop Environment, Applications, etc.
Unlike other OS, Linux is completely free and comes with Open Source Licence.
The languages used in writing the Linux OS are Assembler and C.
Linux has gained popularity in Mainframe Computers and proved to be dominant in Super Computer’s market around the world.
Linux is the most preferred platform because of its high level of security.
-
press ESC key and type :wq!
-
head -n 5 testfile
-
tail -n 5 testfile