Home
About
Archives
Pario TechnoBlob
A chronological documentation test project, nothing serious, really!
09 Feb 2007
Replace all instances of one word with another in a file
Posted by
Hans-Henry Jakobsen
sed -i 's/ord1/ord2/g' filnavn
Share this:
Twitter
Facebook
Tags:
sed
Filed in
Linux
,
Scripting
«
Remove comments and blank lines from a file
Dump/image CDROM to ISO file
»
Comments are closed.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here:
Cookie Policy
Search
Search for:
Categories
Backup
Linux
Misc
Network
Photo etc
Scripting
Security
Virtualization
Web
Windows
Tags
Apache
apt-get
awk
backup
basename
bash
CentOS
convert
csv
Database
dd
Debian
esxi5
Etch
EXIF
Fedora
find
Gentoo
grep
howto
html
imagemagick
iptables
iso
jhead
JPG
mount
MySQL
NEF
Nikon
nmap
perl
PHP
Postfix
RedHat
rhel5
rpm
sed
SMTP
sort
ssh
Ubuntu
VMware
Wordpress
Zimbra