Unit 2 NT1430

Topics: File system, Computer file systems, Filename Pages: 2 (377 words) Published: July 11, 2014
Misty Moore
June 30, 2014
Unit 2 Chapter Exercises

Chapter 5
1. Which commands can you use to determine who is logged in on a specific terminal? $ who
3. What happens when you give the following commands if the file named done already exists? $ cp to_do done $ mv to_do done It will overwrite the done file unless you put in command c –i 4. How can you find out which utilities are available on your system for editing files? Which utilities are available on your system? Give the command apropos editor. Typical editors are vim, ex, ed, and Gedit

8. What is the result of giving the which utility the name of a command that resides in a directory that is not in your search path?
The which utility displays a message saying that the command you are looking for is not in the list of directories in your search path.
10. Experiment by calling the file utility with the names of files in /usr/bin. How many different types of files are there?
About 20 different types.

Chapter 6
1. Is each of the following an absolute pathname, a relative pathname, or a simple filename? A. Simple B. simple C. absolute D. absolute E. relative F. simple 2. List the commands you can use to perform these operations: A. Make your home directory the working directory ----cd

B. Identify the working directory----pwd
3. If the working directory is /home/max with a subdirectory named literature, give three sets of commands you can use to create a subdirectory named classics under literature. Also give several sets of commands you can use to remove the classics directory and its contents. mkdir /home/max/literature/classics

mkdir ~max/literature/classics
mkdir ~/literature/classics
4. The df utility displays all mounted filesystems along with information about each. Use the df utility with the –h (human-readable) option to answer the following questions A. How many filesystems are...
Continue Reading

Please join StudyMode to read the full document

You May Also Find These Documents Helpful

  • Nt1430 Unit 2 Essay
  • Nt1430 Unit 2 Discuss Essay
  • Essay about Unit 2
  • unit 2 Essay
  • NT1430 Essay
  • Unit 2 Explore and Discuss Essay
  • Essay about unit 21 task 2
  • bio asesmnet unit 2 Essay

Become a StudyMode Member

Sign Up - It's Free