⟩ 'kill %s' command will a) terminate the job whose command line starts with s b) terminate the last job c) terminate the first job d) none of the mentioned
a) terminate the job whose command line starts with s
a) terminate the job whose command line starts with s
In linux kernel 2.4, we can have a) 256 character drivers only b) 256 block drivers only c) 256 character drivers and 256 block drivers at the same time d) none of the mentioned
The kernel identifies the driver with its a) module b) major number c) device file d) none of the mentioned
The major number identifies the _____ associated with the device. a) driver b) protocol c) port d) none of the mentioned
The command "sed -n '/google/p' old.txt" will a) print the lines containing the word 'google' in file old.txt b) delete the lines containing the word 'google' in file old.txt c) will generate an error message d) none of the mentioned
Which option is used by sed to specify that the following string is an instruction or set of instructions? a) -n b) -e c) -f d) -i
Which command is used to replace word 'cat' (already present in the file) with 'mouse' at all places in a file 'old.txt' and save the result in a new file 'new.txt'? a) sed 's/cat/mouce/g' old.txt > new.txt b) sed 's/cat/mouse' old.txt new.txt c) sed '/s/cat/mouse/g' old.txt new.txt d) sed '/s/cat/mouse' old.txt > new.txt
Which sed command deletes the specified address range a) [address range]/s b) [address range]/p c) [address range]/d d) [address range]/y
If no file is specified in sed command then a) sed command will not work b) sed reads from standard input c) sed reads the data already present in buffer d) it is necessary to provide the filename
Sed maintains the hold space (a buffer) to a) copy the each line of input b) save the data for later retrieval c) both (a) and (b) d) none of the mentioned
What is sed? a) a non-interactive stream editor b) an IDE c) a hex editor d) none of the mentioned