0% found this document useful (0 votes)
57 views5 pages

SSIT2040 Operating System BSC It

This document provides an overview of basic commands in Linux for a Practical 1 assignment. It lists 17 commands: man, echo, logname, mkdir, ls, rm, script, cal, tty, rmdir, cp, mv, date, whoami, pwd, cd, and ln. For each command, it provides a brief 1-2 sentence description of what the command does. The document is instructing students on essential Linux commands for an operating systems course.

Uploaded by

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

SSIT2040 Operating System BSC It

This document provides an overview of basic commands in Linux for a Practical 1 assignment. It lists 17 commands: man, echo, logname, mkdir, ls, rm, script, cal, tty, rmdir, cp, mv, date, whoami, pwd, cd, and ln. For each command, it provides a brief 1-2 sentence description of what the command does. The document is instructing students on essential Linux commands for an operating systems course.

Uploaded by

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

SSIT2040 OPERATING SYSTEM BSc IT

Practical 1

Basic Commands in Linux

1. MAN

$man gives out the information of the commands

1
SSIT2040 OPERATING SYSTEM BSc IT
2.ECHO

Prints input given

3.LOGNAME

Gives the username of the admin

4.MKDIR

Makes a directory (file in windows)

5.LS

List out the files in home.

2
SSIT2040 OPERATING SYSTEM BSc IT

6.RM

Removes a text file

7.SCRIPT

Makes a text file where all the next code will be stored in a named file or typescript file
until and unless exit command is fired.

8.CAL

Shows present month of the calendar.

9.TTY

Teletype writer to print filename of the terminal connected to standard output

3
SSIT2040 OPERATING SYSTEM BSc IT

10.RMDIR

Deletes a present directly

11.CP

Copies a file from a location to another location

12.MV

Moves a file from a location to another location

13.DATE

Prints out current date and time

14.WHOAMI

Prints out the owner name

4
SSIT2040 OPERATING SYSTEM BSc IT
15.PWD

Prints location of the present directly

16.CD

To enter into another directory

17.LN

To create a hard link for a text file

18.EXPR

To perform an mathematic operation on an given variable or numbers

You might also like