Professional Documents
Culture Documents
Operating System Lab: Assignment On - 1 and 2
Operating System Lab: Assignment On - 1 and 2
Assignment On - 1 and 2
Submitted with
Farzana Tasnim
Assistant Lecturer
Department of CSE
Submitted By
RAYHAN CHOWDHURY
22 Batch || Exam Roll – 796 || Course code - CSE361L
Linux command
The cat (short for “concatenate“) command is one of the most frequently used command in
Linux/Unix like operating systems. cat command allows us to create single or multiple
files, view contain of file, concatenate files and redirect output in terminal or files. In this
article, we are going to find out handy use of cat commands with their examples in Linux.
For Example
Types of Command
There are three types of commands in operating system. These are given below -
1. Simple Command
2. Compound Command
3. Complex Command.
Simple Command :
A simple command is one that we can execute by just giving its name at the
prompt. For example:
Compound Command :
A compound command consiste of simple and complex commands separated
by the character (; ). For example:
Complex Command :
A complex command is a command that consists of a command name and a list
of arguments. For example:
cat — Use the cat command to display the contents of a file. It is usually used to easily
view programs.
ls -F – list of folder
ls –aF
ls –a1F