Question
1) What is bash ? a) A shell b)A command-line interface c)A program d) All of these 2) which of the following statements about the
1) What is bash?
a) A shell
b)A command-line interface
c)A program
d) All of these
2) which of the following statements about the word terminal is FALSE?
a)It referred to physical machines that connected to mainframes
b)It refers to windowed applications that contain the shell program
c)It refers to a specific command in the shell program
d)It referred to physical machines with keyboards and output devices, like video monitors
3) What does the shell command cat do?
a) Output the contents of a text file
b)Output facts about common house cats
c)Output file type categories of the contents of a directory
d)Output the file permission categories of the contents of a directory
4) True or False: You can press the Tab key to autocomplete commands and directory items in the shell
True
False
5) Consider the contents of the text file name.txt:
Mary Phil
If the following command is executed,
$ echo "Joe" 2>name.txt
What will be the contents of name.txt?
a)Mary Phil
b) Mary Phil Joe
c). Nothing, it will result in an empty file
d). The command cannot be executed because it contains errors
6) Which of the following programming features is NOT a part of the shell?
a)Functions
b)Arithmetic operations
c) Graphical user interfaces
d) Classes
7) To run a shell script, which of the following file permissions are required?
a) Read
b)Write
c)Execute
d)All of these
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started