0% found this document useful (0 votes)
2 views2 pages

Important Questions

The document outlines various aspects of UNIX architecture, including its environment, commands, and file management. It discusses internal and external commands, file attributes, and the super user role, along with examples of command usage. Additionally, it covers file permissions, pattern matching, and the differences between absolute and relative pathnames.

Uploaded by

shabana.ds
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views2 pages

Important Questions

The document outlines various aspects of UNIX architecture, including its environment, commands, and file management. It discusses internal and external commands, file attributes, and the super user role, along with examples of command usage. Additionally, it covers file permissions, pattern matching, and the differences between absolute and relative pathnames.

Uploaded by

shabana.ds
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

1. Explain in brief about "UNIX Architecture" with neat diagram.

2. List and explain 3 working UNIX environment.

3. Explain the following UNIX commands with minimum 2 examples.


(a) echo (b) calc (c) man (d) who (e) clear

4. What are internal and external commands? list and explain with examples.

5. Write short note on super user.

6. What are file attributes? Explain two ways to change the file permissions with example.

7. Discuss the the Shell's Interpretive Cycle.

8. What are grep and egrep commands? Explain with examples.

9. Explain the following commands.


(a) pipe

10. Explain the Three Standard Files used for Redirection.

11. Discuss pattern matching with wild-cards.


12.
With suitable example bring out the differences between
a) Absolute and Relative pathnames
b) External command and Internal command

With suitable example bring out the differences between


a) Absolute and Relative pathnames
b) External command and Internal command

Write output for the following commands


i) Cal 10 2021
ii) Date + “%D%T”
iii) Type echo
iv) Passwd
v) Who

Explain different types of files supported in UNIX.

Write the description for the following commands


i) mkdir college college/ISE college/ISE
ii) mv f1.c f2.c f3.c cprogs
iii) ls –l | wc –l
iv) rm –I chap1
v) cat >> test.txt

What are file permissions? Explain the use of chmod to change file
permissions using both absolute and relative methods?

Write output for the following commands


i) cp ???? progs
ii) rm ‘chap*’
iii) mv *.[!c][!p][!p] progs
iv) cat *.txt | wc –c
v) cp chap\[0-1\]

Explain relative and absolute permissions and Consider a file test.txt


with default permissions as –rw- r-r--, grant execute to owner, write
and execute permission to group and execute permission to others
using both relative and absolute approaches.

Explain all the options of ls command with example

You might also like