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 to build new filesystem ? and what is irig file system?

3 Answers  


When you install RedHat what is the kernel mode ? What is kernel compilation / upgrade ?

4 Answers   IBM,


How to give 2 different gateway IP addresses for 2 different interfaces in same system ?

5 Answers   Toyota,


how can i create samba server in fedora 9.0 ? and domain/LDAP controller! clilent side is windows pc .?

0 Answers   Wipro,


There are 4 network Interfaces, how can we find which one is Primary.

2 Answers  


What are main anti-spam features available in sendmail?

1 Answers   CSC,


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

1 Answers  


i want some basic level enterview questions can any one can help me in this

1 Answers   TCL,


How can you see all mounted drives?

10 Answers  


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

3 Answers  


What is the name and path of the main system log?

3 Answers  


what is difference between  TFTP abd FTP?

0 Answers  


Categories