Logo

Bash-scripting-and-commands Questions Set 30:

Quiz Mode

Which operators are used for logical execution?

1
2
3
4

Solution:

Which command is used to list the attributes of a file?

1
2
3
4

Solution:

What command is used to remove an empty directory?

1
2
3
4

Solution:

Which command is used to get the current working directory in linux.

1
2
3
4

Solution:

Which of the following key options is used with tar to create an archive? 

1
2
3
4

Solution:

Which option of the ps command provides a detailed listing of process attributes?

1
2
3
4

Solution:

Which of the following pattern is used for extracting a substring using expr?

1
2
3
4

Solution:

Which of the following symbols are used to match a pattern at the beginning or end of a line?

1
2
3
4

Solution:

What does 'man' command stand for in the Linux environment?

1
2
3
4

Solution:

You have created a report file in Linux. Unfortunately, your manager's name was entered incorrectly. How can you replace it using the terminal?

1
2
3
4

Solution: