Preview

Nt1430 Unit 2

Good Essays
Open Document
Open Document
393 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Nt1430 Unit 2
UNIT 2
Chapter 5
1.
3.What happens when you give the following commands if the file named done already exists?
$ cp to_do done
$ mv to_do done
Either of the commands will overwrite done with the contents of to_do.
4. How can you find out which utilities are available on your system for editing files? Which utilities are available for editing on your system? apropos edit. man -k edit

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? If if is not in my search path it will not show me the results for it.
10. Experiment by calling the file utility with the names of files /usr/bin. How many different types of files are there? Roughly 20.
Chapter 6 1. Is each of the following an absolute pathname, a relative pathname, or a simple pathname?
a. Milk_co
b. Correspond/business/milk_co
c. /home/alex
d. /home/alex/literature/promo
e. ..
f. letter.0610
IF it starts with / it is absolute value. If it does not contain a / or . it is a simple file.
2. List the commands you can use to Make your home directory the working directory Identify the working directory. Cd and 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 ~/literature/classics, mkdir /home/max/literature/classics, mkdir ~max/literature/classics. To remove the classics directory and its contents rm -r /home/max/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 mounted on your Linux system? 5
b. Which filesystem stores your home directory? /dev/sda1
c. Assuming your answer to exercise 4a is

You May Also Find These Documents Helpful

  • Good Essays

    Nt1310 Unit 4

    • 313 Words
    • 2 Pages

    1) Block B in Fig. 6-31 weighs 603 N. The coefficient of static friction between block and table is 0.32; angle θ is 33°; assume that the cord between B and the knot is horizontal. Find the maximum weight of block A for which the system will be stationary.…

    • 313 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    Nt1310 Unit 4

    • 775 Words
    • 4 Pages

    Part III PHYSICS HSE II Time:2Hours Max:60 Scores 1. Three identical charges each +q are placed at the corners of an equilateral triangle of side d cm. Calculate the force on a +ive charge +2q at the centroid of the triangle. 2 2.If the earth is supposed to be a metallic sphere,its capacity will be nearly (a) 700pf (b) 700 microfarad (c) 700f (d) 6.4 X10^6 f 1score 3. write the relation between dielectric constant and electric susceptibility. 1score 4. A box encloses an electric dipole consisting of charge 5micro C and -5micro C and of length 10cm. What is the total electric flux through the box? 2scores 5. Find the ratio of the p.d that must be applied across the (1)parallel (2) series combination of two identical capacitors so that the energy stored in the two cases becomes the same. 2 scores 6.(a)…

    • 775 Words
    • 4 Pages
    Satisfactory Essays
  • Good Essays

    Nt1330 Unit 4

    • 4542 Words
    • 19 Pages

    ________ is typically not referred to as a buffer type in critical chain project management.…

    • 4542 Words
    • 19 Pages
    Good Essays
  • Good Essays

    Nt1310 Unit 5

    • 368 Words
    • 2 Pages

    the ratio of resistors on one side of the bridge is one while the ratio of resistors on the other side is infinity…

    • 368 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Nt1330 Unit 5

    • 800 Words
    • 4 Pages

    1. Is an external wall within 900mm of an allotment boundary to another property, 1.8m to another building that isn’t a class 10 building, or 3m from a brush fence?…

    • 800 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Nt1310 Unit 12

    • 348 Words
    • 2 Pages

    All electrical work from and including motor control centers/panels to and including motors and other electrically operated equipment, which is included in the Specification for Mechanical Work or other work, does not form part of the…

    • 348 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    Nt1330 Unit 3

    • 472 Words
    • 2 Pages

    Fill in the blanks in the following table. Then use the table to answer the questions:…

    • 472 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Nt1310 Unit 6

    • 297 Words
    • 2 Pages

    8. The reactance offered by a capacitor to alternating current of frequency 50 Hz is 20 Q. If frequency is increased to 100 Hz, then reactance becomes -----------------.…

    • 297 Words
    • 2 Pages
    Good Essays
  • Better Essays

    Nt1310 Unit 4

    • 3614 Words
    • 15 Pages

    13. If the following program (myprog) is run from the command line as myprog monday tuesday wednesday thursday? What would be the output?…

    • 3614 Words
    • 15 Pages
    Better Essays
  • Good Essays

    It-250 Week 5 Questions

    • 397 Words
    • 2 Pages

    c. The Header file accts.h is composed of two other header files: trans.h and reps.h.…

    • 397 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    Linux Final Exam Study Guide

    • 2437 Words
    • 10 Pages

    -runlevel 0- shuts down the system, runlevel 1- brings the system to single-user/resue mode, runlevel 2,3,4- brings the system to multiuser textual mode, runlevel 5- brings the system to multiuser graphical mode, runlevel 6- reboots the system. by default Fedora uses 5, Telinit utility allows a user working with root privileges to bring the system down, reboot, or change between runlevels. who –r displays current runlevel…

    • 2437 Words
    • 10 Pages
    Powerful Essays
  • Satisfactory Essays

    ChDir (P22) ChDrive (P22) MkDir (P22) RmDir Function (P23) FileDateTime (P23) FileCopy (P24) Cut, Copy & Pasting Text (P24) SetAttr (P25) FreeFile function (P25) Close Statement (P27) EOF Function (P27) Print Function (P28)…

    • 9138 Words
    • 37 Pages
    Satisfactory Essays
  • Good Essays

    Jm Pwd File

    • 506 Words
    • 3 Pages

    1. cp: The cp command will make a copy of a file for you. Example: "cp file foo" will make an exact copy of "file" and name it "foo", but the file "file" will still be there. If you are copying a directory, you must use "cp -r…

    • 506 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    6. The Magic Tab: Instead of typing the whole filename if the unique pattern for a…

    • 498 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    One Mark Questions

    • 537 Words
    • 3 Pages

    |1. |What command is used to count the total number of lines, words, and characters contained in a file? |…

    • 537 Words
    • 3 Pages
    Satisfactory Essays

Related Topics