What is the significance of the given commands

Assignment Help Computer Engineering
Reference no: EM131827787

Question: 1. How does the command mv bar1 bar2 behave, here both bar1 and bar2 are directories, When

(i) bar2 exists,

(ii) bar2 doesn't exist?

2. Explain the difference between the commands cd ~charlie and cd~/Charlie is it possible for both commands to work?

3. Charlie uses /usr/Charlie as his home directory, and many of his scripts refer to the pahname /usr/Charlie/html. Later, the home directory is changed to /home/Charlie. Thus breaking all his scripts. How could charile have avoided this problem?

4. Explain what the following commands do:

(i) cd,

(ii) cd $HOME,

(iii) cd~.

5. What is the significance of these commands?

(i) mv $HOME/include

(ii) cp -r bar1 bar2,

(ii) mv * ../bin.

6. How do DOS and UNIX test files differ? Name the utilities that convert files between these two formats.

7. Name three advantageszip has over gzip.

8. a file in a file system with a block size of 1024 bytes contains 1026 bytes. How many bytes of disk space does it occupy?

9. create a file foo. How do you assign all permissions to the owner and remove all permissions from others using

(i) relative assignment and

(ii) absolute assignment?

Do you need to make any assumptions about foo's default permissions?

10. you tried to copy a file foo from another user's directory, but you got the error message cannot create file foo. You have write permission in your own directory. What could be the reason, and how do you copy the file?

11. what do you do to ensure that no one is able see the names of the files you have?

12. if the owner doesn't have write permission on a file but her group has, can she

(i) edit it,

(ii) delete it?

13. how will you add /* at the beginning of a line and */ at the end?

14. in the midst of your work, how can you see the list of users logged in? if you have a number of UNIX commands to execute, which course of action will you take?

15. how will you search for a pattern printf and then repeat the search in the opposite direction from that in which the original search was made?

16. if the power to the machine is cut off while a vi session is active, how does it affect your work? What salvage operation will you try?

17. you made some changes to a read-only file and then found that you can't save the buffer. What course of action will you take without quitting the editor?

Reference no: EM131827787

Questions Cloud

Which book of the bible begins with the story of moses : A main idea, according to the textbook, is that the history of humanity is characterized by a departure from what?
Perform the given octal additions : Perform the following octal additions. 770 + 665, 101 + 707, 202 + 667. Perform the following hexadecimal additions. 19AB6 + 43, AE9 + F, 1066 + ABCD.
Spheres having a radius of 3 angstroms : Assume that amino acids, the building blocks of proteins, can be represented by spheres having a radius of 3 angstroms.
Calculate the work w when 9 litre of an ideal : Calculate the work w when 9 litre of an ideal gas at an initial pressure of 93 atm is expanded or compressed isothermally to a final volume of 93 litres reversi
What is the significance of the given commands : Charlie uses /usr/Charlie as his home directory, and many of his scripts refer to the pahname /usr/Charlie/html. Later, the home directory is changed.
Against a constant external pressure : Calculate the heat q when 0.5 litre of an ideal gas at an initial pressure of 99 atm is expanded or compressed isothermally to a final volume of 99 litres.
Discuss about the social identity development : compile an annotated bibliography of resources on learning and development challenges for the student group you selected to research.
Performing a chemical technique call crystallization : In terms of performing a chemical technique call crystallization, how would the result of the experiment differ if we used "naphtalene" rather than "benzoic.
Bonds and an electron-deficient central born atom : The boron trifluoride molecule is depicted as having three single bonds and an electron-deficient central born atom. Use the concept of formal charge

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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