What do the following commands do

Assignment Help Basic Computer Science
Reference no: EM13231736

1. What do the following commands do ? Explain 
a. $ mv abc cbs
. what would happen if in the above "cbs" is directory ?
. What would happen if in the above in "cbs" there is already a file abc ?
. what would happen if in the above abc is a directory ?

b. $ cp CPU file /etc/passwd /tmp

2. Write "find" commands for the following. No output needed.

a. find all files from your home directory that have the name "core"
b. find all files from /tmp directory that have a size > 5120 bytes
c. find all files from /usr/src that are owned by bin
d. find all files from the current directory that have inode number as 3000
e. find all files from /tmp that are directories
f. find all files from /dev that are character special files.

3. Write commands for the following using chmod. Do not use numbers for permissions. ie DO NOT USE 444 or 664 for permission.
No output needed.

a. to set the permissions of the directory $HOME/ctmp to read only for user
read and write for group and no perms for other

b. to add read permissions to group and other for any file

4. Write a command to create a symlink to $HOME/homework in /tmp
Explain what will happen after the operation, if the link file is removed.
Explain what will happen if $HOME/homework is removed.

5. Convert the following file permissions to letter format ie using r , w, x
a. 444
b. 655
c. 700
d. 055 

Reference no: EM13231736

Questions Cloud

How to produce linear combination of chickens and potatoes : Suppose that two people, Michelle and James each live alone in an isolated region. They each have the same resources available, and they grow potatoes and raise chickens. If Michelle devotes all her resources to growing potatoes
What is the break-even point for this operation : A product is currently made in a job shop, where fixed costs are $4,500 per year and variable cost is $10 per unit. The firm sells the product for $70 per unit. What is the break-even point for this operation? What is the profit (or loss) on a dem..
The notion of the child star : Cite your view on the notion of the child star (Mozart) and the impact of early success on a person who shows exceptional talent or genius.
Evaluate a proprietary project management software tool : You need to select a tool for project planning and scheduling from various tools available in the market. What factors would you consider in selecting the most appropriate software tool for your company?
What do the following commands do : What do the following commands do
State a balanced equation for the neutralization : Write a balanced equation for the neutralization of each of the following. Express your answer as a chemical equation. Identify all of the phases in your answer
Explain the abo genotype and blood type : ABO Blood Type Problem: A woman is married for the second time, What is the woman's ABO genotype and blood type
Define neutralization reactions : Balance each of the following neutralization reactions. Express your answer as a chemical equation. Identify all of the phases in answer.
Validate a field for minimum length : Write a JavaScript program that performs the following actions (in sequence, step-by-step):

Reviews

Write a Review

Basic Computer Science Questions & Answers

  User defined company class

Create a user defined Company class the class will include Company Name, Stock Symbol and stock value per share. Include a parameterized constructor and get methods for each of the instance variables. Also include a toString method.

  What is the name of the keyboard

research the Internet and find out all that you can about the keyboard layout that you are using. Then write me a one page essay on what you found.

  Describe how to structure worksheet

Describe how you will structure your worksheet, including the titles, column headings, the formulas to calculate the cost for each employee (which may include cost for a guest),

  Prepare a project plan that defines the tasks necessary

prepare a project plan that defines the tasks necessary to identify gaps related to privacy data and recommend mitigation actions for each gap. Students should include tasks, resources, cost estimates, and time estimates in the project plan.

  Develop a training schedule for hoosier burgers end users

Develop a training schedule for Hoosier Burger's end users, develop a hardware and software installation schedule for Hoosier Burger and develop User Documentation for the Delivery Customer Order Form.

  Reads in three integers

Write a program that reads in three integers and determines and prints the smallest number numerically in the group. The values are NOT necessarily entered in numeric order.

  Business intelligence and data warehouses

Business Intelligence and Data Warehouses

  Write a reference based implementation of a queue

Write a reference based implementation of a queue that uses a linear linked list to represent the items in the queue

  Most cost-effective in terms of both time and money

Search the Web for security education and training programs in your area. Keep a list and see which category has the most examples. See if you can determine the costs associated with each example. Which do think would be most cost-effective in terms ..

  Prove that machine precision as bound for relative round off

Prove that machine precision (epsilon) calculated by mathlab's eps function can be utilized as a bound for relative round off.

  Prove true a similar statement for octal representation

suppose a 4n-bit number B is represented by an n-digit hexadecimal number H. Prove that the two's complement of B is represented by the 16's complement of H. Make and prove true a similar statement for octal representation.

  Explaining models in system analysis and design

In System Analysis and Design: Models are widely used in wide variety of technical occupations beyond information technology.

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