Osy Final Output PDF
Osy Final Output PDF
PROGRAM CODE :
List down with all options for who commands and write its description. Note: Write terminal's
output in Result Section.
RESULT :
EXERCISE :
PROGRAM CODE :
Check all permissions started on your system. Stop the services which are not required for
long time.
RESULT :
1) cd
2) pwd
3) Sudo systemctl stop ufw
4) Sudo systemctl start ufw
5. Sudo systemctl restart ufw
Practical 5
PROGRAM CODE :
$ ps
$ sleep 10
$ kill
$ wait
$ exit
EXERCISE :
Ans.
Ans.
Ans.
Practical 6
PROGRAM CODE :
Ans.
Ans.
ls
mv
cp
rm
join
split
EXERCISE:
1) Write output of following commands :
Display all files names which starts with’ a’ and ends with ‘y’
Enlist all the files beginning with m and ending with any range of 1 to 5.
Show the contents of files whose file names contains exactly two characters.
Create a file ABCD.txt, create a copy with XXX.txt. Rename the original file with
AACD.txt. Delete the file XXX.txt.
$ls s?
$cat abc>>xyz
Practical 7
PROGRAM CODE :
1) Execute File and Directory Manipulation commands.
mkdir
cd
rmdir
pwd
EXERCISE :
Remove the write permission for the owner for sample using symbolic
method
d.
Delete the file sample What is an error message displayed No error
displayed .