0% found this document useful (0 votes)
14 views3 pages

Basic Unix Commands

The document describes basic UNIX commands like date, cal, echo, ls, man, who, whoami, uptime, and uname. It provides examples of running each command and the output displayed.

Uploaded by

tvucoe314
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)
14 views3 pages

Basic Unix Commands

The document describes basic UNIX commands like date, cal, echo, ls, man, who, whoami, uptime, and uname. It provides examples of running each command and the output displayed.

Uploaded by

tvucoe314
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/ 3

BASIC UNIX COMMANDS

PROGRAM :

-bash-4.1$ date

Tue Nov 1 09:23:10 IST 2022

-bash-4.1$ cal

November 2022

Su Mo Tu We Th Fr Sa

1 2 3 4 5

6 7 8 9 10 11 12

13 14 15 16 17 18 19

20 21 22 23 24 25 26

27 28 29 30

-bash-4.1$ echo "Hello"

Hello

-bash-4.1$ ls

Address.class Lru_pra.c

amr.sh ls

An.sh marks.class

AN.sh Maths.class

Antony.class Maths.java

Antony.java MultiThreadingText.class

a.out MultiThreadingText.java

Area.class MyProgram.class

Area.java MyProgram.java

Arithmeticexception.class OddOrEven.class

Arithmeticexception.java OddOrEven.java

Atm.class Optimal_pra.c
Atm.java OS_LAB

Average.class Outofbounds.class

Average.java Outofbounds.java

Bank111.java Overloading.class

Bank11.java Overloading.java

Bank1.java Overriding.class

Bank2.class Overriding.java

Bank2.java Overriding.txt

BankAccountDetails.class Package.java

Bankers.c PagingTech.c

Bank.java Pcs.c

Bankprocess.class per.sh

Best_fit.c Per.sh

College.class person.class

cubeThread.class Pn.sh

Dagg.c PositiveNagative.class

Deadlockavoidance.c PositiveNagative.java

Deadlockdetection.c Pri.c

Deapartment.java Prime.class

Department1.class Prime.java

Department1.java Printout Files

department.class Product.class

Department.class Product.java

Department.java Randomnumber.class

Departmenttt.java Rectangle.class

Detectionlock.c Round.c

Dhilip joy Rr.c

Dj Schooling.class

dj.sh Semaphore.c

-bash-4.1$ man

What manual page do you want?


-bash-4.1$ who

root tty1 2022-11-01 07:42

b20243 pts/0 2022-11-01 09:08 (192.168.6.136)

b20250 pts/1 2022-11-01 08:10 (192.168.6.121)

b20247 pts/2 2022-11-01 08:09 (192.168.6.101)

b21298 pts/3 2022-11-01 09:16 (192.168.6.131)

b20229 pts/4 2022-11-01 09:17 (192.168.6.114)

b20228 pts/5 2022-11-01 08:15 (192.168.6.108)

b20253 pts/6 2022-11-01 09:08 (192.168.6.105)

b20231 pts/7 2022-11-01 09:24 (192.168.6.102)

b20253 pts/8 2022-11-01 08:11 (192.168.6.104)

b20218 pts/11 2022-11-01 08:30 (192.168.6.110)

b20204 pts/12 2022-11-01 08:11 (192.168.6.138)

b20242 pts/13 2022-11-01 08:11 (192.168.6.111)

b20248 pts/14 2022-11-01 08:11 (192.168.5.141)

b20245 pts/15 2022-11-01 08:11 (192.168.6.151)

b20213 pts/16 2022-11-01 08:48 (192.168.6.106)

b20208 pts/17 2022-11-01 08:12 (192.168.6.141)

-bash-4.1$ whoami

b20224

-bash-4.1$ uptime

09:25:28 up 1:45, 59 users, load average: 0.15, 0.06, 0.09

-bash-4.1$ uname

Linux

You might also like