Advertisement
idotherest34

script from L+ certification

Nov 29th, 2021
286
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. # User specific environment and startup programs
  2. echo -e "Would you like a hello prompt?-->(y/n) \c"
  3. read ANSWER
  4. if [ $ANSWER = "y" -o $ANSWER="Y" ]
  5. then
  6. PS1="Hello There"
  7. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement