Professional Documents
Culture Documents
Sohini Paul 19070122169 Cs C2 Operating System Lab Assignment 2
Sohini Paul 19070122169 Cs C2 Operating System Lab Assignment 2
19070122169
CS C2
Command: date
Syntax: date
2.
Command: ls
Syntax: ls
3.
Command: cd
4.
Command: calculator
Syntax: bc
5.
Command: time
Syntax: time
6.
7.
Command/syntax: clear
8.
Command/syntax: wc
9.
Command: rm
Syntax: rm abc
10.
Command: mkdir
11.
Command: rmdir
12.
Command/syntax: cat>>abc
13.
Command/syntax: echo
14.
Command: sort
Syntax: sort abc
15.
Command: rev
16.
Command: nl
Syntax: nl abc
17.
Command: head
Syntax:
18.
Command: tail
Syntax:
19.
Command: file
20.
Command: cut
21.
Command: paste
22.
Command: cp
Syntax: cp xab
23.
Command: mv
24.
Command: tr
25.
Command: pwd
Syntax: pwd
Functionality: It prints the working directory i.e. the position where we are
right now in the system.
26.
Command: chmod
Syntax:
Functionality: Change the file mode bits of each given file according to mode.
27.
Command: touch
28.
Command: join
Syntax: join
29.
Command: history
Syntax: history
30.
Command: split
Syntax:(
31.
Command: bc
Syntax: :bc (Then type any calulation to solved like: ) 1+2 (hit “enter”) 3
32.
Command: who
Syntax: who
Functionality: displays the registered name of the user (EX: onworks (if we are
using the online version of Ubuntu))
33.
Command: whoami
Syntax: whoami
34.
Command: calendar
Syntax: cal
35.
Command: time
Syntax: time
36.
Command: man
SCREENSHOTS: