Question: This is for Mac Terminal Problem 1 First, make a directory temp inside your personal directory. Then, position yourself in directory temp. Use relative pathnames

This is for Mac Terminal
Problem 1 First, make a directory temp inside your personal directory. Then,

Problem 1 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) Problem 2 Position yourself in /home/OMIS107/Lecture2. 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 Problem 3 Position yourself in /home/OMlS107/Lecture2. Print the lines of alice.txtthat contain the string "form" as part of a longer word. Examples of line to retrieve: "l need more information" "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) Problem 4 Position yourself in /home/OMlS107/Lecture2. Print the lines of alice.txtwhere both "q" and "a" appear in the same word.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!