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?
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
|