1. What command shows the present working directory? What output does that command display after you...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
1. What command shows the present working directory? What output does that command display after you login to matrix and run it. A: IMPORTANT: For each question, assume: you are logged in to matrix using your MySeneca username your pwd is /var directory below remains the same for each question, even if a previous answer changed it -- -- A: public_html/ -X- 2. Write a command line to backup index.html from public_html into images directory. The backed up file should be your matrix username.html. For example, if your username is jbond007 then upon completion directory images has the file jbond007.html in it with the contents from index.html. For full credit, write another command line and its output to show the previous command completed successfully (3 Marks). A: |-- images/ --index.html rough_work/ -X- 3. Your pwd is /var, using the shortest path write a command line to delete directory rough_work. A: -X- 4. Using relative to home path, give everyone pass-through permissions to public_html (cannot list or remove files). -X- A: A: This utility converts lower case to upper case B. grep D. None of the above (write the command needed) -X- 6. This utility removes directories only if they are empty A: cat convert A. rm C. rmdir -X- 7. This utility shows lines in a file that do not match a given string pattern A: A. find C. search A: -X- 8. From the following, this utility cannot display the contents of a file B. del D. None of the above (write the command needed) A. cat C. vim SHORT ANSWER B. locate D. None of the above (write the command needed) B. echo D. less 9. [2 Marks] Describe the octal number system, explain its use for permissions in Linux. Using two command lines (one for a file, the other for a directory) show and explain how octal is used. cofogunyoyin@mtrx-node01 pd:~ == SHORT ANSWER == 9. [2 Marks] Describe the octal number system, explain its use for permissions in Linux. Using two command lines (one for a file, the other for a directory) show and explain how octal is used. A: -X- 10. [2 Marks] Write the output of this command line when it is run on matrix. In your own words, creatively yet correctly explain what this command line does. find /var/log -size +1M 2> /dev/null | sort -r | tail -3 A: -X- 11. (2 Marks) When trying to remove hello.txt in your pwd, you see the error message: 'Permission denied'. What might have happened and write a command line to fix the problem. A: -X- 12. (2 Marks) A friend asks you for an explanation of either the umask or the tee command. Choose one and write in your own words what umask or tee does. In your answer, use a command line with its output and an explanation of the output. A: 13. (2 Marks) Using three or more examples what surprised or shocked you when you began learning Linux through ULI101 at Seneca College. A: [ xxXxx ] #vim: fileformat-unix: filetype-asciidoc:nospell:textwidth=100: 1. What command shows the present working directory? What output does that command display after you login to matrix and run it. A: IMPORTANT: For each question, assume: you are logged in to matrix using your MySeneca username your pwd is /var directory below remains the same for each question, even if a previous answer changed it -- -- A: public_html/ -X- 2. Write a command line to backup index.html from public_html into images directory. The backed up file should be your matrix username.html. For example, if your username is jbond007 then upon completion directory images has the file jbond007.html in it with the contents from index.html. For full credit, write another command line and its output to show the previous command completed successfully (3 Marks). A: |-- images/ --index.html rough_work/ -X- 3. Your pwd is /var, using the shortest path write a command line to delete directory rough_work. A: -X- 4. Using relative to home path, give everyone pass-through permissions to public_html (cannot list or remove files). -X- A: A: This utility converts lower case to upper case B. grep D. None of the above (write the command needed) -X- 6. This utility removes directories only if they are empty A: cat convert A. rm C. rmdir -X- 7. This utility shows lines in a file that do not match a given string pattern A: A. find C. search A: -X- 8. From the following, this utility cannot display the contents of a file B. del D. None of the above (write the command needed) A. cat C. vim SHORT ANSWER B. locate D. None of the above (write the command needed) B. echo D. less 9. [2 Marks] Describe the octal number system, explain its use for permissions in Linux. Using two command lines (one for a file, the other for a directory) show and explain how octal is used. cofogunyoyin@mtrx-node01 pd:~ == SHORT ANSWER == 9. [2 Marks] Describe the octal number system, explain its use for permissions in Linux. Using two command lines (one for a file, the other for a directory) show and explain how octal is used. A: -X- 10. [2 Marks] Write the output of this command line when it is run on matrix. In your own words, creatively yet correctly explain what this command line does. find /var/log -size +1M 2> /dev/null | sort -r | tail -3 A: -X- 11. (2 Marks) When trying to remove hello.txt in your pwd, you see the error message: 'Permission denied'. What might have happened and write a command line to fix the problem. A: -X- 12. (2 Marks) A friend asks you for an explanation of either the umask or the tee command. Choose one and write in your own words what umask or tee does. In your answer, use a command line with its output and an explanation of the output. A: 13. (2 Marks) Using three or more examples what surprised or shocked you when you began learning Linux through ULI101 at Seneca College. A: [ xxXxx ] #vim: fileformat-unix: filetype-asciidoc:nospell:textwidth=100:
Expert Answer:
Related Book For
Data Analysis and Decision Making
ISBN: 978-0538476126
4th edition
Authors: Christian Albright, Wayne Winston, Christopher Zappe
Posted Date:
Students also viewed these computer network questions
-
QUIZ... Let D be a poset and let f : D D be a monotone function. (i) Give the definition of the least pre-fixed point, fix (f), of f. Show that fix (f) is a fixed point of f. [5 marks] (ii) Show that...
-
can someone solve this Modern workstations typically have memory systems that incorporate two or three levels of caching. Explain why they are designed like this. [4 marks] In order to investigate...
-
8 Assume a company reported the following results: Sales Net operating income Average operating assets Margin Turnover Return on investment (ROI) What is the return on investment? ? $ 120,000 $...
-
Jenna Monera, the controller for Excelsior Company, has faced the following situations in the past two weeks: a. Ben Heald, the head of production, wondered whether it would be more cost effective to...
-
Lanza Company had the following adjusted trial balance. Instructions (a) Prepare closing entries at June 30, 2014. (b) Prepare a post-closing trialbalance. Lanza Company Adjusted Trial Balance For...
-
What are the disadvantages of nonprobability sampling techniques?
-
Frankel Inc. experienced the following transactions for 2013, its first year of operations: 1. Issued common stock for $60,000 cash. 2. Purchased $210,000 of merchandise on account. 3. Sold...
-
find lim x-2x =-2-x-4x+4
-
Art-Labeling Activity: Structures of the Alveoli and the Respiratory Membrane Submit Erythrocyte Pulmonary capillaries Request Answ Alveolus Type I alveolar cells Respiratory membrane Fluid...
-
How do theories of globalization and transnationalism reconfigure conventional understandings of social boundaries, community, and identity in an increasingly interconnected world ?
-
How can students use all the knowledge gained from psychology courses in the world to develop an Applied Psychology Project?
-
How do classical and contemporary social theorists conceptualize the relationship between agency and structure in shaping social phenomena, and what implications does this have for understanding...
-
Explain the nature of the field of clinical psychology Provide a definition of clinical psychology, supported by course material. What is the scientific focus of the field and why that is important...
-
Divide students into groups of 4-5 and ask them to generate as many thoughts and ideas they have about the following groups of people: Afro-Caribbean, Indigenous, Irish, Italian, Jewish, and Latino....
-
Give a full and detailed explanation of how the assertion of Cut Off would be proved for the monthly lease revenue accounts. It is now the end of July, and you are finalizing the audit. On 15th July,...
-
Pearson Education, a publisher of college textbooks, would like to know if students prefer traditional textbooks or digital textbooks. A random sample of students was asked their preference and the...
-
Besides the maximin, maximax, and EMV criteria, there are other possible criteria for making decisions. One possibility involves regret. The idea behind regret is that if you make any decision and...
-
A company has recorded its overhead costs, machine hours, and labor hours for the past 60 months. The data are in the file P11_65.xlsx. The company decides to use regression to explain its overhead...
-
Sarah Chang is the owner of a small electronics company. In six months, a proposal is due for an electronic timing system for the next Olympic Games. For several years, Changs company has been...
-
True or False: Engineers seldom have an opportunity to influence the recovery period for expenditures.
-
True or False: Straight-line depreciation is the most popular depreciation method used in financial reporting.
-
A lumber company purchases and installs a wood chipper for \(\$ 200,000\). The chipper is classified as MACRS 7-year property. Its useful life is 10 years. The estimated salvage value at the end of...
Study smarter with the SolutionInn App