How can you extract from the output of find -name c -print


Problem

1. Devise a command sequence to display the line containing the last occurrence of the string done.

2. What does grep "^\*" look for? Is the \ really necessary?

3. Devise a sequence to display a count of lines containing the string IMG SRC in all HTML files (extension 4.htm or .html) in the current directory. Assume that both string and filenames can have a mix of upper- and lowercase.

5. How can you extract from the output of find . -name "*.c" -print only the filenames in the current directory and not in its subdirectories?

6. How do you store in the variable numb the number of .c files that contain the string printf?

7. Devise a sequence to display the listing, ordered by last access time, of the .c files in the current directory that contain the string wait.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: How can you extract from the output of find -name c -print
Reference No:- TGS02670891

Expected delivery within 24 Hours