Home > Linux > Quizzes > Linux Basics Practice Test: Linux Bash Shell
Linux Basics Practice Test: Linux Bash Shell
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 72% Most missed: “The ‘logout’ built in command is used to”
Quiz on Linux Bash Arithmetic Expressions, Bash Command History & Job Control, and Linux Bash Built-in Commands. Bash, or Bourne-Again Shell, is a Unix shell and command language interpreter. It is the default shell for most Linux distributions. Bash can be used to automate tasks and interact with the Linux file system. Here are some basic Bash commands: ls: - Lists the contents of the current directory. cd: - Changes the current directory. pwd: - Prints the working directory. mkdir: - Creates a new directory. rmdir: - Removes an empty directory. touch: - Creates a new file. cat: -... Show more
Linux Basics Practice Test: Linux Bash Shell
Time left 00:00
25 Questions

1. The command ‘compgen -c’ shows
2. Ctrl-Z key combination
3. Which one of the following is not correct about job control in bash shell?
4. ‘stty tostop’ command will
5. Which option of the kill command sends the given signal name to the specified process?
6. Which command runs the shell built-in command ‘command’ with the given argument?
7. If a and b are 2 variables then the meaning of a<<=b is
8. Which command prints the accumulated user and system times for processes run from the shell?
9. Which command is used to reexecute the previous command?
10. The ‘logout’ built in command is used to
11. The ‘mapfile’ command
12. The command ‘hash’
13. Which command executes ‘command’ in place of the current process instead of creating a new process?
14. Which expression use the value of the enclosed arithmetic expression?
15. Which command identifies the resource of a command?
16. The command ‘ulimit’
17. Which command puts a script to sleep untill a signal is recieved?
18. Which option of the command ‘cd’ use the actual filesystem path for cd.. and the value of pwd?
19. What is job number?
20. Which command prints the directory stack?
21. Which command sets up shorthand for command or command line?
22. Which one of the following is not a valid operator in bash shell?
23. The command ‘enable -n ‘
24. Which one of the following is bitwise ‘exclusive or’ operator?
25. Which command brings a background job into the foreground?