Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to sort a file of size 2N bytes, if I have N bytes of memory?

Answers were Sorted based on User's Feedback



How to sort a file of size 2N bytes, if I have N bytes of memory?..

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

How to sort a file of size 2N bytes, if I have N bytes of memory?..

Answer / victor

by creating n sixe of virtual memory.

Is This Answer Correct ?    2 Yes 3 No

Post New Answer

More Linux AllOther Interview Questions

how do you configure linux system as a router?

4 Answers   HCL,


What is Hard mount and soft Mount?

0 Answers   Cap Gemini,


What is page-in and page-out in redhat linux?

1 Answers  


Where is standard output usually directed?

2 Answers  


what is the difference between unix and linux...

7 Answers  


What is the difference between ext3 and ext4?

0 Answers   IBM,


My root password has been changed, how can i enter into the system without root password?

6 Answers  


what is the use of runlevel 4 in redhat linux? in which cases it will use.

1 Answers  


What are RPM?s, what do they offer?

2 Answers  


Which directory is closer to the top of the file system tree, parent directory or current directory?

3 Answers  


How to convert an IP address to a Domain name using Unix ?

2 Answers   Verse Innovation,


there are many IPC mechanisms available in Linux ? Which one is best to use and when ?

1 Answers   Broadcom,


Categories