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 ?
How to give 2 different gateway IP addresses for 2 different interfaces in same system ?
cups stands for..?
What is the name and path of the main system log?
what is NIS Server...?
How to load the old kernel without rebooting server
How can you see all mounted drives?
what are the different types of Backups..?
What is Hard mount and soft Mount?
What is LILO?
As a system admin i want to know some things what are the troubleshooting issues we are facing frequently and what are the tickets will be raised.
Through ssh whole directory structure from / is shared regardless the user we have connected with ....... how do i prevent sharing ??