Pdfosyreport
Pdfosyreport
DEPARTMENT OF INFORMATION
TECHONLOGY
Micro Project Report
On
Operating System [OSY]
Report on To Study Details About Linux Commands
Group No: 01
THAKUR POLYTECHNIC
(An ISO 9001:2008 Certified Institute)
Thakur Complex, West to W. E. Highway, Kandivli (E), Mumbai – 400 101(Accredited by:
National Board Of Accreditation
Department of Information Technology(IF5I) Page 1 of 19
Sub: Operating System (22516) Topic: To Study Details About Linux Commands
Certificate
This is to certify that
1. MANAS SINGH – 36
2. ARYAN TIWARI - 46
3. YASH TANPURE - 64
PLACE: MUMBAI
DATE: 08-11-2024
Seal of the
Institution
ACKNOWLEDGEMENT
We feel immense pleasure in submitting this report on “To Study Details About Linux
Commands” While submitting this report, we avail this opportunity to express our gratitude
to all those who helped us in completing this task.
While submitting this report, we avail this opportunity to express our gratitude to all those who
helped us in completing this task. Heading the list with our own honorable Principal Dr.
S.M. Ganechari who is the beginner of our inspiration. We owe our deep gratitude and also
very thankful to our guide Mrs. Kiran Patil and HOD Mrs. Suwarna Thakre. who has
proved to be more than just a mere guide to us. Apart from bringing to us what can be joy of
successful completion of this project was only possible due to her guidance and co-operation
without which this work would never have been completed. Finally, we wish to express our
deep sense of respect and gratitude to each and every staff member who has helped using many
ways and also our parents who have always bared with us in any critical situation andto all
others, sparing their time and helping us for completion of this project in whatever way they
could. And lastly, we are grateful to each other the members of our group.
THANK YOU.
PROPOSAL
MICRO-PROJECT PROPOSAL
TITLE-: To Study Details About Linux Commands
3. PROPOSED METHODOLOGY:
In order to complete the micro project of Operating System-(22516) the procedure that we
will follow is given below.
After each one completed their work they submitted their work to MOHIT GUPTA.
4. ACTION PLAN:
5. RESOURCES REQUIRED:
1. MANAS SINGH- 36
2. ARYAN TIWARI- 46
3. YASH TANPURE- 64
REPORT
1.0 Rationale:
Studying Linux commands is essential due to Linux's widespread use in web
hosting, server management, and software development. It offers insights into open-
source collaboration and provides vital skills in command-line proficiency, scripting,
and system administration. Knowledge of Linux commands is crucial for efficient
server management, troubleshooting, and security practices. Additionally, it ensures
compatibility across various platforms and opens doors to diverse IT career
opportunities. Integrating Linux expertise into education enhances students' practical
skills. In summary, mastering Linux commands equips individuals with
indispensable technical skills, making it a valuable pursuit in the IT industry
In order to complete the micro project of Operating System-(22516) the procedure that we
will follow is given below.
After each one completed their work they submitted their work to ARYAN TIWARI.
1) What is Ubuntu?
Ubuntu is a Linux distribution based on Debian and composed mostly of free and
open-source software. Ubuntu is officially released in multiple editions: Desktop,
Server, and Core for Internet of things devices and robots. All of the editions can
run on a computer alone, or in a virtual machine.
“banner” command
“wait” command
The “wait” command is used to wait for the completion of background
processes in a script. When included in a script, it ensures that the script
waits for all background processes to finish before continuing with the
next set of instructions. This command is valuable for synchronizing the
execution of multiple processes, ensuring proper sequencing and
coordination within shell scripts.
“sleep” command
The “sleep” command is used to introduce a delay or pause in the
execution of a shell script. When followed by a specified time (in
seconds, minutes, or hours), it makes the script wait for the given
duration before proceeding with the next set of instructions. This
command is valuable for controlling the timing of script execution,
creating timed intervals between commands, or simulating real-time
processes in scripts.
“kill” command
The “kill” command is used to terminate processes by sending specific
signals to them. It allows users to gracefully stop processes or forcefully
end them. By default, kill sends the TERM (termination) signal, but
users can specify other signals such as KILL (unconditionally terminate)
or HUP (hang up) for different actions. Processes are identified by their
process IDs (PIDs).
‘exit’ command
The “exit” command is used to terminate shell scripts or close terminal
sessions.
“cd” command
The “cd” command is used to change the current working directory.
When followed by a directory path, it allows the user to navigate to that
directory.
“head” command
The head command is used to display the beginning lines of a text file.
By default, it shows the first ten lines of a file, but users can specify a
different number of lines using the -n (n= number of lines) option.
As shown in the above figure, we first used the head command without
any parameter so it displayed first ten lines by default, next we used
head with “-5” so it displayed first five lines of the file.
“paste” command
The “paste” command is used to merge lines from multiple files or input
sources side by side, separated by a delimiter. By default, it combines
corresponding lines from different files.
“spell” command
The “spell” command is a tool used to check the spelling of words in a
text file. It compares the words in the specified file against a dictionary
and highlights or lists words that are not found in the dictionary,
potentially indicating spelling errors. Users can then review and correct
these words.
In the above figure, we have a text file with a list of some misspelled and
correct words.
As shown in the above figure, we used the spell command with -n option
(it displays the line number of incorrect word) and the misspelled words
were displayed.
“grep” command
The “grep” command is used for searching patterns within files. It scans
the specified file or standard input line by line and prints the lines
containing a specified pattern. grep is a powerful tool for text pattern
matching, allowing users to find specific words, phrases, or regular
expressions within files.
In the above figures, we have a text file with a paragraph written in it,
we used grep command with “-c” option (it displays the count of the
number of occurrences of the pattern) where we searched for the “it”
pattern and got the output 6. Then, we used the grep command with “-n”
option (it displays the line numbers along with the lines containing a
pattern) for the same pattern and got the above output
10.0 REFERENCES:
https://en.wikipedia.org/wiki/Linux
https://www.javapoint.com
https://www.youtube.com/watch?v=oNEwEQ0uU1Y