From 9d39c5c3841f459bde91b92eea21b2daa7cdc06e Mon Sep 17 00:00:00 2001 From: Jeremy Nofs Date: Thu, 14 Feb 2019 15:45:43 -0500 Subject: [PATCH] Remove reference to using sudo for make files (#29674) "For make file executable you should call this command under sudo chmod +x "filename"." Doesn't belong in this overview of bash scripts. --- guide/english/bash/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guide/english/bash/index.md b/guide/english/bash/index.md index 4a257aba08..86a83476a7 100644 --- a/guide/english/bash/index.md +++ b/guide/english/bash/index.md @@ -46,8 +46,8 @@ That is because it is a convention to let the interactive shell know what kind o Though it is only executed if you run your script as an executable. For example, when you type `./scriptname.extension`, it will look at the top line to find out the interpreter, whereas, running the script as `bash scriptname.sh`, the first line is ignored. -For example, you can use this method to run the script as the root user: -To make the file executable call this command under sudo chmod +x "filename". +Then you could run the script like so: + ``` zach@marigold:~$ ./myBashScript.sh Hello world!