Logo

Bash-scripting-and-commands Questions Set 20:

Quiz Mode

Which special shell parameter stores the name of the script?

1
2
3
4

Solution:

Option used with ls to display attributes of the directory?

1
2
3
4

Solution:

Which option is used for the AND operation in the 'test' command?

1
2
3
4

Solution:

Which command is used for setting limits on file size?

1
2
3
4

Solution:

Which option is used to suppress the default behavior of the 'p' command in sed?

1
2
3
4

Solution:

The command cp file_01 . copies the file named file_01 in the _____ directory.

1
2
3
4

Solution:

Apart from displaying file contents, the cat command is also used for _____ files.

1
2
3
4

Solution:

What is the use of curl command in linux.

1
2
3
4

Solution:

What does the following command do?

$ mkdir dir dir/dir_01 dir/dir_01/dir_02

1
2
3
4

Solution:

Which of the following is the correct order of the collating sequence used by the ls command to list files?

1
2
3
4

Solution: