Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The following should be written in Linus command Setting Up the Lab As you work through the lab, questions will be denoted with a Q.
The following should be written in Linus command
Setting Up the Lab As you work through the lab, questions will be denoted with a Q. Fill in your answers in a text file called lab3.txt. - Make some appropriate subdirectory for this lab and go there e.g., yourid/cs265/lab3 Ensure your directory restricts access to other students. \begin{tabular}{|l|} $ mkdir cs265 (if you do not have it already, cd if you do) \\ $ chmod go-rwx cs265 (if you have not done this already) \\ $ cd cs2 65 \\ $ mkdir lab3 \\ $ cd lab3 \\ $ chmod go-rwx lab3 \\ \hline \end{tabular} Bash Commands Q1 - Create a file that contains a space in the name for instance my favorite picture.jpeg Show the command you used Q2 - Also create the following files a aa b ab abab Show the command to list all files whose name starts with a and ends with b Q3 - Show the command to list all files whose name contains an a Q4 - Show the command to list all files whose name contains a space Q5 - Show the command to list all files whose name ends with a or g Q6 - Show the command to list all files whose name does not end with b Q7 - Show the command to list all files whose name starts with a but does not end with b Q8 - Create a bash script that contains the creation of the files from Q1 and Q2. Show the contents of your scriptStep 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