Results 1 to 5 of 5
Ok so here they are:
1. How do you read from a txt file and print to a txt file.
2. how do you check if a file is the ...
- 01-02-2012 #1Just Joined!
- Join Date
- Dec 2011
- Posts
- 7
Bash scripting questions
Ok so here they are:
1. How do you read from a txt file and print to a txt file.
2. how do you check if a file is the same as another one?
- 01-02-2012 #2
1:
2:Code:cat file_name > other_name
Never had to do it... but diff seems likely.
Code:man diff
Jay
New users, read this first.
New Member FAQ
Registered Linux User #463940
I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.
- 01-02-2012 #3Just Joined!
- Join Date
- Dec 2011
- Posts
- 7
thanks but the first question was separated how do you read from a file
how do yu print to a file?
- 01-02-2012 #4
Yes, and that is exactly what jayd512´s oneliner does.
Look up
and redirectionsCode:man cat
You must always face the curtain with a bow.
- 01-02-2012 #5Just Joined!
- Join Date
- Dec 2011
- Posts
- 7
thanks for the replys


Reply With Quote