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

Arjun Os

The document provides a series of UNIX command examples executed by a user named Arjun G on a Linux system. It includes commands such as 'pwd', 'who', 'cal', 'ip', 'mkdir', 'rmdir', 'uname', 'wget', 'passwd', and 'man ls', along with their outputs. Each command demonstrates basic functionalities like displaying the current directory, listing users, creating and removing directories, and managing files.

Uploaded by

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

Arjun Os

The document provides a series of UNIX command examples executed by a user named Arjun G on a Linux system. It includes commands such as 'pwd', 'who', 'cal', 'ip', 'mkdir', 'rmdir', 'uname', 'wget', 'passwd', and 'man ls', along with their outputs. Each command demonstrates basic functionalities like displaying the current directory, listing users, creating and removing directories, and managing files.

Uploaded by

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

` ARJUN G

953623205004
EXERCISE-2
UNIX COMMANDS

1)Pwd :
rit@rit-HP-Elite-Tower-600-G9-Desktop-PC:~$ pwd
/home/rit

2)who:
rit@rit-HP-Elite-Tower-600-G9-Desktop-PC:~$ who
rit tty2 2025-02-28 09:10 (tty2)

3)cal :
rit@rit-HP-Elite-Tower-600-G9-Desktop-PC:~$ cal
February 2025
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

4)ip :
rit@rit-HP-Elite-Tower-600-G9-Desktop-PC:~$ ip
Usage: ip [ OPTIONS ] OBJECT { COMMAND | help }
ip [ -force ] -batch filename
where OBJECT := { address | addrlabel | fou | help | ila | ioam | l2tp
| link |
macsec | maddress | monitor | mptcp | mroute | mrule |
neighbor | neighbour | netconf | netns | nexthop | ntable
|
ntbl | route | rule | sr | tap | tcpmetrics |
token | tunnel | tuntap | vrf | xfrm }
OPTIONS := { -V[ersion] | -s[tatistics] | -d[etails] | -r[esolve] |
-h[uman-readable] | -iec | -j[son] | -p[retty] |
-f[amily] { inet | inet6 | mpls | bridge | link } |
-4 | -6 | -M | -B | -0 |
-l[oops] { maximum-addr-flush-attempts } | -br[ief] |
-o[neline] | -t[imestamp] | -ts[hort] | -b[atch] [filename]
|
-rc[vbuf] [size] | -n[etns] name | -N[umeric] | -a[ll] |
-c[olor]}
` ARJUN G
953623205004

5.mkdir :
rit@rit-HP-Elite-Tower-600-G9-Desktop-PC:~$ mkdir arjun2.txt
rit@rit-HP-Elite-Tower-600-G9-Desktop-PC:~$ ls
combined.txt Desktop arjun.txt Documents Downloads h.txt it
it.txt Music new Pictures Public snap arjun2.txt Templates
Videos w.txt

6.rmdir :
rit@rit-HP-Elite-Tower-600-G9-Desktop-PC:~$ rmdir arjun.txt
rit@rit-HP-Elite-Tower-600-G9-Desktop-PC:~$ ls
combined.txt Desktop arjun1.txt Documents Downloads h.txt it
it.txt Music new Pictures Public snap Templates Videos w.txt

7.uname :
rit@rit-HP-Elite-Tower-600-G9-Desktop-PC:~$ uname -a
Linux rit-HP-Elite-Tower-600-G9-Desktop-PC 6.8.0-50-generic
#51~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 21 12:03:03
UTC 2 x86_64 x86_64 x86_64 GNU/Linux

8.wget :
rit@rit-HP-Elite-Tower-600-G9-Desktop-PC:~$ wget -c
www.google.com
--2025-02-28 09:39:45-- http://www.google.com/
Resolving www.google.com (www.google.com)... 142.250.182.132,
2404:6800:4007:81d::2004
Connecting to www.google.com (www.google.com)|
142.250.182.132|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 18912 (18K) [text/html]
Saving to: ‘index.html’

index.html 100%
[========================================
=========================================
==============================>] 18.47K --.-
KB/s in 0s

2025-02-28 09:15:46 (175 MB/s) - ‘index.html’ saved [18912/18912]


` ARJUN G
953623205004

9.passwd :
rit@rit-HP-Elite-Tower-600-G9-Desktop-PC:~$ passwd
Changing password for rit.
Current password:
New password:
BAD PASSWORD: The password is the same as the old one
New password:
BAD PASSWORD: The password is the same as the old one
New password:
BAD PASSWORD: The password is shorter than 8 characters
passwd: Have exhausted maximum number of retries for service
passwd: password unchanged

10.man ls :
rit@rit-HP-Elite-Tower-600-G9-Desktop-PC:~$ man ls
rit@rit-HP-Elite-Tower-600-G9-Desktop-PC:~$ df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 3.2G 2.1M 3.1G 1% /run
/dev/nvme0n1p7 121G 9.8G 105G 9% /
tmpfs 16G 0 16G 0% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
efivarfs 246K 151K 91K 63% /sys/firmware/efi/efivars
/dev/nvme0n1p5 965M 365M 535M 41% /boot
/dev/nvme0n1p2 96M 30M 67M 32% /boot/efi
tmpfs 3.2G 104K 3.2G 1% /run/user/1000

You might also like