We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cfbf62 commit c702debCopy full SHA for c702deb
Guide for Linux/WriteFirstScript.md
@@ -0,0 +1,12 @@
1
+#**How to write your first bash script**
2
+ *open a text editor and write the following code
3
+ > #!/bin/bash
4
+ echo "Hello, World"
5
+ *save the file with .sh extension(e.g. firstscript.sh)
6
+ *open terminal and go to the directory where you have saved the file firstscript.sh
7
+ 1.change permission of firstscript.sh
8
+ > sudo chmod +x firstscript.sh
9
+ 2.Run your script using this command
10
+ >./firstscript.sh
11
+
12
+ have fun!!!
0 commit comments