Hello, could you please help me answer all of this and show all the work?
4. Write down what each command will display from the following file f1:
He set up a research-oriented cell within the department, 4807, of networks and telecommunications 380 to continue doing applied research agrep[0-9]{2,3} f1
bgrepw[0-9]{2,3} f1
//-w option lists lines if whole string matches
5. Write down what each command will display from the following file f1:
He set up a research-oriented cell within the department, 4807. of networks and telecommunications 380 to continue doing applied research
agrep wncell f1
//-n option includes line numbers
b) grep -n dep f1
6. a) List a grep command to list only the files in the current directory
b) List a grep command to list only the directories created in the parent directory
7. a) What is normally expected under /etc
b) Which directory normally stores user programs
8. a) What is the minimum size of a physical block assigned to a file in Linux
b) What is the contribution of a 14-pointer in an inode to the size of a file?
c) How many 4-byte address pointers can be accommodated in an 8K block?
9. a) What is the effect of ps -ax/prog2 > f1
b) What is the effect of tail -100 hello1 repT
c) What is the effect of toi002 on a file that has only S lines