Question: First, make a directory temp inside your personal directory. Then, position yourself in directory temp. Use relative pathnames to copy into temp all of
First, make a directory temp inside your personal directory. Then, position yourself in directory temp. Use relative pathnames to copy into temp all of the files in /home/OMIS107/HW2 whose name ends with 120, 121, 122, ..., up to 180 included. (one or two cp commands) Print the lines of alice.txt where the word "Alice" appears shortly before an exclamation point. Here, we say that Alice appears "shortly" before an exclamation mark if there are at most 7 other characters between the "e" of Alice and "!". as part of a longer word. Examples of line to retrieve: "I need more information" Print the lines of alice.txt that contain the string "form" "Who did you inform about it?" "Nice formation" Example of line NOT to retrieve: "you first form a line" (form is not part of a longer word)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
