Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

shell write multiple lines to file

#!/bin/bash

cat > /path/to/myfile <<EOL
write whatever youwant
with multiple lines
... 
EOL
Comment

PREVIOUS NEXT
Code Example
Shell :: docker interactive shell 
Shell :: bash zero padding 
Shell :: replace ionic-angular @ionic/angular 
Shell :: get username linux 
Shell :: return to bash from zsh 
Shell :: bash fully unsquash sqfs file 
Shell :: change git commit date 
Shell :: ubuntu screen remove 
Shell :: how to shutdown port in windows 
Shell :: see ADS content 
Shell :: create necxt app 
Shell :: bash get length of every nth row 
Shell :: git config global username 
Shell :: installation directory must be on local hard drive 
Shell :: update ruby version 
Shell :: downgrade npm package to specific version 
Shell :: docker purge all 
Shell :: How do I get my drive letters back? 
Shell :: how to remove first line from output using awk 
Shell :: add code to github repository from command line 
Shell :: reload vimrc without exiting 
Shell :: how to clone github repository in my google colab 
Shell :: git stash unstaged 
Shell :: vim sudo write 
Shell :: how to remove a folder from git and not locally 
Shell :: command prompt cd back 
Shell :: pip silent install 
Shell :: change docker folder windows 
Shell :: git cherry pick range 
Shell :: kill screen 
ADD CONTENT
Topic
Content
Source link
Name
6+4 =