Lesson 13: Working with Bash Scripts Flashcards
1
Q
Where are the global login scripts set?
A
/etc
/profile -
/profile.d is a subdirectory, and shell script
2
Q
Where can bash scripts be found for a single user?
A
.profile script run when user logins
.bash_profile script run when bash is ran
.bash_logouts
.bashrc configurations for bash sessions
3
Q
How do you call a variable?
A
use $
4
Q
How do you make a variable global?
A
export
set -o allexport will set all varibles global