0% found this document useful (0 votes)
3 views4 pages

Unix Commands

The document provides a series of command line inputs and outputs related to date and calendar functions in a Unix-like operating system. It includes commands for displaying the current date, formatting date outputs, and generating calendar views for the year 4044. Additionally, it shows examples of echoing text and retrieving user information from the system.

Uploaded by

mariajovana2008
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)
3 views4 pages

Unix Commands

The document provides a series of command line inputs and outputs related to date and calendar functions in a Unix-like operating system. It includes commands for displaying the current date, formatting date outputs, and generating calendar views for the year 4044. Additionally, it shows examples of echoing text and retrieving user information from the system.

Uploaded by

mariajovana2008
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/ 4

DATE COMMANDS

C: date
O: Tuesday 19 March 2024 11:23:46 AM IST
C:date '+%H-%M-%S'
O:11-25-08
C:date +%a
O:Tue
C:date +%A
O:Tuesday
C:date +%b
O:Mar
C:date +%B
O:March
C: date +%c
O:Tuesday 19 March 2024 11:26:18 AM
C:date +%C
O:20
date +%d
19
date +%D
03/19/24
date +%h
Mar
date +%H
11
date +%m
03
date +%M
30
date +%P
am
date +%S
49
date +%T
11:31:02
date +%u
2
date +%l
11
date +%y
24
date +%Y
2024
date +%Z
IST
date +%R
11:34

CALENDER COMMANDS
cal 4044
4044
January February March
Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa
1 2 1 2 3 4 5 6 1 2 3 4 5
3 4 5 6 7 8 9 7 8 9 10 11 12 13 6 7 8 9 10 11 12
10 11 12 13 14 15 16 14 15 16 17 18 19 20 13 14 15 16 17 18 19
17 18 19 20 21 22 23 21 22 23 24 25 26 27 20 21 22 23 24 25 26
24 25 26 27 28 29 30 28 29 27 28 29 30 31
31

April May June


Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa
1 2 1 2 3 4 5 6 7 1 2 3 4
3 4 5 6 7 8 9 8 9 10 11 12 13 14 5 6 7 8 9 10 11
10 11 12 13 14 15 16 15 16 17 18 19 20 21 12 13 14 15 16 17 18
17 18 19 20 21 22 23 22 23 24 25 26 27 28 19 20 21 22 23 24 25
24 25 26 27 28 29 30 29 30 31 26 27 28 29 30

July August September


Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa
1 2 1 2 3 4 5 6 1 2 3
3 4 5 6 7 8 9 7 8 9 10 11 12 13 4 5 6 7 8 9 10
10 11 12 13 14 15 16 14 15 16 17 18 19 20 11 12 13 14 15 16 17
17 18 19 20 21 22 23 21 22 23 24 25 26 27 18 19 20 21 22 23 24
24 25 26 27 28 29 30 28 29 30 31 25 26 27 28 29 30
31
October November December
Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa
1 1 2 3 4 5 1 2 3
2 3 4 5 6 7 8 6 7 8 9 10 11 12 4 5 6 7 8 9 10
9 10 11 12 13 14 15 13 14 15 16 17 18 19 11 12 13 14 15 16 17
16 17 18 19 20 21 22 20 21 22 23 24 25 26 18 19 20 21 22 23 24
23 24 25 26 27 28 29 27 28 29 30 25 26 27 28 29 30 31
30 31

cal 12 4044
December 4044
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 31

echo Jennica
Jennica

echo "Maria
> Niloufer
> Jennica"
Maria
Niloufer
Jennica

who -H
NAME LINE TIME COMMENT
a12-18 tty2 2024-03-19 10:41 (tty2)

who -b
system boot 2024-03-19 10:40

tty
/dev/pts/2
bc
bc 1.07.1

Who am i

You might also like