Issue
I need to create files for the user with the words "operating system" inside. I have tried in many ways but I can't figure out which is the best way, for now, this way is the "best" (it creates the files but is empty)..
read n
for i in $(seq $n)
do
"Operating system" > txt_$i
done
Solution
Add an echo
or printf
.
echo "Operating system" > txt_$i
Answered By - Jetchisel Answer Checked By - Senaida (PHPFixing Volunteer)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.