The vi command to save lines 1-5 of the text in another file is
a. :save 5 lines
b. :s 1-5 filename
c. :1,5 w filename
d. :w 5 filename
e. :!w 1 5 filename
c. :1,5 w filename
You might also like to view...
If the algorithm is good the resulting sequences will pass many reasonable tests of randomness. These numbers are referred to as ___________ numbers.
Fill in the blank(s) with the appropriate word(s).
Distinguish between multiprogramming and multiprocessing.What were the key moti- vations for the development of each?
What will be an ideal response?
Explain why UDDI can be described as being both a name service and a directory service, mentioning the types of enquiries that can be made. The second ‘D’ in the name UDDI refers to ‘discovery’ – is UDDI really a discovery service?
What will be an ideal response?
One of the below programs that when called like this (with the underscore representing a digit from 1 to 4) generates this output:
``` >>> dup_("alphabet") ’_alphabetalphabetalphabetalphabetalphabetalphabetalphabetalphabet’ ```