How to modify the file without opening it using vi?
which sed
/bin/sed
TRICK ------> EXAMPLE
cat test.txt
this is a simple trick to modify a file without opening it................
sed -i 's/trick/example/g' test.txt
cat test.txt
this is a simple example to modify a file without opening it................
No comments:
Post a Comment