SIMULATION
Which command is used in a Linux environment to create a new directory? (Specify ONLY the command without any path or parameters.)
SIMULATION
What command changes the nice level of a running process? (Specify ONLY the command without any path or parameters)
What is the default nice level when a process is started using the nice command?
A. -10
B. 10
C. 20
D. 0
Which of the following commands moves and resumes in the background the last stopped shell job?
A. run
B. bg
C. fg
D. back
From a Bash shell, which of the following commands directly executes the instruction from the file /usr/local/bin/runme.sh without starting a subshell? (Please select TWO answers.)
A. source /usr/local/bin/runme.sh
B. . /usr/local/bin/runme.sh
C. /bin/bash /usr/local/bin/runme.sh
D. /usr/local/bin/runme.sh
E. run /usr/local/bin/runme.sh
Regarding the command: nice -5 /usr/bin/prog
Which of the following statements is correct?
A. /usr/bin/prog is executed with a nice level of -5.
B. /usr/bin/prog is executed with a nice level of 5.
C. /usr/bin/prog is executed with a priority of -5.
D. /usr/bin/prog is executed with a priority of 5.
Which character, added to the end of a command, runs that command in the background as a child process of the current shell?
A. !
B. +
C. and
D. %
E. #
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?
A. foo and bar would both be removed.
B. foo would be removed while bar would remain accessible.
C. foo would be removed. bar would still exist but would be unusable.
D. Both foo and bar would remain accessible.
E. The user is prompted whether bar should be removed, too.
Which of the following command lines creates or, in case it already exists, overwrites a file called data with the output of ls?
A. ls 3> data
B. ls >and data
C. ls > data
D. ls >> data
When planning a partition scheme, which of the following directories could be considered for separate partitions? (Choose three.)
A. /etc
B. /home
C. /var
D. /lib
E. /opt