i want all the lines from the file to read in unix shell script.any one help....
Unix shell script?
Not quite sure what you are asking. If you want to view your script, type:
cat nameofscript
If you are trying to view any file type
cat nameoffile
If it is more than a screenfull, type
cat nameoffile | more
Reply:Could you describe the problem more clearly? I'd like to help but I don't understand your question.
Reply:are u using BASH or PERL?
if you are using perl heres a 3 line script.
open(FILE1,"%26lt;filename_here");
@filecontents = %26lt;FILE1%26gt;
close(FILE1);
hope that helps.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment