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

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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