Operaing System
Operaing System
It is a type of system software that acts as an interface between the users of a computer and the computer
hardware. It acts as the resource manager that use the computer resources like CPU,memory,files and I/O
devices in an efficient manner.
Linux operating system is the most popular open-source operating system around the world. It is termed open-
source because the source code of the operating system is available to every one.
UNIX is a command-line based operating system, which means that users interact with it using text
commands.It is a family of multitasking,multiuser computer operating system.
Structure of UNIX OS
The UNIX OS is divided into 4 layersc that help the interaction between the hardware and the user.
These layers are: hardware layer(OS),Kernel layer,Shell layer and Application layer(User)
UNIX Shell:
A shell layer acts as an intermediary between the user and the kernel layer of the operating system.
A kernel is loaded into the memory on system startup and manage the overall function of system
until the system is shutdown.User can interact with the computer system by typing commands in Shell.
sh – Bourne shell
bash – Bourne Again shell
csh – C shell
By default, the dollar $ symbol is used as a prompt in Bourne shell.and bash.(Bourne Again Shell)
A directory in UNIX is a folder that contains the name of files.The UNIX file system is organized in a tree
like structure called a directory tree, where root is at top and leaves are at the bottom. The root directory is
represented by forward slash (/).
List of UNIX commands and their uses
pwd command prints the name of the current path of the working directory.
6. mv command
7. touch command
The touch command is used to create a new empty file. Multiple files can also be created at once
using the command.
8. cat command
The cat ( concatenate ) command is used to create, view and concatnate ( append ) files.