-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreport.txt
49 lines (37 loc) · 1.17 KB
/
report.txt
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Shell Assignment 0
Name - Baani Leen Kaur Jolly
Roll No - 2016234
Commands and their implemented options:
A) Internal Commands :
1) cd : Change Directory
Options-
.. : Go to the parent directory
-P : Cd into the absolute path
2) echo : Output the given arguments
Options-
-n : Do not print the trailing newline
-E : Treat escape chars as part of the input string
3) history : Prints the history of commands typed in the current shell session
4) pwd : Print Current Working Directory
5) exit : Exit
B) External Commands :
1) ls : list directory
Options-
-a : List all (including hidden) files and directories
-A : List everything except . and ..
2) cat : read the following files
Options-
-u : Ignored
-n : Number lines in the output
3) rm : remove file
Options-
-f : Force removal. Do not give any errors if encountered
-i : Interactive. Ask before removing any file
4) date : show the date in various formats
Options-
-d "Jan 9" : Print date from the given string
--v : Give version output
5) mkdir : make a directory
Options-
-v : verbose directory making (tell whatever mkdir is currently doing)
--help : print help