First  |  Prev |  Next  |  Last
Pages: 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
Finding the largest files in a filesystem (or highest values ina list) quickly
2010-01-25, 11:21(-08), Dan Stromberg: I recently updated my "highest" program to optionally use a heap or treap, giving it a nice additional performance boost. http://stromberg.dnsalias.org/~dstromberg/highest/ It's a pretty common operation in shell scripts and *ix administration, so it seemed... 25 Jan 2010 15:05
Finding the largest files in a filesystem (or highest values in a list) quickly
I recently updated my "highest" program to optionally use a heap or treap, giving it a nice additional performance boost. http://stromberg.dnsalias.org/~dstromberg/highest/ It's a pretty common operation in shell scripts and *ix administration, so it seemed worth optimizing a bit beyond the traditional "sort... 25 Jan 2010 15:05
interpreting a unix command I
Hello newsgroup, I'm relatively new to linux and have yet to put it through its paces properly, but I keep pecking away at it. I'm looking for a precise description of what's going on here: gcc -dM -E - < /dev/null Let me bust up the question a bit: gcc : invokes compiler -dM : show all the macros from ... 2 Feb 2010 15:47
How to run multiple commands in -exec of find command
Hi, I like to copy a bunch of directories from one tree to a new location, I am using 2 find commands: find . -type d -name run -maxdepth 4 -exec mkdir -p /tmp/{} \; find . -type d -name run -maxdepth 4 -exec cp {}/the_file /tmp/{} \; Is there a way I can put the 2 commands together after -exec in one fi... 10 Feb 2010 21:20
(tar -cf - /etc|gzip; dd if=/dev/zero count=1)...|rsh foo ddof=/dev/st0
In article <5f7927-ijf.ln1(a)marcumbill.bellsouth.net>, Bill Marcum <marcumbill(a)bellsouth.net> wrote: On 2010-01-16, Name withheld by request <anonb6e9(a)nyx3.nyx.net> wrote: I wanted to tar files from a windows box back to a tape drive on the unix box, but the cygwin rmt command was not being found so I though... 24 Jan 2010 08:57
Simple regex question
I'd like to remove from within a shell script a series of files with the following number format: 004023.jpg 004024.jpg 004025.jpg etc. They all start with '004' and end with '.jpg'. In-between there can be exactly 3 numericals, each with any value from 0 to 9, such as 004000.jpg, 004920.jpg, 004999.jpg, 0... 25 Jan 2010 13:56
percent encoding end decoding
hi. is there a smarter way to do percent decoding (and encoding) other than a mere succession of sed substitutions? bye ... 26 Jan 2010 15:30
Want to obtain single line output based on a file.
Hi all, I've file which including some IP addresses one per line like this: 213.178.224.174 83.201.240.86 85.178.218.16 90.194.80.153 90.48.82.189 93.146.181.125 I want to obtain single line output based on this file with the comma as the delimiter, e.g., like the following: 213.178.224.174,83.201.240... 22 Jan 2010 23:03
While loop in tcsh
Hi, I was trying to code a simple while loop in tcsh shell. #!/bin/tcsh set cnt=5 while ($cnt > 0) cnt = $cnt(`expr($cnt - 1)) end However I am getting the following error : cnt=4: command not found (Error is going on till <ctrl+c> is pressed. Is this an error with the syntax? Thanks Unix baby ... 23 Jan 2010 10:56
In the Bible: the foreign women are prostitutes, crooked, evil, unfaithful, robbers etc
Hi, I wonder why the Bible claims that the non-Israelite women (the foreign) women are prostitutes, crooked, evil, unfaithful, robbers etc. It is really very hurtful and very upsetting. http://www.free-articles-zone.com/article/304390/The%20Foreigner%20woman%20in%20Bible%20versus%20Quran%20(1) http://www.free-a... 21 Jan 2010 18:02
First  |  Prev |  Next  |  Last
Pages: 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54