Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

two sed command together

rr=abcd # in shell

sed -i "s/aaa/$rr/g" file.dat 

# -i will update thefile, 
Comment

two sed command together

sed -i -e "s/aaa/bbb/g" -e "s/sss/bbb/g" file
#-i update document
Comment

PREVIOUS NEXT
Code Example
Shell :: git get directories of added files 
Shell :: ubuntu command to make a soft link 
Shell :: oepn file in linux shell 
Shell :: permission denied cannnot remove a file in linux 
Shell :: select all folder except one in command line 
Shell :: On Debian and Ubuntu systems stop all apache2 processes 
Shell :: blocked myself from ssh 
Shell :: azure cli create web app 
Shell :: ex: java sr 
Shell :: Setup docker official repository 
Shell :: awk last match 
Shell :: automate tmux 
Shell :: debian install sbatch 
Shell :: split disk image dmg 
Shell :: select until end of file vim shortcut for commands 
Shell :: javafx install mac not working 
Shell :: how to install netdata on ubuntu wsl2 
Shell :: HFSS parametic sweep in batch 
Shell :: api uber eat node js 
Shell :: ubuntu terminal how to copy and move file 
Shell :: how to mirror your phone to laptop wirelessly 
Shell :: ubuntu auditd list of rules 
Shell :: fslmaths multiplication masking 
Shell :: how do i install xcode 7 in 2021 
Shell :: install yarn in nginx 
Shell :: checkout file of different commit 
Shell :: read file and while loop example 
Shell :: how to print the number of columns in your terminal using tput in linux 
Shell :: eb client with different account 
Shell :: use vim or perl to replace the cdc_ string in chromedriver 
ADD CONTENT
Topic
Content
Source link
Name
6+2 =