Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
bash cat file and rewrite it same line
evgpisarchik
Programming language:
Whatever
2021-06-03 02:03:08
0
Q:
bash cat file and rewrite it same line
user910
Code:
Whatever
2021-06-26 07:46:22
sed -e ... "datafile" >"datafile.tmp" && mv -f "datafile.tmp" "datafile"
0
Tags
line
file
Related
bash script how to show a file by using less
for line in output bash
bash iterate over lines of a file
read file line loop in bash
bash for each line of file
New to Communities?
Join the community