Answered step by step
Verified Expert Solution
Question
1 Approved Answer
UNIX/Linux Write the commands needed to solve the following exercises on mis01.scu.edu. Do not worry about upper/lower case. Problem 1 First, make a directory temp
UNIX/Linux
Write the commands needed to solve the following exercises on mis01.scu.edu. Do not worry about upper/lower case. 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/OMIS107/Lecture2. Print the lines of alice.txt that contain the string "form" as part of a longer word. Examples of line to retrieve: - "I 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/OMIS107/Lecture2. Print the lines of alice.txt where both " q " and "a" appear in the same wordStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started