# This is a Bash comment.
echo "This is Code" # This is an inline Bash comment.
Every line starting with the '#' sign cause the following content to be ignored.
# ignored
# This is a comment in Shell/Bash Script.
# '#' Symbol is used show a comment.
# Comments syntax for bash files
# This is a "inline "comment (it lasts till the end of the line)
echo " ==== Starting bash file ... ==== "
# multi-line Comments syntax for bash files
: '
This is a wonderful
multi-line
comments useful for documentation
Purposes '
# inline comment
echo " ==== Ending bash file ... ===="
#Single line comment
echo "hello world"
# Bash comment
#SINGLE COMMENT
<<COMMENT
MULTILINE COMMENT
COMMENT
: '
MULTILINE COMMENT
'
echo "Hello Wordl"
cat << ABC > ./file1.tmp
1.whatever you want
2.whatever you want
3.whatever you want
ABC
#here line 1 2 3 will go to file1.tmp
#in the script line 1 2 3 are comments
Code Example |
---|
Shell :: sum bash |
Shell :: install software manager linux kali |
Shell :: store printed output in variable bash |
Shell :: django activate shell |
Shell :: jupyter show digits |
Shell :: cant find module firebase |
Shell :: aws cli on heroku |
Shell :: heroku delete branch |
Shell :: redis install |
Shell :: how to use mongodb in ubuntu terminal |
Shell :: clipboard app for ubuntu |
Shell :: package manager dotnet 5.0 frameworks |
Shell :: gunicorn port 8080 |
Shell :: redis reload config |
Shell :: git show staged file contents |
Shell :: run typescript compiler |
Shell :: cloning repository github |
Shell :: replace tab sed |
Shell :: uncommit local commit |
Shell :: create git tags |
Shell :: drupal cli composer |
Shell :: open folder from terminal windows |
Shell :: git fetch upstream |
Shell :: remote repo push |
Shell :: composer install on mac |
Shell :: return boolean bash |
Shell :: ssh |
Shell :: grep search |
Shell :: copy data to kubernetes pod |
Shell :: apt-get search package |