Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

hello world bash

#!/bin/bash 
echo "Hello world!"
Comment

hello world shell script

#!/bin/sh
# This is a comment!
echo Hello World        # This is a comment, too!
Comment

Print hello world in shell script

#!/bin/sh
# This is a comment!
echo "Hello World"
# after save the code use chmod 755 file_name.
#insead of 755, you can use +x means to give permission for execution.
#or you can directly use bash file_name
Comment

PREVIOUS NEXT
Code Example
Shell :: how to install rich in python 
Shell :: install scikit learn windows 
Shell :: list mounted drives linux 
Shell :: install babel core 
Shell :: ionic plugin list command 
Shell :: install ninja on fedora 
Shell :: how to check how many files are in a folder linux 
Shell :: windows install chocolatey 
Shell :: how to make wsl export 
Shell :: fedora install snapd 
Shell :: download snap store for kali linux 
Shell :: fatal: The current branch master has multiple upstream branches, refusing to push. 
Shell :: install nano on windows thorugh cmd 
Shell :: view git username 
Shell :: install vscode ubuntu command line 
Shell :: heroku run seeds 
Shell :: how to manage icloud drive in terminal 
Shell :: configure aws cli on linux 
Shell :: how to see the origin in git 
Shell :: get gpu device name 
Shell :: unix:///tmp/supervisor.sock refused connection 
Shell :: -bash: : Permission denied 
Shell :: pip uninstall all packages 
Shell :: how to stop a web server linux 
Shell :: pygame install 
Shell :: bash open current directory in file explorer 
Shell :: install stacer ubuntu or linux 
Shell :: get saved password windows 11 
Shell :: aws cli download multiple files s3 
Shell :: node-gyp error 
ADD CONTENT
Topic
Content
Source link
Name
2+6 =