Logo

Bash-scripting-and-commands Questions Set 31:

Quiz Mode

Which command is used to display the beginning of a file?

1
2
3
4

Solution:

How can one print string data into the terminal in Linux?

1
2
3
4

Solution:

Which command is used to search for files in the Linux terminal?

1
2
3
4

Solution:

Which command is used to set environment variables in Linux?

1
2
3
4

Solution:

Which command is used to display the differences between files?

1
2
3
4

Solution:

Option used in the grep command to ignore the case in pattern searching?

1
2
3
4

Solution:

Which option is used with the pr command to print output in multiple columns?

1
2
3
4

Solution:

A process is said to be in what state when it starts its execution?

1
2
3
4

Solution:

What is the purpose of the "groups" command in the Linux terminal?

1
2
3
4

Solution:

What will the output of the following command?

$ ps -t /dev/console

1
2
3
4

Solution: