Logo

Bash-scripting-and-commands Questions Set 14:

Quiz Mode

Which command is used for comparing two files? 

1
2
3
4

Solution:

Which command is used to return to home directory.

1
2
3
4

Solution:

Which command is used to change the owner of the file.

1
2
3
4

Solution:

To extract specific columns from a file, the cut command is used.

1
2
3
4

Solution:

Which option is used by the vi editor to open a file in read-only mode?

1
2
3
4

Solution:

Which of the following operators are used for logical operations?

1
2
3
4

Solution:

Which option is used with the uniq command to select non-repeated lines?

1
2
3
4

Solution:

Which grep command option is used to match multiple patterns in a single invocation?

1
2
3
4

Solution:

Which of the following options is used to enclose the pattern when performing context addressing?

1
2
3
4

Solution:

What does the following command do?


cal 2020

1
2
3
4

Solution: