Last login: Wed Mar 29 10:24:23 on ttys000 D-69-91-139-113:~ emullen$ ssh emullen@klaatu.cs.washington.edu emullen@klaatu.cs.washington.edu's password: Last login: Wed Mar 29 10:24:31 2017 from goedel-1.dyn.cs.washington.edu [emullen@klaatu ~]$ ls test.sh [emullen@klaatu ~]$ bash [emullen@klaatu ~]$ ls test.sh [emullen@klaatu ~]$ PATH=/ [emullen@klaatu ~]$ ls bash: ls: command not found [emullen@klaatu ~]$ exit exit [emullen@klaatu ~]$ echo $PATH /usr/kerberos/sbin:/usr/kerberos/bin:/opt/rh/devtoolset-4/root/usr/bin:/opt/rh/rh-java-common/root/usr/bin:/opt/rh/rh-maven33/root/usr/bin:/opt/rh/sclo-git25/root/usr/bin:/opt/rh/sclo-subversion19/root/usr/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/homes/emullen/.local/bin:/homes/emullen/bin [emullen@klaatu ~]$ bash [emullen@klaatu ~]$ ps PID TTY TIME CMD 21317 pts/0 00:00:00 bash 21527 pts/0 00:00:00 bash 21551 pts/0 00:00:00 ps [emullen@klaatu ~]$ exit exit [emullen@klaatu ~]$ ps PID TTY TIME CMD 21317 pts/0 00:00:00 bash 21561 pts/0 00:00:00 ps [emullen@klaatu ~]$ ls test.sh [emullen@klaatu ~]$ cat test.sh echo $1 [emullen@klaatu ~]$ chmod +x test.sh [emullen@klaatu ~]$ ./test.sh hello hello [emullen@klaatu ~]$ test.sh -bash: test.sh: command not found [emullen@klaatu ~]$ ./test.sh * test.sh [emullen@klaatu ~]$ ./test.sh "*" test.sh [emullen@klaatu ~]$ ./test.sh '*' test.sh [emullen@klaatu ~]$ ./test.sh \* test.sh [emullen@klaatu ~]$ ./test.sh '\*' \* [emullen@klaatu ~]$ cat test.sh echo $1 [emullen@klaatu ~]$ ./test.sh '"*"' "*" [emullen@klaatu ~]$ history ...Elided because I forgot to clear it... 185 ls 186 bash 187 echo $PATH 188 bash 189 ps 190 ls 191 cat test.sh 192 chmod +x test.sh 193 ./test.sh hello 194 test.sh 195 ./test.sh * 196 ./test.sh "*" 197 ./test.sh '*' 198 ./test.sh \* 199 ./test.sh '\*' 200 cat test.sh 201 ./test.sh '"*"' 202 history [emullen@klaatu ~]$ !! history ...Elided because I forgot to clear it... 185 ls 186 bash 187 echo $PATH 188 bash 189 ps 190 ls 191 cat test.sh 192 chmod +x test.sh 193 ./test.sh hello 194 test.sh 195 ./test.sh * 196 ./test.sh "*" 197 ./test.sh '*' 198 ./test.sh \* 199 ./test.sh '\*' 200 cat test.sh 201 ./test.sh '"*"' 202 history [emullen@klaatu ~]$ !./ ./test.sh '"*"' "*" [emullen@klaatu ~]$ alias best_editor=emacs [emullen@klaatu ~]$ best_editor test.sh [emullen@klaatu ~]$ ./test.sh "*" * [emullen@klaatu ~]$ PS1=raspberry raspberryls strawberry test.sh test.sh~ raspberryPS1=something_else something_elsecat test.sh echo "$1"