Question 116
Given a file called birthdays containing lines like:
YYYY-MM-DD Name
1983-06-02 Tim
1995-12-17 Sue
Which command would you use to output the lines belonging to all people listed whose birthday is in May or June?
YYYY-MM-DD Name
1983-06-02 Tim
1995-12-17 Sue
Which command would you use to output the lines belonging to all people listed whose birthday is in May or June?
Question 117
The script, script.sh, consists of the following lines:
#!/bin/bash
echo $2 $1
Which output will appear if the command, ./script.sh test1 test2, is entered?
#!/bin/bash
echo $2 $1
Which output will appear if the command, ./script.sh test1 test2, is entered?
Question 118
After successfully creating a hard link called bar to the ordinary file foo, foo is deleted from the filesystem.
Which of the following describes the resulting situation?
Which of the following describes the resulting situation?
Question 119
Which of the following commands redirects the output of cmd to the file foo.txt, in which an existing file is overwritten?
Question 120
Which function key is used to start Safe Mode in Windows NT?
