Practical Output OSY
Practical Output OSY
COLLAGE OF
Report On
“Operating System output “
Submitted by: -
Abhishek G. Chinchole
\
\
Practical no. 2
date : Date command is used to display the system date and time.
Output :
time : Time command in Linux is used to execute a command and prints a summary
of real-time.
Output :
tty : The tty command of the terminal basically prints the file name of the terminal
connected to standard input.
Output :
script : script command in Linux is used to make typescript or record all the
terminal activities.
Output :
man : man command in Linux is used to display the user manual of any command
that we can run on the terminal.
Output :
Practical no. 3
who : who command is a tool print information about users who are currently
logged in.
Output :
who am I : The who am i command allows Linux users to see the currently
logged-in user.
Output :
login : The "login" command in Ubuntu is used to start a new login session.
Output :
passwd : passwd command in Linux is used to change the user account passwords.
Output :
pwd : The pwd Linux command prints the current working directory path, starting
from the root.
Output :
Practical no. 4
editor : In Ubuntu, there are several text editors available that you can use to create
and edit files from the command line.
Output :
GUI :
Output :
File handling :
Output :
Practical no. 5
Ps : ps command is used to list the currently running processes and their PIDs along
with some other information depends on different options.
Output :
Start :
Output :
Output :
Output :
Kill :
Output :
Wait : The ‘ wait’ command is used within shell scripts to wait for the completion of
background process .
Output :
Practical no. 6
Ls : The command "ls" is one of the most commonly used. It's used to display a list
of files and sub-directories in the current directory.
Output :
Output :
mv : The mv command is used for moving a file from one location to another in
Ubuntu terminal.
Output :
Output :
Practical no. 7
Output :
comm. : comm compare two sorted files line by line and write to standard output;
the lines that are common and the lines that are unique.
Output :
Output :
chmod : In Unix operating systems, the chmod command is used to change the
access mode of a file. The name is an abbreviation of change mode.
Output :
mkdir : mkdir command in Linux allows the user to create directories (also referred
to as folders in some operating systems ).
Output :
rmdir : The ‘rmdir’ command removes the directory , specified by the Directory
parameter , from the system .
Output :
cd : The ‘cd’ command stands for ‘change directory’ . It is used to change the current
directory of the terminal .
Output :
pwd : The pwd command prints the current working directory path , starting from
the root .
Output :
dir: The most basic use of the dir command is to list the files and folders in the
current directory .
Output :
cmp : cmp command in Linux/UNIX is used to compare the two files byte by byte
and helps you to find out whether the two files are identical or not.
Output :
Practical no. 8
grep : The `grep` command in Ubuntu is used for searching text patterns within
files.
Output :
more : The `more` command in Ubuntu's terminal is used to view the contents of a
file page by page. It allows you to scroll through the contents of a file in a controlled
manner.
Output :