35
rated 0 times
[
35]
[
0]
/ answers: 1 / hits: 126404
/ 1 Year ago, sun, april 16, 2023, 12:31:08
I know how to add new text to a file, but how can I edit it?
Example: adding hello_world = 1
to test.txt using the following command:
echo "hello_world = 1" >> test.txt
But how can I change 1
to 0
or something else?
More From » command-line