-
What does the ? meta-character match?
any single character
-
What does the * meta-character match?
zero or more occurrences of any character
-
What do the [ ] meta-characters match?
a single instance of any character between the brackets
-
What command would you use to see all files in your current directory whose name began with "foo", followed by another
letter, followed by ".txt"?
ls foo?.txt
-
What do you call a command whose code is part of the shell and does not exist as an
executable file on disc?
a built-in
-
Name the three ways a shell can be started.
login shell, interactive non-login shell, non-interactive shell
-
What is the name of the startup file that we will be using in this course, which contains commands that are run when you
first log in?
.bash_profile
-
Where are the startup files located?
in your home directory
-
What command would you use the find out more about a built-in command?
help
-
Are the commands in .bash_profile run when you create a subshell using
bash
?
no