File size limits

I want to increase the file size, I am trying to store the output but it's not storing the whole output in to the file

Please try to be more specific, explain what exactly you're trying to achieve, post the exact commands and error messages, if any, that you're getting.

how do i redirect the entire output to a file
I am using ./sim-outorder >gcc.out
But this command is able to create a output file and store some of the content not the complete output.
May be I need to increase the size of the output file

How about:

./sim-outorder >gcc.out 2>&1

to store the errors too?

Beyond that, like radoulov, I'd like more information still :slight_smile:

I need the complete output, I don't have any errors right now
But my Output size is too big
I am trying to display it as well as storing it but only some part can be stored in the output file

Sorry, but I still don't understand :frowning: What do you mean by your "output size is too big"?

To store and display:

./sim-outorder 2>&1 | tee gcc.out

When you say "but only some part can be stored in the output file", is that because the output size is too big and you get an error somehow?

In space terms, how big would you expect the output to be? Are we talking Kilobytes, Megabytes, Gigabytes?

Now its storing all the lines in the output,
I tried to redirect the output using command ./sim-outorder >gcc.out
that doesn't store all the lines
Now this code 2>&1 | tee gcc.out is working
thanks to all

IMO _

OP was using a tool that was sensitive to lines longer than 2048 - to read the file.
And the line length exceeded LINE_MAX - probably 2048.