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

  Explaining costs are classified as opex or capex

The managers of the five business units. They will need to know the following about each option in terms that nontechnical staff can readily understand: Whether the costs are classified as opex or capex.

  Representing information by predicate-calculus sentences

Represent this information by predicate-calculus sentences in such a way that you can represent the question Is there a member of the alpine club

  Diagnos application which has changed from original state

How does third-party plug-ins change process of diagnosing and troubleshooting errors within application? What steps would you take in diagnosing the application which has been changed from its original state?

  Finding counterexample-algorithm based on greedy strategy

Determine a counterexample for following algorithm based on greedy strategy.

  Storage system that best fits the needs

An information technology recruiting firm has been growing rapidly over the past few years. The number of clients over the past year has quadrupled, and the number of employees has doubled.

  Flight availability request application

Define a simple Web Service in WSDL that returns flight information regarding flights of a particular flight operator, see the first question

  Use the smallest possible array to solve this problem

Use the smallest possible array to solve this problem. Display the complete set of unique value input after the user inputs each new value.

  Explain computer viruses spread by email or other methods

Explain computer viruses spread via email or by other methods. What negative consequences can they have on an organization's operations?

  Write a function to evaluate a polynomial

Write a function to evaluate a polynomial at a given real value a. That is define a function eval(P,a) that takes a list (polynomial) P and a given real number a, and computes P(a).

  Describe how all the processess could be completed

a system that is in an unsafe state is not necessarily deadlocked. explain why this is true. give an example of such a system ( in an unsafe state) and describe how all the processess could be completed without causing deadlock to ocur

  Uml state diagram situations in chess game

You are required to draw a UML state diagram to represent the following situations in Chess game.

  Differentiate matrix and blosum matrix

Write down the difference between matrix and a Blosum60 Blosum20 matrix? If one uses one and when other? What is meant by Clustal and summarize the operation.

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