1.
What happens after issuing the command vi without any additional parameters?
2.
Which of the following command sets the Bash variable named TEST with the content FOO?
3.
Which variable defines the directories in which a Bash shell searches for executable commands?
4.
Which of the following commands determines the type of a file by using a definition database file which contains information about all common file types?
5.
When running the command
sed -e "s/a/b/" /tmp/file >/tmp/file
While /tmp/file contains data, why is /tmp/file empty afterwards?
6.
When given the following command line.
echo "foo bar" | tee bar | cat
Which of the following output is created?
7.
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?
8.
Which of the following commands changes the ownership of file.txt to the user dan and the group staff?
9.
Which of the following commands makes /bin/foo executable by everyone but writable only by its owner?
10.
Which of the following commands can be used to search for the executable file foo when it has been placed in a directory not included in $PATH?