~/ learn/ comp-325/ cards/ Running a script written for another shell
1 of 10

Name the interpreter on the command line — no execute bit needed

Name the interpreter on the command line — no execute bit needed

Answer

sh backup /home/you/notes

sh is an ordinary command here and `backup` is its argument, so sh only needs read permission on the file. The quickest way to test a script someone sent you.

S&K 3e ch10 §10.4; ch12 §12.2

space flip · ← → navigate · esc to exit
NORMAL ~/memra/library/596aa872-5e9d-4cf1-aa13-6cef3633f7dc/flashcard utf-8 LF