Logo

Bash-scripting-and-commands Questions Set 7:

Quiz Mode

Which shell operator is used to run jobs in the background?

1
2
3
4

Solution:

Which command is used to search for a pattern in one or more files?

1
2
3
4

Solution:

Which of the following commands is used for making scripts interactive?

1
2
3
4

Solution:

Which of the following files will not be listed using the command ls bat0[4-7]?

1
2
3
4

Solution:

Given:

a = 2

b = 4

Let c = a raised to the power of b

What is the value of c?

1
2
3
4

Solution:

The command cd .. is used to move up one level in the file hierarchy.

1
2
3
4

Solution:

How can we specify more than one command in the command line at the same time?

1
2
3
4

Solution:

What are Commands?

1
2
3
4

Solution:

What does the sl command do?

1
2
3
4

Solution:

How does the -t option in the ls command sort the files?

1
2
3
4

Solution: