Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

echo

# --------------------------------------------------------------------------------- #
# 	Para utilizar saltos de linea en la orden echo utilizar la opción "-e" y 		#
# 	todo el texto entre comillas dobles. El salto de linea se representa como "
"  #
# --------------------------------------------------------------------------------- #
# 	To use line breaks in the echo command use the "-e" option and 					#
#	enclose all text in double quotes. The line break is represented as "-e". 		#
# --------------------------------------------------------------------------------- #
##################################### EXAMPLE #######################################

echo -e "
 testing line breaks with 
 the echo command
"

########### OUTPUT #########
| --------------------------------- |
|						            |
| testing line breaks with 			|
| the echo command		   			|
|						   			|
| --------------------------------- |
Comment

echo new line

echo -e "hello
world"
Comment

echo new line

echo -e "hello
world"
# Output
  /*
   * hello
   * world
   */
Comment

newline in echo unix

echo $'hello
world'
Comment

PREVIOUS NEXT
Code Example
Shell :: mac force quit 
Shell :: how to install react redux 
Shell :: git pull onbly submodule 
Shell :: bedrock linux 
Shell :: show ip addr linux 
Shell :: beyond compare mac using brew 
Shell :: check active ssh users in linux 
Shell :: ubuntu upgrade certbot acme v2 
Shell :: git clone from specific branch command 
Shell :: how install node 14 ubuntu 
Shell :: how to install linux 
Shell :: wsl2 settings 
Shell :: bash get package dependencies 
Shell :: vlc doesnt open after install ubuntu 
Shell :: batch fork bomb 
Shell :: getcomposer 
Shell :: git check if there are staged changes 
Shell :: how to generate ssh key 
Shell :: how to create permanent alias in linux 
Shell :: grep and 
Shell :: bash check if executable 
Shell :: install portainer on raspberry pi 
Shell :: install cp in windows cmd 
Shell :: zsh: permission denied 
Shell :: what does source command do in linux 
Shell :: redis download 
Shell :: uninstall utorrent buntu 
Shell :: brew update package 
Shell :: create repository, commit, and push 
Shell :: copy file to ubuntu server 
ADD CONTENT
Topic
Content
Source link
Name
6+4 =