OS File
OS File
LINUX – OS LAB
BCA 371
$man
$whatis
1. $cat
2. $cd
3. $mv
4. $cp
5. $rm
6. $mkdir
8. $file
9. $pwd
b. $cal
c. $echo
d. $bc
f. $who
g. $whoami
h. $hostname
i. $uname
j. $tty
k. $aliase
4. Q1. Display the name of the client machine with complete details.
Q3. To list the directories and sub directories by specifying their locations.
Q4. To list the total time that the system has been setup.
Q5. Display the directory contents of your directory. The output should be
multi column and should contain the hidden files.
5. Wildcards
i. Regular/command mode
ii. Insert mode/Input-text mode
iii. Replacement mode
b. $top
c. $pstree
d. $nice
e. $renice
Q2 Given a file with permissions 755, what commands would change the
permissions to r-x-r--r--?
10 Set a file to be read-only with the chmod command. Interpret the file
. permissions displayed by the ls -l command.
Write basic shell script to input the month number and generate