0% found this document useful (0 votes)
62 views

Practical Output OSY

This document contains the outputs of various commands related to operating systems like cal, date, time, tty, script, man, who, who am I, login, passwd, su, pwd and others. For each command, it lists the purpose of the command and provides an output sample. It appears to be a report submitted by a student documenting the results of experiments run on various Linux/Unix commands.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
62 views

Practical Output OSY

This document contains the outputs of various commands related to operating systems like cal, date, time, tty, script, man, who, who am I, login, passwd, su, pwd and others. For each command, it lists the purpose of the command and provides an output sample. It appears to be a report submitted by a student documenting the results of experiments run on various Linux/Unix commands.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 10

TULSIRAMJI GAIKWAD - PATIL

COLLAGE OF

ENGINEERING & TECHNOLOGY


Department of Computer Science & Engineering

Report On
“Operating System output “

Submitted by: -

Abhishek G. Chinchole
\

\
Practical no. 2

 cal : Cal is a terminal command used in Linux to print a calendar.


Output :

 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 :

 su : The su command is used to become another user during a login session.


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 :

 Stop : The ‘stop’ command is used to stop processes , services , or applications .

Output :

 Sleep : In Ubuntu , the ‘sleep ‘ command is used to introduce a delay or pause in a


shell script .

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 :

 rm : The command rm deletes each file argument from the system.

Output :

 mv : The mv command is used for moving a file from one location to another in
Ubuntu terminal.

Output :

 cp : The cp command for copying files from one location to another

Output :
Practical no. 7

 diff : The diff command compares text files.

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 :

 pr : The `pr` command in Ubuntu is used to prepare files for printing.

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 :

You might also like