UNIX LAB
Code: BCAC691
LAB ASSIGNMENT 1 BCA 3RD YEAR
Student Name……………………………… Roll No…………
Problem Problem Description Signature &
No. Date
1 Show the output of the following command:-
1) ls
2) ls -l
3) ls –a
4) ls –ld directory_name
5) ls –lu
6) ls –lt
7) ls p*
8) ls *p
9) ls [aeiou]*
10) ls [!aeiou]*
11) ls [a-m][c-z][4-9]??
12) who
13) who am i
14) logout
15) tty
16) echo $SHELL
17) date
18) mkdir
19) pwd
20) cd
21) echo
22) cat > note1
23) cat > .note2
24) cat >> note1
25) finger
26) touch file_name
27) rmdir dir_name
28) rm –r dir_name
29) rm –i file_name
30) cp file1 file2
31) cat note1 note2> note3
32) logname
33) uname
34) cal 9 2012
35) wc command with all options
36) head
37) tail
1
2 create a file and set permission using chmod command. Set the permission as your wish write
the command for that permission .Show the use of umask command.
3 Write the command to sort two files and store the output in another file.
4 Show the use of cut command in a table of your choice.
Submission Date: