For The Diploma in Computer Engineering: A Micro Project Report On "Commands in Linux"
For The Diploma in Computer Engineering: A Micro Project Report On "Commands in Linux"
AND
Place: Aurangabad
Date:
PRINCIPAL
ACKNOWLEDGEMENT
We would like to express our thanks to the people who have helped us most
throughout our project. We would like to express our sincere thanks to the principal of
CSMSS College of Polytechnic Dr Ganesh .B. Dongre for being always with us as a
motivator. We are thankful to the H.O.D of Computer Engineering Department Mr
S.U.Kakde for his kind support. We are grateful to our Project Guide Mrs M.V.
Shisode for nonstop support and continuous motivation for the project. Her help made
us possible to complete our project with all accurate information. A special thanks of
our goes to our friends who helped us in completing the project, where they all
exchanged their own interesting ideas. We wish to thanks our parents for their personal
support or attention who inspired us to go our own way. Finally, we would like to
thank God who made all things possible for us till the end.
2
KULKARNI MRUNAL MAKARAND
2. RATIONALE .............................................................................................. 3
1
5.0 RESOURCES REQUIRED:
Approved by,
Mrs M.V.Shisode
2
2. RATIONALE
3
3. AIMS / BENEFITS OF THE MICRO PROJECT
❖ Benefits of project:
4
4. LITERATURE REVIEW
An Operating System (OS) is an interface between a computer user and computer hardware.
An operating system is a software which performs all the basic tasks like file management,
memory management, process management, handling input and output, and controlling
peripheral devices such as disk drives and printers
Linux is one of popular version of UNIX operating System. It is open source as its source
code is freely available. It is free to use. Linux was designed considering UNIX
compatibility. Its functionality list is quite similar to that of UNIX.
Linux terminal is a user-friendly terminal as it provides various support options. To open the
Linux terminal, press "CTRL + ALT + T" keys together, and execute a command by
pressing the 'ENTER' key.
What is Linux?
5
➢ Basic Features of LINUX Operating System
6
➢ Linux Top 20 Commands
The following are the top 20 Linux commands:
Linux Directory Commands
1. Pwd Command
The pwd command is used to display the location of the current working dir
Syntax: pwd
Output:
2. mkdir Command
The mkdir command is used to create a new directory under any directory.
Syntax:
mkdir <directory name>
Output:
3. rmdir Command
The rmdir command is used to delete a directory.
Syntax:
rmdir <directory name>
Output:
4. ls Command
The Is command is used to display a list of content of a directory.
Syntax:
ls
7
Output:
5. cd Command
The cd command is used to change the current directory.
Syntax:
cd <directory name>
Output:
7. cat Command
The cat command is a multi-purpose utility in the Linux system. It can be used to create a
file, display content of the file, copy the content of one file to another file, and more.
Syntax:
cat [OPTION]... [FILE]..
8
To create a file, execute it as follows:
1.cat > <file name>
2.// Enter file content
Press "CTRL+ D" keys to save the file. To display the content of the file, execute it as
follows:
cat <file name>
Output:
8. rm Command
The rm command is used to remove a file.
Syntax:
rm <file name>
Output:
9. cp Command
The cp command is used to copy a file or directory.
Syntax:
To copy in the same directory:
cp <existing file name> <new file name>
To copy in a different directory:
Output:
10. mv Command
The mv command is used to move a file or a directory form one location to another location.
9
Syntax:
mv <file name> <directory path>
Output:
10
12. tail Command
The tail command is similar to the head command. The difference between both commands is
that it displays the last ten lines of the file content. It is useful for reading the error message.
Syntax:
tail <file name>
Output:
12
Output:
18. id Command
The id command is used to display the user ID (UID) and group ID (GID).
Syntax:
id
Output:
13
19. useradd Command
The useradd command is used to add or remove a user on a Linux server.
Syntax:
useradd username
Output:
14
5. ACTUAL PROCEDURE FOLLOWED
The Linux operating system's architecture mainly contains some of the components:
the Kernel, System Library, Hardware layer, System, and Shell utility.
1. Kernel:- The kernel is one of the core section of an operating system. It is responsible for
each of the major actions of the Linux OS. This operating system contains distinct types of
modules and cooperates with underlying hardware directly. The kernel facilitates required
abstraction for hiding details of low-level hardware or application programs to the system.
There are some of the important kernel types which are mentioned below:
Monolithic Kernel
Micro kernels
Exo kernels
Hybrid kernels
2. System Libraries:- These libraries can be specified as some special functions. These are
applied for implementing the operating system's functionality and don't need code access
rights of the modules of kernel.
3. System Utility Programs:- It is responsible for doing specialized level and individual
activities.
4. Hardware layer:- Linux operating system contains a hardware layer that consists of
several peripheral devices like CPU, HDD, and RAM.
5. Shell:- It is an interface among the kernel and user. It can afford the services of kernel. It
can take commands through the user and runs the functions of the kernel. The shell is
available in distinct types of OSes. These operating systems are categorized into two
different types, which are the graphical shells and command-line shells.
15
The following illustration shows the architecture of a Linux system −
Drawbacks of Linux:
➢ Hardware drivers: Most of the users of Linux face an issue while using Linux. Various
companies of hardware prefer to build drivers for Mac or Windows due to they contain
several users than Linux. Linux has small drivers for peripheral hardware than windows.
➢ Software alternative: Let's take the Photoshop example which is a famous tool for graphic
editing. Photoshop exists for Windows; however, it is not available in Linux. Also, there
are some other tools for photo editing but the Photoshop tool is more powerful as
compare to others. Another example is MS office which is not present for Linux users.
➢ Learning curve: Linux isn't a very user-friendly operating system. Hence, it might be
confusing for many beginners. Getting begun with Windows is efficient and easy for
many beginners; however, understanding Linux working is complex.
16
6. OUTPUT OF MICRO PROJECT
17
7. SKILL DEVELOPED / OUTCOMES OF
MICROPROJECT:
1. Communication
2. Leadership
3. Team management
4. Negotiation
5. Personal organization
6. Risk management
7. Critical thinking
8. Task management
18
8. APPLICATIONS OF MICRO – PROJECT
1. Thousands of governments and companies are using Linux operating system across the
world because of lower money, time, licensing fee, and affordability.
5. The LINUX and open source are powering the revival of older games.
6. Your computers work better unless something goes wrong and if you run into trouble,
LINUX is also there to bail you out.
19