{"id":78655,"date":"2026-05-20T01:49:56","date_gmt":"2026-05-20T01:49:56","guid":{"rendered":"http:\/\/bangla.sitestree.com\/?p=78655"},"modified":"2026-05-20T01:49:57","modified_gmt":"2026-05-20T01:49:57","slug":"30-mixed-quiz-questions-on-linux-command-line-skills","status":"publish","type":"post","link":"http:\/\/bangla.sitestree.com\/?p=78655","title":{"rendered":"30 mixed quiz questions on Linux Command Line Skills"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>30 mixed quiz questions<\/strong> on <strong>Linux Command Line Skills<\/strong>. They include <strong>TF, MCQ, Multi-select, Matching, Ordering, Fill in the Blank with Choices, and Short Answer<\/strong> questions, testing concept knowledge, hands-on command skills, analysis, and higher-order thinking.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Quiz: Command Line Skills<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>True\/False Questions<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>1. True\/False<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The command line interface is slower than the GUI and provides less control over the operating system.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Answer:<\/strong> False<br><strong>Explanation:<\/strong> The CLI is powerful, fast, and gives users strong control over the system.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>2. True\/False<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A shell is an application that allows users to access operating system services by entering commands.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Answer:<\/strong> True<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>3. True\/False<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Bash is one of the most commonly used shells in Linux.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Answer:<\/strong> True<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>4. True\/False<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Local variables remain available even after the terminal window or shell is closed.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Answer:<\/strong> False<br><strong>Explanation:<\/strong> Local variables exist only in the current shell session.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>5. True\/False<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The PATH environment variable helps the shell find executable files for commands.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Answer:<\/strong> True<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Multiple Choice Questions<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>6. Multiple Choice<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Which of the following best describes the CLI?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A. A graphical interface that uses icons and menus<br>B. A text-based interface where users type commands<br>C. A file manager only<br>D. A web browser interface<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Answer:<\/strong> B<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>7. Multiple Choice<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In the prompt below, what does ~ usually represent?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">ivanovn@atlas:~$<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A. The root directory<br>B. The current user\u2019s home directory<br>C. The system name<br>D. The command history file<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Answer:<\/strong> B<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>8. Multiple Choice<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In the command below, what is \/home?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">ls \/home<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A. Command<br>B. Option<br>C. Argument<br>D. Variable<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Answer:<\/strong> C<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>9. Multiple Choice<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In the command below, what is -l?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">ls -l<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A. Argument<br>B. Option<br>C. Shell name<br>D. Environment variable<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Answer:<\/strong> B<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>10. Multiple Choice<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Which command shows the list of previously typed commands?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A. which<br>B. type<br>C. history<br>D. alias<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Answer:<\/strong> C<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>11. Multiple Choice<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Which command shows the executable file that will run when a command is typed?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A. which<br>B. unset<br>C. export<br>D. history<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Answer:<\/strong> A<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Example:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">which ls<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>12. Multiple Choice<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Which command can identify whether a command is internal, external, alias, or function?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A. pwd<br>B. type<br>C. env<br>D. echo<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Answer:<\/strong> B<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Multi-Select Questions<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>13. Multi-Select<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Which of the following are popular Bash shell features?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Select all that apply.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A. Command history<br>B. Inline editing<br>C. Scripting<br>D. Aliases<br>E. Variables<br>F. Automatic hardware replacement<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Answers:<\/strong> A, B, C, D, E<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>14. Multi-Select<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Which of the following are valid parts of a typical Linux command format?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Select all that apply.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A. Command<br>B. Options<br>C. Arguments<br>D. Wallpaper<br>E. Keyboard layout only<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Answers:<\/strong> A, B, C<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">General format:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">command [options]&#8230; [arguments]&#8230;<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>15. Multi-Select<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Which commands are examples of shell built-in\/internal commands mentioned in the module?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Select all that apply.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A. cd<br>B. echo<br>C. \/bin\/ls<br>D. \/usr\/bin\/cal<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Answers:<\/strong> A, B<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>16. Multi-Select<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Which statements about environment variables are correct?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Select all that apply.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A. They help control the Linux runtime environment<br>B. They are also called global variables<br>C. Examples include PATH, HOME, and HISTSIZE<br>D. They can never be displayed<br>E. The env command can list them<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Answers:<\/strong> A, B, C, E<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>17. Multi-Select<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Which commands are related to aliases?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Select all that apply.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A. alias<br>B. unalias<br>C. type<br>D. history<br>E. format<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Answers:<\/strong> A, B, C<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Explanation:<\/strong><br>alias displays or creates aliases.<br>unalias removes aliases.<br>type can identify whether a command is an alias.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Fill in the Blank with Choices<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>18. Fill in the Blank<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A command is a program that performs an __________ on the computer.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Choices:<br>A. icon<br>B. action<br>C. extension<br>D. theme<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Answer:<\/strong> B. action<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>19. Fill in the Blank<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The most commonly used shell in Linux is __________.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Choices:<br>A. Bash<br>B. Finder<br>C. Explorer<br>D. Android<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Answer:<\/strong> A. Bash<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>20. Fill in the Blank<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The command __________ is used to turn a local variable into an environment variable.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Choices:<br>A. unset<br>B. export<br>C. which<br>D. history<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Answer:<\/strong> B. export<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>21. Fill in the Blank<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The command __________ removes a variable.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Choices:<br>A. unset<br>B. alias<br>C. which<br>D. type<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Answer:<\/strong> A. unset<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Matching Questions<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>22. Matching<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Match each term with its correct description.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><td><strong>Term<\/strong><\/td><td><strong>Description<\/strong><\/td><\/tr><\/thead><tbody><tr><td>1. CLI<\/td><td>A. Program that processes commands<\/td><\/tr><tr><td>2. Terminal<\/td><td>B. Text-based interface for typing commands<\/td><\/tr><tr><td>3. Shell<\/td><td>C. Program that runs a shell<\/td><\/tr><tr><td>4. Bash<\/td><td>D. Common Linux shell<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Answer:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><td><strong>Term<\/strong><\/td><td><strong>Correct Description<\/strong><\/td><\/tr><\/thead><tbody><tr><td>CLI<\/td><td>B<\/td><\/tr><tr><td>Terminal<\/td><td>C<\/td><\/tr><tr><td>Shell<\/td><td>A<\/td><\/tr><tr><td>Bash<\/td><td>D<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>23. Matching<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Match each command with its purpose.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><td><strong>Command<\/strong><\/td><td><strong>Purpose<\/strong><\/td><\/tr><\/thead><tbody><tr><td>1. history<\/td><td>A. Shows the path of an executable command<\/td><\/tr><tr><td>2. which<\/td><td>B. Shows command history<\/td><\/tr><tr><td>3. env<\/td><td>C. Lists environment variables<\/td><\/tr><tr><td>4. unset<\/td><td>D. Removes a variable<\/td><\/tr><tr><td>5. export<\/td><td>E. Converts a local variable into an environment variable<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Answer:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><td><strong>Command<\/strong><\/td><td><strong>Correct Purpose<\/strong><\/td><\/tr><\/thead><tbody><tr><td>history<\/td><td>B<\/td><\/tr><tr><td>which<\/td><td>A<\/td><\/tr><tr><td>env<\/td><td>C<\/td><\/tr><tr><td>unset<\/td><td>D<\/td><\/tr><tr><td>export<\/td><td>E<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>24. Matching<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Match each command type with its correct meaning.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><td><strong>Command Type<\/strong><\/td><td><strong>Meaning<\/strong><\/td><\/tr><\/thead><tbody><tr><td>1. Internal command<\/td><td>A. Short name for a longer command<\/td><\/tr><tr><td>2. External command<\/td><td>B. Command built into the shell<\/td><\/tr><tr><td>3. Alias<\/td><td>C. Command stored as an executable file<\/td><\/tr><tr><td>4. Function<\/td><td>D. Structure used to create or change command behavior<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Answer:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><td><strong>Command Type<\/strong><\/td><td><strong>Correct Meaning<\/strong><\/td><\/tr><\/thead><tbody><tr><td>Internal command<\/td><td>B<\/td><\/tr><tr><td>External command<\/td><td>C<\/td><\/tr><tr><td>Alias<\/td><td>A<\/td><\/tr><tr><td>Function<\/td><td>D<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Ordering Questions<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>25. Ordering<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Put the steps in the correct order to create and display a local variable.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A. Display the value using echo $var<br>B. Assign the value using var=Hello<br>C. Open or use a shell<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Correct Order:<\/strong><\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>C<\/li>\n\n\n\n<li>B<\/li>\n\n\n\n<li>A<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Final Commands:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">var=Hello<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">echo $var<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>26. Ordering<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Put the steps in the correct order to make a local variable available as an environment variable and confirm it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A. Use env | grep var<br>B. Create the variable using var=Hello<br>C. Export the variable using export var<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Correct Order:<\/strong><\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>B<\/li>\n\n\n\n<li>C<\/li>\n\n\n\n<li>A<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Final Commands:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">var=Hello<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">export var<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">env | grep var<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>27. Ordering<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Put the steps in the correct order to create, test, and remove an alias.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A. Run the alias name<br>B. Create the alias<br>C. Remove the alias using unalias<br>D. Check the alias using type<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Correct Order:<\/strong><\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>B<\/li>\n\n\n\n<li>D<\/li>\n\n\n\n<li>A<\/li>\n\n\n\n<li>C<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Example:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">alias mydate=&#8217;cal 7 2000&#8242;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">type mydate<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">mydate<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">unalias mydate<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Short Answer Questions<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>28. Short Answer<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Explain the difference between an option and an argument. Give one example command.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Sample Answer:<\/strong><br>An <strong>option<\/strong> modifies the behavior of a command. An <strong>argument<\/strong> gives the command additional information, such as a file or directory name.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Example:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">ls -l \/home<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this command, -l is the option and \/home is the argument.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>29. Short Answer \/ Hands-on<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Write the command to create a local variable named course with the value Linux, then display the value.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Answer:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">course=Linux<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">echo $course<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>30. Higher-Order Short Answer<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A student types cal, but the shell returns:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">command not found<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Using your knowledge of external commands and the PATH variable, explain two possible reasons this happened and one command that can help investigate the problem.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Sample Answer:<\/strong><br>One possible reason is that the cal program is not installed. Another possible reason is that the executable file exists, but its directory is not listed in the PATH variable. The shell searches the directories listed in PATH to find external commands.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A useful command is:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">which cal<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The student can also check the PATH variable using:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">echo $PATH<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">REF: AI Tools<\/p>\n","protected":false},"excerpt":{"rendered":"<p>30 mixed quiz questions on Linux Command Line Skills. They include TF, MCQ, Multi-select, Matching, Ordering, Fill in the Blank with Choices, and Short Answer questions, testing concept knowledge, hands-on command skills, analysis, and higher-order thinking. Quiz: Command Line Skills True\/False Questions 1. True\/False The command line interface is slower than the GUI and provides &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"http:\/\/bangla.sitestree.com\/?p=78655\">Continue reading<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1976],"tags":[],"class_list":["post-78655","post","type-post","status-publish","format-standard","hentry","category-anything-linux","item-wrap"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":78657,"url":"http:\/\/bangla.sitestree.com\/?p=78657","url_meta":{"origin":78655,"position":0},"title":"20 mixed quiz questions on Quoting and Control Statements.","author":"Sayed","date":"May 20, 2026","format":false,"excerpt":"20 mixed quiz questions on Quoting and Control Statements. Quiz: Quoting and Control Statements True\/False Questions 1. True\/False Double quotes prevent all shell interpretation, including variable substitution and command substitution. Answer: FalseExplanation: Double quotes prevent some special character interpretation, but they still allow variable substitution and command substitution. 2. True\/False\u2026","rel":"","context":"In &quot;Anything Linux&quot;","block_context":{"text":"Anything Linux","link":"http:\/\/bangla.sitestree.com\/?cat=1976"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":78653,"url":"http:\/\/bangla.sitestree.com\/?p=78653","url_meta":{"origin":78655,"position":1},"title":"20 mixed quiz questions Intro to Linux","author":"Sayed","date":"May 20, 2026","format":false,"excerpt":"Below are 20 mixed quiz questions Intro to Linux. They include TF, MCQ, Multi-select, Matching, Ordering, Fill in the Blank, and Short Answer questions, with concept, hands-on, analytical, and higher-order learning coverage. Quiz: Introduction to Linux 1. True\/False Linux is only used on desktop computers. Answer: FalseExplanation: Linux is used\u2026","rel":"","context":"In &quot;Anything Linux&quot;","block_context":{"text":"Anything Linux","link":"http:\/\/bangla.sitestree.com\/?cat=1976"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":76443,"url":"http:\/\/bangla.sitestree.com\/?p=76443","url_meta":{"origin":78655,"position":2},"title":"Linux: Disk Space, Memory Space, Running Processes","author":"Sayed","date":"December 8, 2024","format":false,"excerpt":"df command \u2013 Shows the amount of disk space used and available on Linux file systems. du command \u2013 Display the amount of disk space used by the specified files and for each subdirectory. free command top or htop command vmstat command dmidecode command \/proc\/meminfo file Linux commands show all\u2026","rel":"","context":"In &quot;Root&quot;","block_context":{"text":"Root","link":"http:\/\/bangla.sitestree.com\/?cat=1"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":14839,"url":"http:\/\/bangla.sitestree.com\/?p=14839","url_meta":{"origin":78655,"position":3},"title":"Centos: yum : centos-web-control-panel: install magento 2:","author":"Sayed","date":"June 25, 2019","format":false,"excerpt":"---- \"yum upgrade and yum update will perform the same function that update to the latest current version of package. But the difference is Upgrade will delete obsolete packages, while update will preserve them.Jul 3, 2014\" https:\/\/unix.stackexchange.com\/questions\/55777\/in-centos-what-is-the-difference-between-yum-update-and-yum-upgrade --- 3.3. UPDATING PACKAGES FROM THE COMMAND LINE WITH YUM https:\/\/access.redhat.com\/documentation\/en-us\/red_hat_network_satellite\/5.5\/html\/reference_guide\/sect-reference_guide-package_updater-updating_packages_from_the_command_line_with_yum --- yum\u2026","rel":"","context":"In &quot;Magento 2&quot;","block_context":{"text":"Magento 2","link":"http:\/\/bangla.sitestree.com\/?cat=1907"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":14031,"url":"http:\/\/bangla.sitestree.com\/?p=14031","url_meta":{"origin":78655,"position":4},"title":"Network Interface, Network Clients related Linux\/Redhat\/CentOS commands","author":"Sayed","date":"December 24, 2017","format":false,"excerpt":"echo \"Dec 24th, 2017\" 532 echo \"Basic Networking in Linux\" 533 hostname 534 uname -a 535 uname -n 536 cat \/etc\/hostname 537 nmcli general hostname 538 changing hostname temporarily 539 hostname server10.example.com 540 for permanent change 541 hostnamectl set-hostname server100.example.com 542 or change \/etc\/hostname file 543 vim \/etc\/hostname 544 restart\u2026","rel":"","context":"In &quot;\u09b2\u09bf\u09a8\u09be\u0995\u09cd\u09b8 \u098f\u09ac\u0982 \u0989\u09a8\u09bf\u0995\u09cd\u09b8 \u0964 Linux and Unix&quot;","block_context":{"text":"\u09b2\u09bf\u09a8\u09be\u0995\u09cd\u09b8 \u098f\u09ac\u0982 \u0989\u09a8\u09bf\u0995\u09cd\u09b8 \u0964 Linux and Unix","link":"http:\/\/bangla.sitestree.com\/?cat=1231"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":69245,"url":"http:\/\/bangla.sitestree.com\/?p=69245","url_meta":{"origin":78655,"position":5},"title":"Database Administration : Random #39","author":"Author-Check- Article-or-Video","date":"August 15, 2021","format":false,"excerpt":"Vacuum:vacuum is a useful command to maintain PostGreSql database integrity. Also, it permanently removes deleted database records (by default PostGreSql does not delete permanently). It also rearranges page tables, segments for better performance. vacuum should be run regularly for optimized performance. You can also automate the execution. Syntax: vacuum [FULL|Analyze|Verbose|table\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/78655","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=78655"}],"version-history":[{"count":1,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/78655\/revisions"}],"predecessor-version":[{"id":78656,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/78655\/revisions\/78656"}],"wp:attachment":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=78655"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=78655"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=78655"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}