Consider the following file legal file:
disclosure
non - disclosure
non - disclosure
Which line or lines in the file does the following command match? Note the space after the dash
within the brackets.
grep "non [ - ] disclosure" legalfile
Question No 2
What does S l represent in the following lines from a Bourne shell script:
#! /bin/sh
cp SI 52
Question No 3
Which of the following excerpts is a valid if condition in the Bourne shell?
A.
B.
C.
D.
Question No 4
A file called mybackup is found while investigating a USB pen drive. Which utility can be used to
determine the kind of data that is contained in that file?
Question No 5
Which BSD command lists, adds, or deletes swap devices?