Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

echo new line

echo -e "hello
world"
Comment

how to print new line in shell script

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

echo new line to file

echo $'username=user
password=pass' > ~/samba-credentials
Comment

echo new line

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

echo new line in a file bash

echo -e "Line 1
Line 2"
Comment

shell echo new line into file

echo -en 'first line
second line
third line
' > file
Comment

PREVIOUS NEXT
Code Example
Shell :: pull down a branch locally 
Shell :: install nose 
Shell :: linux zip all folders except one 
Shell :: remove all gems installed 
Shell :: ufw block ip 
Shell :: linux edit file 
Shell :: insert text before cursor in vi 
Shell :: git config --list 
Shell :: env file added to gitignore but git still tracking it 
Shell :: how to use ssh to connect to a remote server in linux 
Shell :: Download and install minikube 
Shell :: Linux get bluetooth mac address 
Shell :: git create github repo 
Shell :: generate uml from python code 
Shell :: command to select a word in vim 
Shell :: installing parse-dashboard with npm 
Shell :: how to upload on github with command 
Shell :: default .gitignore file 
Shell :: delete folder in linux 
Shell :: bash floating point variables 
Shell :: redis cache start 
Shell :: git diff files only 
Shell :: find file modified in last minutes 
Shell :: move file in terminal 
Shell :: how to disable ssh in linux 
Shell :: load .bashrc 
Shell :: remove write proteced in usb ubuntu 
Shell :: windows terminal background image 
Shell :: bootar pendrive linux 
Shell :: how to add image in readme 
ADD CONTENT
Topic
Content
Source link
Name
3+3 =