How to sort a file of size 2N bytes, if I have N bytes of memory?
Answers were Sorted based on User's Feedback
Answer / naggy
In sorting huge files, the most useful options for GNU sort
are "-S size" and "-T tmp_dir". The first option specify the
largest memory sort should use. Sort is more efficient with
larger memory. The second option indicates the temporary
directory used by sort. It is helpful if there is not enough
disk space in the "/tmp" partition.
-S, --buffer-size=SIZE
use SIZE for main memory buffer
| Is This Answer Correct ? | 0 Yes | 0 No |
there are many IPC mechanisms available in Linux ? Which one is best to use and when ?
What are RPM?s, what do they offer?
How to ""Add"" not replace address to same network card other than the alias way.... ??????
How does the boot process[init levels] work on Linux? How is it different from Solaris?
i want some basic level enterview questions can any one can help me in this
What is the difference between ext3 and ext4?
How to send automated email to a set of people at fixed time ?
How to convert an IP address to a Domain name using Unix ?
why accounting Software does not support on linux?
Tell me command which is use for create quota database in Linux.
what is the gate of ftp server in redhat linux?
i want to install XP on RHEL5 with virtualization tell me step by step configuration