Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Shell/Bash
ubuntu command line replace word in files
Marwa Kamal
Programming language:
Shell/Bash
2021-06-24 08:51:18
0
Q:
ubuntu command line replace word in files
C. A. Bridges
Code:
Shell/Bash
2021-01-27 02:55:14
sed -i 's/original/new/g' file.txt
6
Shahab
Code:
Shell/Bash
2021-03-27 03:24:35
sed -i 's/foo/bar/g' hello.txt
8
Tags
line
file
files
replace
command
word
ubuntu
Related
How to replace a string in multiple files in linux command line
delete all files with specific name ubuntu
how to copy file in ubuntu terminal
ubuntu terminal how to copy and move file
how to search in directory files in ubuntu
bash search and replace text in file
ubuntu rename all files lowercase commands
linux vim replace all
find and replace in all files in directory centos
bash make directories using specific text from filenames
linux replace string in all files
ubuntu search file in specific folder
ubuntu find file with text
ubuntu show line in file containing text
ubuntu grep text in files
New to Communities?
Join the community