Answered step by step
Verified Expert Solution
Question
1 Approved Answer
What are the commands to use, please ?? 1) List the process states of Linux Ubuntu. In all the answers, provide both the command you
What are the commands to use, please ??
1) List the process states of Linux Ubuntu. In all the answers, provide both the command you typed and the answer to the question a. What is the absolute path to the directory you start at as soon as you log in? b. What are the contents of this directory? C. What are the contents of the root directory of this computer? d. In your home directory, make a new directory called /BIOL3933. Enter this new directory using cd e. Using the command line, download the file https://www2.unb.cal-rmalenf1/Other/books.tar.gz into the new directory that you just created and decompress it. What was inside this compressed file? (List all the file names and the file sizes.) f. Explain what the permissions for these files mean g. Change the permissions of the text files to ensure that: i. The owner of the files can read and write to them ii. Other group members can also read the files (but not write to them) ii. Non-members cannot read or write to the files h. Examine the contents of the text files (e.g., using less). What books are included in this collection? i. What is the last sentence of Book 2? (Don't scroll down through the file manually... There is an easier way.) j. On what line(s) of Book 2 are barnacles mentioned? 2) Use cd to return to the /BIOL3933/ directory that you made earlier. Inside this directory, create a new directory called tmp and cd to it. Answer the following questions a. Create new (empty) files called: a1.txt, a2.R, a3.txt, a4.txt, abacus.txt, a10.txt, bab234.txt, agriobio.dat b. Using globbing, write a command that will i. List all files that start with a i. List all.txt files iii. List all files that start with a and contain a b iv. List files a1.txt, a2.R, and a3.txt only v. Compress all files in this directory into a gzipped tarball called "myfiles.tar.gzStep 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