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 :: uninstall all requirements 
Shell :: install extension pgcrypto 
Shell :: Undo the commit and completely remove all changes 
Shell :: sed digits 
Shell :: install laravel globally mac 
Shell :: install phantomjs 
Shell :: get disk partitions linux 
Shell :: clear error log apache2 
Shell :: how to copy a file to a remote server using the command line 
Shell :: install angular app 
Shell :: turn off screen linux 
Shell :: install android studio from ubuntu terminal 
Shell :: how to still atom on ubuntu 
Shell :: ubuntu no space left on device boot 
Shell :: install vlc rhel 
Shell :: redwood start prisma studio 
Shell :: install sweetlalert angular 
Shell :: linux path environment variable 
Shell :: remove spaces from file names bash 
Shell :: open xampp in ubuntu 
Shell :: split string in shell 
Shell :: : Failed to start A high performance web server and a reverse proxy server. -- Subject: A start job for unit nginx.service has failed 
Shell :: wsl screen permission denied 
Shell :: discord.py install 
Shell :: find zombie process PID in linux 
Shell :: $path mac 
Shell :: how to remove filmora watermark 
Shell :: yarn install netlify 
Shell :: wsl --install 
Shell :: kubernetes command line to scale down pods 
ADD CONTENT
Topic
Content
Source link
Name
3+7 =