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

This question is belong to linux support. "one of my customer told to me, my application is getting slow response". how to resolve the issue. what are the steps you will follow to resolve the issue.

0 Answers  


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?

4 Answers  


how to recollect root password

3 Answers   Google,


What is the other method of installing Linux O.S other than Text, GUI mode? Why we prefer that for installation of Linux in Real time?

2 Answers  


What is the minimum number of partitions you need to install Linux?

30 Answers  


What is the difference between semaphore and spinlock?

1 Answers  


what are acl permissions..? what is automation of jobs..?

5 Answers   IBM, TCS,


What is the use of DNS Server? Name other servers works same as like DNS?

2 Answers  


What utility can you use to automate rotation of logs?

2 Answers  


I want to configure production interface and manage interface, how to configure both interfaces in Linux. please post the answers

0 Answers  


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 ?

5 Answers   Oracle,


How to apply patch for multiple servers .

1 Answers   IBM,


Categories