Logo

Bash-scripting-and-commands Questions Set 22:

Quiz Mode

Which Linux command is used to print a file?

1
2
3
4

Solution:

To check if the file exists and is executable we have to use ___ option with test.

1
2
3
4

Solution:

 Which of the following option is used for checking if the file is readable or not?

1
2
3
4

Solution:

Which command allows you to schedule jobs for later execution, as soon as the system load permits?

1
2
3
4

Solution:

To perform decision making based on the fulfillment of certain criteria, which programming construct is used?

1
2
3
4

Solution:

Which of the following expressions is a correct wildcard pattern if we want an expression in which the last character is not numeric?

1
2
3
4

Solution:

What command is used to search for the word "director" in the file emp.lst?

1
2
3
4

Solution:

What is the output of the command ls dir*?

1
2
3
4

Solution:

The output of the command ls dir* is ___

1
2
3
4

Solution:

In the following code snippet:

var1 = 10

$var1 = 20

echo $var1

1
2
3
4

Solution: