The beginning coder here :)
Writing in Bash. I am trying to write 5 to 5 increments in the first column of a text file from 7.5 to 72.5.
I can use
seq-7.5 5 72.5
to create a sequence of numbers
< P> How do I write in a text file?Thanks
Just redirect it Your file:
seq-7.5 5 72.5 & gt; My_file.txt
Where my_file.txt
is the name and path for your file.
No comments:
Post a Comment