Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to print new line in shell script

echo -e 'This is First Line 
This is Second Line'
Comment

shell keep newline at output

# You want to say
echo "$lines"

# instead of
echo $lines

# $, $() and `` remove 
 	 ...
# By "string-ing" it, it keeps them.
Comment

PREVIOUS NEXT
Code Example
Shell :: scp two remote devices 
Shell :: how to set path variable in linux temporarily? 
Shell :: linux list usb device and port speed 
Shell :: get ssh recovery code 
Shell :: Removing Watermark From Video File With FFMPEG 
Shell :: Batch programming check http call status 
Shell :: Online Git repository commands 
Shell :: toggle button github md 
Shell :: linux copy files with specific ending 
Shell :: pylint install pi 
Shell :: how to find files and copy them in terminal 
Shell :: powershell grep for string in folder 
Shell :: substitute string in many files 
Shell :: verify dart on linux 
Shell :: git comands 
Shell :: wise highlight ubuntu 
Shell :: get or filter or ouput docker ps custom columns 
Shell :: How to remove multiple non empty directory in ubuntu 
Shell :: how to denote spaces in path 
Shell :: upgrade openmediavault on rock64,rockpro64,pinebookpro 
Shell :: polyfill download 
Shell :: give htdocs sudo permission 
Shell :: add bash as defult on arch 
Shell :: ls show last item 
Shell :: avoid this message: new password is just a wrapped version of the old one (and a few other similar messages) 
Shell :: bash date as d/m/y 
Shell :: sed excape all quates 
Shell :: sudo install awk 
Shell :: ./bootstrap command not found in dockerfile 
Shell :: install gnuunicorn pip 
ADD CONTENT
Topic
Content
Source link
Name
9+6 =