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 |
What is LILO?
expalin the process of kickstart installation?
What utility can you use to automate rotation of logs?
How to give 2 different gateway IP addresses for 2 different interfaces in same system ?
Without using w command how can Iknow that who are users logged in and what they are doing and whether they are idle or running mode?
what is the gate of ftp server in redhat linux?
plz mention some interesting problems you faced and how you solved it?
User unable to login in server then how can u troubleshooting it? Example: server at Bangalore. in that server two users try to login in server. 1st user able to login. but second user unable to login so how can troubleshoot it ?
What is Hard mount and soft Mount?
What is the difference between Telnet and SSH?
why you are using nis server
in linux gui desktop icon was lost how con u back this icons