Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to replace string in a json sed

#You can replace like below

#Linux
sed -i 's/old-text/new-text/g' "/path/to/the-file"

#MacOS
sed -i "" 's/old-text/new-text/g' "/path/to/the-file"
Comment

PREVIOUS NEXT
Code Example
Shell :: linux execute permission denied 
Shell :: change size apache 
Shell :: linux list application installation 
Shell :: refs/heads/master:refs/heads/master [rejected] (non-fast-forward) 
Shell :: Run emulator without Android studio. 
Shell :: add address to path cmd windows 
Shell :: apt find package 
Shell :: install talib linux server 
Shell :: sed remove line containing 
Shell :: awk lowercase 
Shell :: how to add existing project to gitlab 
Shell :: get ros version 
Shell :: too many authentication failures ec2 
Shell :: The requested URL was not found on this server. Apache/2.4.41 (Ubuntu) Server at Port 80 
Shell :: git ignore clear 
Shell :: ubuntu adduser 
Shell :: how to add user to group 
Shell :: mac get your screen size terminal 
Shell :: wsl install cmake 
Shell :: git checkout certain files 
Shell :: vlc linux 
Shell :: kill :80 port 
Shell :: vite starting code 
Shell :: pip install quiet 
Shell :: ubuntu facial recognition login 
Shell :: uninstall package ubuntu 
Shell :: remove folder from terminal 
Shell :: Cache Your Login Credentials 
Shell :: install pycodestyle in ubuntu 
Shell :: linux search inside files 
ADD CONTENT
Topic
Content
Source link
Name
1+3 =