I need help in unix.
Question 41 pts
The command p puts the copied text
Question 51 pts
In vi editor, which command copies the current line of the file?
Question 61 pts
An expression /[Tt]om/ indicates that Vi will search for the regular expression containing
| An uppercase t followed by an o, and m |
| A lowercase t followed by an o, and m |
| An uppercase or lowercase t followed by an o, and m |
| An uppercase and lowercase t followed by an o, and m |
Question 71 pts
An expression /case$/ indicates that Vi will find only those lines where the regular expression case is matched
| At the beginning of the word |
| At the beginning of the line |
Question 81 pts
An expression /^case/ indicates that Vi will find only those lines where the regular expression case is matched
| At the beginning of the word |
| At the beginning of the line |
Question 91 pts
An expression /ove[^a?zA?Z0?9]/ indicates that Vi will search for the regular expression containing an o, v, and e, followed by
Question 101
In Vi editor, which of the following keys is used to move the cursor to the beginning of the paragraph
Question 111 pts
What will be printed for the command below? grep -c '[T/t]om' filename
| The count of lines that contains Tom in file filename |
| The count of lines that contains tom in file filename |
| The count of lines that contains Tom or tom in file filename |
| The count of lines that contains Tom and tom in file filename |
Question 121 pts
What will be searched for the command below? grep 'T[oO][mM]' filename
| It will search for TOM or Tom |
| It will search for TOM and Tom |
| It will search for TOM, Tom, TOm, and ToM |
| It will search for TOM, Tom, TOm, or ToM |
Question 131 pts
Indicate the right command to search for anything except letters or numbers
| grep '[a-zA-Z0-9]' filename |
| grep '^[a-zA-Z0-9]' filename |
| grep '[^a-zA-Z0-9]' filename |
| grep '[^a-z][^A-Z][^0-9]'filename |
Question 141 pts
How can you print all lines except blank lines in a file?
Question 151 pts
How can you search for blank line in a file?
Question 161 pts
What will the below command do? grep '8$' filename
| Prints all lines starting with an 8 |
| Prints all lines ending with an 8 |
| Prints all lines starting with an 8 and ending with a $ |
Question 171 pts
What will the below command do? grep '^b' filename
| Prints all lines beginning with the uppercase b |
| Prints all lines beginning with the lowercase b |
| Prints all lines beginning with the lowercase and uppercase b |
| Prints all lines ending with the lowercase b |
Question 181 pt
What will the below command do? grep '8\..' filename
| Prints all lines start with the number 8 and followed by any digit |
| Prints all lines start with the number 8 and followed by any letter |
| Prints all lines ending with the number 8 |
Question 191 pts
What will the below command do? grep '\.7' filename
| Prints all lines start with the number 7 |
| Prints all lines end with the number 7 |
| Prints any line not containing the expression .7 |
| Prints any line containing the expression .7 |
Question 201 pts
What will the below command do? grep '^[we]' filename
| Prints all lines beginning with either a w or an e |
| Prints all lines beginning with a w and followed by an e |
| Prints all lines ending with the we |
Question 211 pts
What will the below command do? grep '[a?z]\{11\}' filename
| Prints all lines containing at most eleven consecutive lowercase letters |
| Prints all lines containing at least eleven consecutive lowercase letters |
| Prints all lines containing lowercase letters followed by number eleven |
Question 221 pts
What will the below command do? grep i 'north' filename
| Prints all lines containing lowercase north letters |
| Prints all lines containing uppercase north letters |
| Prints all lines containing an uppercase n followed by lowercase o, r, t, and h letters |
Question 231 pts
What will the below command do? egrep 'NA|EA' filename
| Prints the lines beginning with either the expression NA or the expression EA |
| Prints the line if it contains NA and EA expressions |
| Is the same as grep '[N/E]A' filename command |
Question 241 pts
What will the below command do? egrep '4+' filename
| Prints all lines containing more than one occurrences of the number 4 |
| Prints all lines containing one or more occurrences of the number 4 |
| Prints all lines containing more than four occurrences of the number 4 |
Question 251 pts
What will the below command do? egrep '7\.?[09]' filename
| Prints all lines containing a 7, followed by zero or one period, followed by a number |
| Prints all lines containing a 7, followed by one or more period, followed by a number |
| Prints all lines containing a 7, followed by one period, followed by one number |