What does Bash do when it performs history expansion?
it reruns an old command line which it retrieves from the history list
What does Bash do when it performs alias substitution?
is substitutes the value of an alias for the name of the alias when it appears on the command line
Write the command you would use to create the files foo1.txt to foo5.txt
using brace expansion and the
What does Bash do when it performs tilde (~) expansion?
replaces ~ with the absolute address of your home directory or replaces
~UNIX_USERNAME with the absolute address of the home directory of UNIX_USERNAME
What does Bash do when it performs parameter and variable expansion?
substitutes the value of a variable or a parameter for the
name of the variable or parameter when preceded by a $
What does Bash do when it performs arithmetic expansion?
treats the digits inside double parentheses as numbers, performs arithmetic operations
on them and substitutes the result of that calculation for the expansion expression
What does Bash do when it performs command substitution?
runs the commands inside the parentheses in a subshell and substitutes the output from
those commands for the substitution expression
What would you write at the command line to define the alias ll whose value was ls -l ?
alias ll='ls -l'
Can an alias be mode global?
Can a function be made global?