0% found this document useful (0 votes)
28 views7 pages

OS - EXP2 For All

The document provides the name, synopsis, and description of various Linux commands like pwd, ls, clear, touch, gedit, cat, ps, sleep, top, cp, mkdir, rm, kill, who, df, date, man, job, bg, and fg. It also includes the phases of the experiment including coding, testing, implementation and conclusion along with an assessment rubric.

Uploaded by

Sayan ash
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views7 pages

OS - EXP2 For All

The document provides the name, synopsis, and description of various Linux commands like pwd, ls, clear, touch, gedit, cat, ps, sleep, top, cp, mkdir, rm, kill, who, df, date, man, job, bg, and fg. It also includes the phases of the experiment including coding, testing, implementation and conclusion along with an assessment rubric.

Uploaded by

Sayan ash
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

Name of the Experiment: Practicing basic as well as advanced Linux command.

Coding Phase: Pseudo Code / Flow Chart / Algorithm


NAME:PWD
SYNOPSIS: pwd [OPTION]...
DESCRIPTION: Print the full filename of the current working directory

NAME: ls - list directory contents


SYNOPSIS: ls [OPTION]... [FILE]...
DESCRIPTION: List information about the FILEs (the current directory by default). Sort entries alphabetically if
none of -cftuvSUX nor –sort is specified.

NAME: clear - clear the terminal screen


SYNOPSIS: clear
DESCRIPTION: clear clears your screen if this is possible. It looks in the environment for the terminal type and
then in the terminfo data-base to figure out how to clear the screen.
NAME: touch - change file timestamps
SYNOPSIS: touch [OPTION]... FILE...
DESCRIPTION: Update the access and modification times of each FILE to the current time.
NAME: gedit - text editor for the GNOME Desktop

SYNOPSIS: gedit [OPTION...] [FILE...] [+LINE[:COLUMN]]

gedit [OPTION...] –

DESCRIPTION: gedit is the official text editor of the GNOME desktop environment.

NAME: cat - concatenate files and print on the standard output

SYNOPSIS: cat [OPTION]... [FILE]...

DESCRIPTION: Concatenate FILE(s), or standard input, to standard output.

NAME: ps - report a snapshot of the current processes.

SYNOPSIS: ps [options]

DESCRIPTION: ps displays information about a selection of the active processes. If you want a repetitive update of the
selection and the displayed information, use top (1) instead.

NAME: sleep - delay for a specified amount of time

SYNOPSIS: sleep NUMBER[SUFFIX]...sleep OPTION

DESCRIPTION: Pause for NUMBER seconds. SUFFIX may be 's' for seconds (the default), 'm' for minutes, 'h' for hours
or 'd' for days.

NAME: top - display Linux processes


SYNOPSIS: top -hv|-bcHiOSs -d secs -n max -u|U user -p pid -o fld -w [cols] The
traditional switches '-' and whitespace are optional.
DESCRIPTION: The top program provides a dynamic real-time view of a running system. It can display system
summary information as well as a list of processes or threads currently being managed by the Linux kernel.

NAME:cp - copy files and directories

SYNOPSIS: cp [OPTION]... [-T] SOURCE DEST


cp [OPTION]... SOURCE... DIRECTORY
cp [OPTION]... -t DIRECTORY SOURCE...
DESCRIPTION: Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY. Mandatory arguments to long options are
mandatory for short options too.

NAME: mkdir - make directories

SYNOPSIS: mkdir [OPTION]... DIRECTORY...


DESCRIPTION: Create the DIRECTORY (ies), if they do not already exist. Mandatory arguments to long options are
mandatory for short options too.

NAME: rm - remove files or directories

SYNOPSIS: rm [OPTION]... FILE...

DESCRIPTION: This manual page documents the GNU version of rm. rm removes each specified file. By default, it
does not remove directories.

NAME: kill - terminate a process

SYNOPSIS: kill [-s signal|-p] [-q sigval] [-a] [--] pid...

kill -l [signal]

DESCRIPTION: The command kill sends the specified signal to the specified process or process group.

NAME: who - show who is logged on

SYNOPSIS: who [OPTION]... [ FILE | ARG1 ARG2]

DESCRIPTION: Print information about users who are currently logged in.
NAME : df -

SYNOPSIS: df [OPTION]... [FILE]...


DESCRIPTION: This manual page documents the GNU version of df. df displays the

amount of disk space available on the file system containing each filename argument. If no file name is given, the
space available on all currently mounted file systems is shown.

NAME: date - print or set the system date and time SYNOPSIS:

date [OPTION]... [+FORMAT] date [-u|--utc|--

universal] [MMDDhhmm[[CC]YY][.ss]]

DESCRIPTION: Display the current time in the given FORMAT, or set the system date.

NAME: man

DESCRIPTION: The man command in Linux is used to display the manual of using a particular command. This
command shows the available options, syntax, and much other information.
NAME: job

DESCRIPTION: The jobs command in Linux allows the user to directly interact with processes in the current shell.

NAME: bg & fg

DESCRIPTION: The “jobs” control command “bug” places the foreground job in the background, and the “fg” resumes
the background jobs. Moreover, the “Ctrl+Z” shortcut key keeps the job in a “stopped” state.
Testing Phase: Compilation of Code (error detection)

No error

Implementation Phase: Final Output (no error)

All outputs are already attached.

CONCLUSION: We have successfully execute all the functions of the Linux command.
ASSESMENT
Rubrics

Concept 10

Planning and Execution/ 10


Practical Simulation/
Programming

Result and Interpretation 10

Record of Applied and 10


Action Learning

Viva 10

Total 50

You might also like