Preview

NT1430 UNIT 2

Satisfactory Essays
Open Document
Open Document
565 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
NT1430 UNIT 2
NT1430
26Sep14
Unit 2 Chapter 5 p.182 1,3,4,8,10
Unit 2 Chapter 6 p. 221 1,2,3,4,6
1) What commands can you use to determine who is logged in on a specific terminal? who, whoami
3) What happens if you give the following commands when the file ‘done’ already exists?
$cp to_do done
‘done’ is overwritten with contents of ‘to_do’
$ mv to_do done
‘done’ is overwritten with contents of ‘to_do’
‘to_do’ no longer exists after the command
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?
You can use the which. whereis, and locate utilities to search for files. VIM
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? command not found
10) Experiment by calling the ‘file’ utility with names of files in /usr/bin. How many different types of files can you find there? file /usr/bin/* | awk –F: ‘{print $2}’ | sort –u
9 different file types
p.221 (1,2,3,4,6)
1) Is each of the following an absolute pathname, a relative pathname, or a simple filename?
a) milk_co simple filename
b) correspond/business/milk_co relative pathname
c) /home/alex absolute pathname
d) /home/alex/literature/promo/ absolute pathname
e) .. relative pathname
f) letter.0210 simple filename
2) List the commands you can use to perform these functions. cd: and pwd
3) If 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. a=mkdir /home/max/literature/classics, mkdir ~max/literature/classics, or mkdir
~/literature/classics
b=rmdir /home/max/literature/classics, rmdir ~max/literature/classics, rmdir ~/literature
/classics, rm –r /home/max/literature classics.
4) The df utility displays all mounted

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

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

    Nt1330 Unit 4

    • 694 Words
    • 3 Pages

    Records are maintained for each product which includes product specifications, formulation, label, and special manufacturing instructions.…

    • 694 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Nt1420 Unit 6

    • 1145 Words
    • 5 Pages

    INSTRUCTIONS: 1. THERE ARE SIX (6) QUESTIONS IN THIS PAPER. 2. ANSWER FIVE (5) QUESTIONS ONLY. Question 1 Arrays are used when storing a large number of values. You are required to create an array named a and answer the following questions regarding array manipulation. a. Write a method fillRandom(int[] a, int min, int max), fill the array a with a random integer value. (Note: Math.random() returns a double in the range of 0.0 and 1.0, therefore it is cast to an integer number, between the minimum and maximum value). [6 marks] b. Write the Bubble sort method to sort array a into descending order. [10 marks] c. In the quicksort, an algorithm an element is chosen from the unsorted list. This element is called the…

    • 1145 Words
    • 5 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

    Nt1310 Unit 4

    • 699 Words
    • 3 Pages

    Using filter, I found out the minimum number of defects by batch was zero, and the maximum number of defects by batch was twenty-three. Therefore, we can say that the number of defects that are more than ten are major problems and should be flagged. I chose ten as the number to base it on because when you compare the number of defects to the batch size (500, 1000, 5000 and10000) anything less than ten is rather small and is to be expected. Conditional formatting was used to highlight all defects which were greater than ten.…

    • 699 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

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

    • 344 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Nt1330 Unit 3

    • 273 Words
    • 2 Pages

    1. Identify and explain key trends that are occurring in computer peripheral devices? How do these trends affect business uses of computers?…

    • 273 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Nt1330 Unit 3

    • 606 Words
    • 3 Pages

    What is the primary information system in this area? How is it effective in performing its role? With what systems does it interrelate in receiving data or sending data?…

    • 606 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Nt1330 Unit 2

    • 209 Words
    • 1 Page

    "If it's not documented in the medical record then it didn't happen". Documentation is required because it can be used as a form of communication in an office between physicians. Every individual record is organized to ensure that medical records are easily accessible for review and available when needed. It is an essential component of quality care…

    • 209 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    it320 assignment 1-3

    • 1779 Words
    • 8 Pages

    9. A student writes a report using a word processor, saving the report in a file called my_report. The student stores the file on his laptop hard disk drive. Later, he posts the file on a file-sharing site for a classmate to review the report. Then, he copies an updated version of the file to a flash drive to submit it to his instructor. Which of the following are some of the important features supplied by files defined by a computer OS? ()…

    • 1779 Words
    • 8 Pages
    Good Essays
  • Satisfactory Essays

    Nt1330 Unit 8

    • 490 Words
    • 2 Pages

    Colour adds dimension, meaning, and beauty to life. Addressing the physiological, psychological, aesthetic, and technical aspects of color is an important part of a designer's job. As a form of energy, colour effects our emotions, state of mind and physiology within a space. Colour can…

    • 490 Words
    • 2 Pages
    Satisfactory Essays

Related Topics