Question: ON A LINUX INSTANCE If you are not already the root user, then switch to the root user using the command sudo su - .
ON A LINUX INSTANCE
If you are not already the root user, then switch to the root user using the command sudo su - . As the root user, create a directory named /opt/month/reg . There is a file named /opt/dict.txt on the Linux instance. It contains 14309 lines of text representing lowercase English words. Perform the following tasks as related to this file. Do not modify or delete this file as it may affect your results. Print all of the lines within the /opt/dict.txt file containing a 5 letter word beginning with r and ending with z . Send the standard output to a file named /opt/month/reg/pattern01.txt . Print all of the lines within the /opt/dict.txt file containing an 11 letter word beginning with either c or v and ending in ut . Send the standard output to a file named /opt/month/reg/pattern02.txt . Print all of the lines within the /opt/dict.txt file that contain the text hello, world, or goodbye . Send the standard output to a file named /opt/month/reg/pattern03.txt .
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
