Question: In Unix /Linux can you show commands from your command line ?

In Unix /Linux can you show commands from your command line ?     

                                           

1. Make a directory 'find_man_pages' under your home.

2. Change your directory to find_man_pages

3. Redirect the man pages of find command to find.txt and errors to find.err.

4. Using cat command, open find.txt and count the lines in the file

5. Using cat command, open find.txt and search for a string 'search' 

6. Using cat command, again open find.txt and search for a string 'search' and count the number of lines that matched.

7. Using cat command, open find.txt and search for lines not matching 'search' and count the number of lines.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

mkdir findmanpages This creates a directory named findmanpages in your home direc... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Operating System Questions!