I just want to know, the file operation in shell script is expensive operation?. We can say, it is expensive in Java or other OOP languages(Need to call open() with read or write option and then we can read or write). But in shell script, we can redirect the output like echo $line > /root/test.txt
I cant see any overhead or expensive operation. Read is expensive or write?
Asked
Active
Viewed 391 times
0
Veerendra K
- 520
- 2
- 9
- 24
1 Answers
0
You probably wouldn't notice much of a problem processing small files, out of interest you might like to read the answers to this question.
-
If this answers your question, please, mark it as solved. – X Tian Oct 13 '15 at 10:03