Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

Bash/Shell comment multiple lines

: '
This is a
very neat comment
in bash
'

# Don't forget the : sign at the beginning
Comment

multi line comment in bash shell

<<comment-tag
comment/code goes here
comment-tag

Use '<<' operators to start the comment, and add a comment tag.
To end the comment use the same comment tag.
Comment

multiline comment in bash

# Just do something like this for multiple line comment

: 'I am the first line and
   the second line and 
   the third line here
   '
# Don't forget the : sign
Comment

multiline comment in bash

: << 'AAA'
	what ver you want to comment
AAA
Comment

commenting multiple-line bash file

# 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 ... ===="
 
Comment

bash multiline comment

: '
This is a
very neat comment
in bash
'
Comment

multi line comment in shell script

# Multi Line Comment
: '
This is a
very neat comment
in bash
'
Comment

single line comment in shell script

# This is a Bash Single Line Comment.
echo "This is Code" # This is an inline Bash comment.
Comment

PREVIOUS NEXT
Code Example
Shell :: git stash changes 
Shell :: graphiql download 
Shell :: How do I rename a local Git branch? 
Shell :: git modify last commit message 
Shell :: how to execute a file in ubuntu by double click 
Shell :: ssh map port 
Shell :: git create new branch with uncommitted changes 
Shell :: powershell or command prompt 
Shell :: convert crt to cer with commnd 
Shell :: astro with tailwind setup 
Shell :: rename branch remote 
Shell :: linux delete files in folders without deleting the folder 
Shell :: suse linux update 
Shell :: force install deb file 
Shell :: git merge a branch to master/main 
Shell :: update cpanel 
Shell :: utorrent for linux 
Shell :: digital ocear error Permission denied (publickey). 
Shell :: learn typeorm 
Shell :: change commit message git 
Shell :: how to install zsh using brew 
Shell :: awk output field separator 
Shell :: what is merge conflict in git 
Shell :: args in shell 
Shell :: ubuntu 
Shell :: snapd teams 
Shell :: Meaning of the GitHub message: push declined due to email privacy restrictions 
Shell :: copy to clipboard while ssh into another terminal 
Shell :: exit branch git 
Shell :: Err:9 http://ppa.launchpad.net/plushuang-tw/uget-stable/ubuntu focal Release 404 Not Found [IP: 91.189.95.85 80] 
ADD CONTENT
Topic
Content
Source link
Name
2+5 =