Change the permissions on a file

Assignment Help Operating System
Reference no: EM131021030

I. Multiple Choice

DIRECTIONS: Save this document on your local machine. Use the blue-bordered box for your answers - for each question, type the answer you have selected into that box.

1. Which command is used to change the ownership of a file?

a. chmod                                             c. setuser

b. mv                                                   d. chown

2. Which option to the rm command will cause the shell to prompt for confirmation before deleting each file in the parameter list?

a. -r                                                      c. -f

b. --interactive                                     d. --prompt

3. Which of these numbers represents read-write permission for the owner and read permission for other groups (should be the default for a file created with vi)?

a. 622                                                  c. 644

b. 755                                                  d. 600

4. Which of the following are valid command-line operators?

a. |                                         c. :)

b. <-                                        d. all of the above

II. Short Answer

DIRECTIONS: Type the answer to each question in the blue box associated with it.

5. Write a command which will change the permissions on a file named boreworms.txt so that the owner of the file has read and execute permission, the group owner has read permission, and no one else has any access to the file.

6. Write a command which will search some of the files in your current directory for the string "mingo". All of the files which are of interest to you have the form flashcomicXXX.txt, where XXX is a 3-digit number.

7. Write a command which will move a file named boreworms.txt from your current working directory to the home directory of a user named lizardman.

8. Write a command which will display a word count of a file named flashcomic123.txt.

Verified Expert

The solution file has 2 parts which are basic unix shell commands. Part 1 is multiple choice questions are answered and part 2 is short questions which are answered with unix commands and examples.

Reference no: EM131021030

Questions Cloud

How are some animals able to see in the dark : How are some animals able to see in the dark whereas the majority are able to see during daylight?
Compute amount of accumulated depreciation on each machine : Compute the amount of accumulated depreciation on each machine at December 31, 2015. If machine 2 was purchased on April 1 instead of July 1, what would be the depreciation expense for this machine in 2013 and In 2014?
Strategies for enhancing antitumor immune responses : Strategies for enhancing antitumor immune responses include all of the following except
Vega corporation purchased a patent at a cost : The amount charged to income (expense and loss) in 2019 related to the patent should be:$ 26,000.$219,200.$ 53,600.$217,000.
Change the permissions on a file : Write a command which will change the permissions on a file named boreworms.txt so that the owner of the file has read and execute permission, the group owner has read permission, and no one else has any access to the file.
Suppose that an investor with two year investment horizon : Suppose that an investor with a two year investment horizon is considering purchasing a seven year 9% coupon bond selling at par. The investor expects that he can reinvest the coupon payments at an annual interest rate 10% and that at the end of the ..
Depletion or inactivation of b lymphocytes by drugs : Depletion or inactivation of B lymphocytes by drugs or antibodies results in reduced graft rejection? true or false
Remaining until maturity on bonds and the yield to maturity : Large Industries annual bonds are selling at 95.70 (i.e., the price is $957 for the $1,000 bond). There are 8 years remaining until maturity on the bonds and the yield to maturity is 6.25%. Find the coupon rate. (Note: you may have to use a trial and..
Management reported that net income rose : Buckin’ Bronco Corp. posted EBITDA of $305,080, EBIT of $262,620, and EBT of $205,450. Management reported that net income rose by 5% from the previous year and the market value of assets rose by 3%. Using the tax table below, how much will Buckin’ B..

Reviews

Write a Review

Operating System Questions & Answers

  What are some of the key characteristics of an embedded os

What are some of the key characteristics of an embedded OS? Describe some examples of markets where embedded systems are used. Discuss why they are important. Describe some examples of markets where embedded systems are used

  Create a model round robin scheduler

Create a Model Round Robin Scheduler - Referencing the Round-Robing scheduling algorithm

  Explaining cpu midway through the disk-service routine

CPU with interrupt-driven I/O is busy servicing  disk request. While CPU is midway through the disk-service routine, another I/O interrupt occurs. What occurs next?

  Translate a program alm to an asp program

Design a documentation for writing such scenarious in SPARC - Extend the framework to allow SPARC programs to be used to specify robot's behavior.

  Implement a basic shell that restricts the runtime of

implement a basic shell that restricts the runtime of processes executed from within it. your shell will read input

  Differences and similarities between linux and unix?

What are some distinct differences and similarities between Linux and Unix? Why do you think it is important to know about both of these operating systems

  Explains memory management requirements

Write a 2-page paper that explains memory management requirements. Write a 2-page paper that explains the differences in memory management between Windows and Linux

  Shared data problem what is shared data problem explain in

what is shared data problem ? explain in briefly ? which is related to embedded system topics ? ltbrgt

  Wireless encryption standards

Compare the several wireless encryption standards. Determine the purpose of implementing wireless encryption and discuss the benefits of each standard?

  Question 1a an interrupt triggers a number of events both

question 1a an interrupt triggers a number of events both in processor hardware and in software. discuss about the

  Determine the largest value

A soft real time system has 4-periodic events with periods of 50, 100, 200 and 250 msec each. Assume 4-events need 35, 20, 10 and X msec of CPU time, respectively.

  Why do you think that embedded systems are so popular

Why do you think that embedded systems are so popular? Is it because of how reliable they are? Are they also secure

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd