Creating and running batch files in Linux
From Logic Wiki
Revision as of 10:56, 20 August 2020 by AliIybar (Talk | contribs) (Created page with "Category:Linux Create the file: vi runme.sh Add code into file: #!/bin/bash echo "Hello World!" Make file executable: chmod +x runme.sh Run the file from terminal:...")
Create the file:
vi runme.sh
Add code into file:
#!/bin/bash echo "Hello World!"
Make file executable:
chmod +x runme.sh
Run the file from terminal:
./runme.sh