CSSM
CSSM
AMBAD 1162
INFORMATION TECHNOLOGY
DEPARTMENT
A MICRO-PROJECT REPORT ON
1
Sr.no. Roll No Enrollment no. Name of student
1. 30 2011620258 Amol Asmanrav Paithane
2. 45 2011620279 Gajanan Dattatray Tope
3. 49 2011620283 Bhushan Dnyaneshwar
Khedekar
4. 53 2011620287 Karan Narayan Ghodke
CERTIFICATE
GOVERNMENT POLYTECHNIC, AMBAD.1162
DEPARTMENT OF INFORMATION
TECHNOLOGY ENGINEERING
MICRO PROJECT ON
3
DECLARATION
We, the undesired, hereby declare that the project entitled
“Description and Execution of Several Linux Commands”is
written and submitted by us to Government Polytechnic Ambad
during Year 2021-22, Fifth Semester for partial fulfillment of the
‘Micro Project’ requirement of "Operating System (22516) "
subject under Maharashtra State Board of Technical Education,
Mumbai curriculum, under the guidance of Prof.Mrs.A.Bhodhle is
our original work.
The empirical findings in this project are based on the data collected
in this project is collected from various sources.
4
ACKNOWLEDGEMENT
5
Date; ---/---/-----
6
INDEX
SR Contents Page
No No
1] Introduction:Linux 6
2] List Of Some Linux Command We Have 11
Executed
3] Description and Output of the Commands 12
7
Introduction
Linux:
9
Creation :
In 1991, while attending the University of Helsinki, Torvalds
became curious about operating systems. Frustrated by the licensing
of MINIX, which at the time limited it to educational use only, he
began to work on his own operating system kernel, which
eventually became the Linux kernel.
Torvalds began the development of the Linux kernel on MINIX and
applications written for MINIX were also used on Linux. Later,
Linux matured and further Linux kernel development took place on
Linux systems. GNU applications also replaced all MINIX
components, because it was advantageous to use the freely available
code from the GNU Project with the fledgling operating system;
code licensed under the GNU GPL can be reused in other computer
programs as long as they also are released under the same or a
compatible license. Torvalds initiated a switch from his original
license, which prohibited commercial redistribution, to the GNU
GPL. Developers worked to integrate GNU components with the
Linux kernel, making a fully functional and free operating system
10
Naming of Linux:
Linus Torvalds had wanted to call his invention "Freax", a
portmanteau of "free", "freak", and "x" (as an allusion to Unix).
During the start of his work on the system, some of the project's
makefiles included the name "Freax" for about half a year.
Torvalds had already considered the name "Linux", but initially
dismissed it as too egotistical.
In order to facilitate development, the files were uploaded to the
FTP server () of FUNETin ftp.funet.fi September 1991. Ari
Lemmke, Torvalds' coworker at the Helsinki University of
Technology (HUT), who was one of the volunteer
administrators for the FTP server at the time, did not think that
"Freax" was a good name. So, he named the project "Linux" on the
server without consulting Torvalds. Later, however, Torvalds
consented to "Linux".
11
Design:
A Linux-based system is a modular Unix-like operating system,
deriving much of its basic design from principles established in
Unix during the 1970s and 1980s. Such a system uses a monolithic
kernel, the Linux kernel, which handles process control,
networking, access to the peripherals, and file systems. Device
drivers are either integrated directly with the kernel, or added as
modules that are loaded while the system is running.
The GNU user land is a key part of most systems based on the
Linux kernel, with Android being the notable exception. The
Project's implementation of the C library functions as a wrapper for
the system calls of the Linux kernel necessary to the kernel-user
space interface, the tool chain is a broad collection of programming
tools vital to Linux development (including the compilers used to
build the Linux kernel itself), and the core utiles implement many
basic Unix tools. The project also develops a popular CLI shell. The
graphical user interface (or GUI) used by most Linux systems is
built on top of an implementation of the X Window System.More
recently, the Linux community seeks to advance to Wayland as the
new display server protocol in place of X11. Many other open-
source software projects contribute to Linux systems.
12
List Of Some Linux Command We Have
Executed..
1) Cal
2) Date
3) History
4) Hostname
5) Id
6) Man
7) Ls
8) Netstat
9) Banner
10) Passwd
11) Pwd
12) Sty
13) Time
14) Uname
15) Users
16) Who
17) Who am i
13
*Description and Output of the Commands*
1] Cal :
cal command is a calendar command in Linux which is used to
see the
calendar of a specific month or a whole year. Rectangular bracket
means it is optional, so if used without option, it will display a
calendar of current month and year. cal : Shows current month
calendar on the terminal.
Syntax : $ cal
Ex. $ cal
Output:
14
2] Date ;
date command is used to display the system date and time. date
command is also used to set date and time of the system. By default
the date command displays the date in the time zone on which
unix/linux operating system is configured. You must be the super-
user (root) to change the date and time.
Syntax : $ date
Ex:$ date
Output:
3] History :
History command is used to view the previously executed
command. This feature was not available in the Bourne shell. Bash
and Korn support this feature in which every command executed is
treated as the event and is associated with an event number using
which they can be recalled and changed if required. These
commands are saved in a history file. In Bash shell history
command shows the whole list of the command.
Syntax:$ history
Ex. $ history
Output:
15
4] Hostname :
Hostname command in Linux is used to obtain the DNS(Domain
Name System) name and set the system's hostname or NIS(Network
Information System) domain name. A hostname is a name which is
given to a computer and it attached to the network. Its main purpose is
to uniquely identify over a network
Syntax : hostname -[option] [file]
Ex : $ Hostname
Output:
16
5]Id :
id command is command which can print real and effective
User ID (UID) and Group ID (GID). An UID is a single identity for
a user. While Group ID (GID) can consist of more than one UID.
By default, id command is installed on most of Linux system. To
use it, just type id on your console. Typing id without no options
will result as below. The result will use the active user.
Syntax:$ id
Ex. $ id
Output:
6]Man :
man command in Linux is used to display the user manual of
any command that we can run on the terminal. It provides a
detailed view of the command which includes NAME,
SYNOPSIS, DESCRIPTION, OPTIONS, EXIT STATUS,
RETURN VALUES, ERRORS, FILES, VERSIONS,
EXAMPLES, AUTHORS and SEE ALSO..
18
19
7] Ls :
Syntax $ ls [options][file/dir]
Ex : $ ls
Output;
8] Netstat
Netstat Command Usage on Linux. netstat (network statistics)
is a command-line tool that displays network connections (both
incoming and outgoing), routing tables, and a number of network
interface statistics. It is available on Unix, Unix-like, and Windows
NT-based operating systems. Netstat command displays various
network related information such as network connections, routing
tables, interface statistics, masquerade connections, Netstat prints
information about the Linux networking subsystem
Syntax $ netstat
Ex : $ netstat
Output:
20
] 9] Banner
banner command in Linux is used to print the ASCII character string
in large letter to standard output.
Banner Command In Linux Is Used To Print The Ascii Character
String In Large Letter To Standards Output. Example 2: Printing
“osy Project” In Large Letters. There Are Two Things: First, All
The Letter Will Be Displayed In Capital Letters In Standard Output
Banner' Is A Command Which Prints A High Resolution Text
Banner On The System Console Or If You Have A Printer
Connected To Your Machine. The Banner Program On Unix And
Unix-like Operating Systems Outputs. A Large Ascii Art Version Of
The Text That Is Supplied To It As Its Program Arguments.
21
Output :
22
10] Passwd :
11] Pwd :
Syntax : $ pwd
Ex : $pwd
23
Output
12] Stty :
Ex: $ stty
Output
24
13] Time :
14] Uname :
15] Users :
26
27
16] Who :
The Linux who command. The Linux "who" command lets you
display the users that are currently logged into your Unix computer
system. The basic who command with no command-line arguments
shows the names of users that are currently logged in, and
depending on which Unix/Linux system you are using, may also
show the terminal they're logged in on, and the time they logged in.
Syntax : $ who
Ex : $ who
Output :
17] Who Am I :
Who am i command is used both in Unix Operating System
28
and as well as in Windows Operating System. It is basically
the concatenation of the strings “who”,”am”,”i” as whom. It
displays the username of the current user when this
command is invoked. It is similar as running the id
command with the options un.
Syntax : $ who am i [OPTION]
Example: $ who am i
Output:
29