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

PREVIOUS NEXT
Code Example
Shell :: install/uninstall deb packages from linux/ubuntu 
Shell :: Unit nginx.service is masked 
Shell :: create a zip file in linux 
Shell :: switch zsh to bash 
Shell :: auto run command vim startup 
Shell :: install nomad 
Shell :: docker autostart container ubuntu on startup 
Shell :: set alias in powershell 
Shell :: how to check whether git is initialized or not 
Shell :: linux document root 
Shell :: how to install crome linux 
Shell :: how to check current status of apache2 ubuntu 18 
Shell :: how to undo a commit 
Shell :: install code ubuntu 
Shell :: remove space at end of line file 
Shell :: An error occurred while running subprocess capacitor. 
Shell :: command to kill a process in windows 
Shell :: present working directory in shell script 
Shell :: ufw difference between deny and reject 
Shell :: remove bar in browser in ubuntu 
Shell :: Terminal commands to push a file to Github 
Shell :: bash remove trailing slash 
Shell :: git stash with message 
Shell :: for loop change increment matlab 
Shell :: windows laravel installer 
Shell :: windows terminal starting directory 
Shell :: install vpn client for ubuntu 20.04 gui 
Shell :: run springboot as a service linux 
Shell :: sudo apt uninstall 
Shell :: how to find a file in linux terminal 
ADD CONTENT
Topic
Content
Source link
Name
4+8 =