Re: PATH Issues

2008-05-25 Thread Cameron Simpson
properly. Most users even think it's how things should be:-( Cheers, -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http://www.cskk.ezoshosting.com/cs/ If NT is the answer, you didn't understand the question.- Peter Blake -- fedora-list mailing list fedora-list@redhat.com To unsubscribe

Re: ssh to a remote server via gateway server

2008-05-30 Thread Cameron Simpson
On 30May2008 19:14, Mikkel L. Ellertson [EMAIL PROTECTED] wrote: Cameron Simpson wrote: I missed the start of this thread, but you can use the ProxyCommand ssh option to hop through multiple servers, keeping the top level ssh nicely connected to your terminal and the endpoint (via

Re: ssh to a remote server via gateway server

2008-05-30 Thread Cameron Simpson
On 31May2008 13:57, I wrote: | Conveniently, it can make use of an sshtorc file that maps name into an | arbitrary name1!name2!name3!... ssh hop path. I routiney get only | certain hosts as sshto foo where foo designates a multihop ssh path. s/only/onto/ Whoops. -- Cameron Simpson [EMAIL

Re: VIM Q again

2008-06-01 Thread Cameron Simpson
On 02Jun2008 00:57, Gene Heskett [EMAIL PROTECTED] wrote: | On Sunday 01 June 2008, Cameron Simpson wrote: | And it seems I typed L1BAE and you typed L1A8E. Sorry, that will | have wasted your time. Corrected in the examples below. | | Mochs Nichs, it worked, and about 450-500 bytes of junk code

Re: ssh to a remote server via gateway server

2008-06-02 Thread Cameron Simpson
is _meant_ to be usable by people who aren't me:-) Cheers, -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http://www.cskk.ezoshosting.com/cs/ When Microsoft Office is your only hammer, pretty much everything begins to look like a nail. Or a thumb. - Rob Pegoraro -- fedora-list mailing list fedora-list

Re: VIM Q again

2008-06-02 Thread Cameron Simpson
, and indeed weren't used at all by the OS software. We wrote a little program to put a small message in the alternate registers for a friend to read later:-) -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http://www.cskk.ezoshosting.com/cs/ Music journalism: People who can't write interviewing people who

Re: ssh to a remote server via gateway server

2008-06-02 Thread Cameron Simpson
On 03Jun2008 10:31, lux [EMAIL PROTECTED] wrote: | On Mon, Jun 2, 2008 at 4:38 PM, Cameron Simpson [EMAIL PROTECTED] wrote: | On 02Jun2008 16:23, lux [EMAIL PROTECTED] wrote: | | I have a script called sshto that does exactly this for multihop | ssh | | connections. [...] | | Sounds

Re: Switching virtual terminals

2008-06-05 Thread Cameron Simpson
but have had this problem since I started using Fedora at F7. I think it's Just Ctrl-, not Alt-Ctrl-, from text console land. Or just Alt-. But anyway, only one of the modifiers, not both. -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http://www.cskk.ezoshosting.com/cs/ Loose lids kink squids

Re: tr problem

2008-06-12 Thread Cameron Simpson
, -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http://www.cskk.ezoshosting.com/cs/ So the master hit the novice upside the head with the back of his hand. Why did you do that!? I do not want to have to learn another editor. And the student was enlightened.- Larry Colen [EMAIL PROTECTED

Re: tr problem

2008-06-12 Thread Cameron Simpson
natural that shouldn't be done. I'd start with snoring and progress from there... -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http://www.cskk.ezoshosting.com/cs/ It's hard to believe that something as rational as the metric system was invented by the French. - Henry O. Farad [EMAIL PROTECTED

Re: tr problem

2008-06-14 Thread Cameron Simpson
On 14Jun2008 20:38, Tim [EMAIL PROTECTED] wrote: | On Sat, 2008-06-14 at 19:24 +1000, Cameron Simpson wrote: | A line _should_ be terminated by a single character. What that character | is is a somewhat arbitrary choice, given that the ASCII table doesn't | have an end-of-line (EOL) character

Re: Using Apache as proxy in port-forwarding role (inward to misbehaving NATted devices)

2008-06-16 Thread Cameron Simpson
, -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http://www.cskk.ezoshosting.com/cs/ It's like a roller-coaster ride where you can't throw up. Radio commentator on a certain basketball team's current season -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https

Re: ssh?

2008-06-19 Thread Cameron Simpson
authorized_keys files:-( -- Cameron Simpson [EMAIL PROTECTED] DoD#743 -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

Re: ssh?

2008-06-19 Thread Cameron Simpson
. -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http://www.cskk.ezoshosting.com/cs/ -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

Re: rsh issue (access denied)...

2008-06-24 Thread Cameron Simpson
the service being available, too. Port number 514, I think. I'd check the PAM authentication configuration. -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http://www.cskk.ezoshosting.com/cs/ It is seldom that liberty of any kind is lost all at once. - Hume -- fedora-list mailing list fedora-list

Re: How to find and clear zombie processes w/o rebooting?

2008-06-25 Thread Cameron Simpson
to be inherited by process 1, which will then wait() for it, cleaning it up). Zombies are essentially untidy but harmless. They are not eating you machine's brains (ram/swap/cpu). Cheers, -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http://www.cskk.ezoshosting.com/cs/ Zombies don't get pumped

Re: How to find and clear zombie processes w/o rebooting?

2008-06-25 Thread Cameron Simpson
, and is not related to your resource problems Cheers, -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http://www.cskk.ezoshosting.com/cs/ In article [EMAIL PROTECTED] [EMAIL PROTECTED] (Chris Pirih) writes: | Wotsa zerk? It's a portable hemispherical perforated spooge flange. - Chuck Rogers

Re: How to find and clear zombie processes w/o rebooting?

2008-06-25 Thread Cameron Simpson
(virtual size) columns. They may point the way to an unreasonably large process. You can also tell top to sort its display by process memory size, and to show idle processes (press i), which it normally doesn't bother to display. Cheers, -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http

Re: How to find and clear zombie processes w/o rebooting?

2008-06-25 Thread Cameron Simpson
On 25Jun2008 23:45, Patrick O'Callaghan [EMAIL PROTECTED] wrote: | On Thu, 2008-06-26 at 12:34 +1000, Cameron Simpson wrote: |xterm |xclock |window-manager | | So, that is a shell script. It kicks off a terminal, a clock and a | window manager. It waits for that last. When

Re: speaking of grub graphical boot...

2008-06-29 Thread Cameron Simpson
you've followed all the rules. What rules, exactly? As I recall grub XPM images need to have a maximum of 14 colours. I make them this way: http://www.cskk.ezoshosting.com/cs/css/bin/mkgrubsplash and seem to have success. Cheers, -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http

Re: Firefox 3 keeps losing my bookmarks

2008-07-04 Thread Cameron Simpson
a shell wrapper. Treat the local folder as a cache. Rsync from the master to the local folder, run firefox, rsync back at exit. You could even do backups. A little cumbersome, but probably more reliable. It should also get you faster performance, since disc access will be local. -- Cameron Simpson

Re: How to manipulate with different screen sets - X.org

2008-07-13 Thread Cameron Simpson
a script to pass arguments to to over write 'xorg.conf' and start desktop. You can also just start the X server using the -config /etc/special-purpose-xorg.conf-file option, avoiding copying files. Both startx and xinit let you pass options to the X server they invoke. -- Cameron Simpson

Re: How to manipulate with different screen sets - X.org

2008-07-13 Thread Cameron Simpson
On 14Jul2008 04:06, g [EMAIL PROTECTED] wrote: Cameron Simpson wrote: You can also just start the X server using the -config /etc/special-purpose-xorg.conf-file option, avoiding copying files. Both startx and xinit let you pass options to the X server they invoke. was not aware. never had

Re: stop kernel messages from splashing on the console

2008-07-28 Thread Cameron Simpson
| kern.*/var/log/kern_messages | # Everybody gets emergency messages | #*.emerg * | *.emerg /var/log/kern_messages | | Still the messages are getting splashed on to the ttys. You did restart syslogd after the edit? -- Cameron Simpson [EMAIL PROTECTED] DoD

Re: cron job

2008-07-30 Thread Cameron Simpson
- $ ls / -R | wc -l And pointless in a cron job line. Patrick knows what it does, he's wondering why. So am I. You're aware cron runs jobs when they're due, even if other jobs are not yet finished? -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http://www.cskk.ezoshosting.com/cs/ It takes seven

Re: tail command : differences between solaris and linux

2008-08-03 Thread Cameron Simpson
, and for enterprise stuff that's important. Of course, the portable thing it to just move to saying: sed 1,308d instead of using tail +number. Portable, stable. Cheers, -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http://www.cskk.ezoshosting.com/cs/ WHATS A K3WL D00D AND WH3R3 CAN 1 G3T S0M3

Re: Keeping Firefox+Flash from eating your CPU

2008-09-02 Thread Cameron Simpson
will let run). I personally prefer the latter. NoScript is also very useful. BTW, in FF3 (on a Mac) the block menu item appears to be missing from mousing over the flash (it's available in FF2). Does anyone know about this? -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http

Re: Keeping Firefox+Flash from eating your CPU

2008-09-03 Thread Cameron Simpson
javascript handlers steal your passwords from the prefilled form. I run the Secure Login extension to control form prefilling and CS Lite to control cookies. Cheers, -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http://www.cskk.ezoshosting.com/cs/ -- fedora-list mailing list fedora-list@redhat.com

Re: service; ps grep help

2008-09-05 Thread Cameron Simpson
. If you want to be safer (i.e. not root) you can use su to start the daemon and kill it as a special purpose user - that way the daemon can't accidentally do stuff it shouldn't, and your kill can't accidentally kill something it shouldn't. Cheers, -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http

Re: is it possible to create an orphaned process?

2008-09-06 Thread Cameron Simpson
(no exec) you're fine. Just something to keep in mind. Cheers, -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http://www.cskk.ezoshosting.com/cs/ There's no trick to being a humorist when you have the whole government working for you.- Will Rogers -- fedora-list mailing list fedora-list

Re: Reasons behind defaulting atd and sendmail

2008-09-06 Thread Cameron Simpson
the kernel should be live so it can all work. atd and sendmail are basic services. Just because _you_ don't realise or understand that _everything_ should be able to expect their presence doesn't mean they shouldn't be there. -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http

Re: Script Test [OT]

2008-09-06 Thread Cameron Simpson
] in [EMAIL PROTECTED]) # my laptop ... ... ;; esac and so forth. Cheers, -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http://www.cskk.ezoshosting.com/cs/ I am returning this otherwise good typing paper to you because someone has printed gibberish all over it and put your name

Re: service; ps grep help

2008-09-07 Thread Cameron Simpson
On 07Sep2008 02:29, Patrick O'Callaghan [EMAIL PROTECTED] wrote: | On Sat, 2008-09-06 at 10:20 +1000, Cameron Simpson wrote: | Going from reliable (trust the pid file) to the more cautious (trust | the | pid file, but check the pid has not been recycled (daemon dies without | tiying up the pid

Re: Script Test [OT]

2008-09-09 Thread Cameron Simpson
, but that isn't always the case. Gah! Again! I don't think I'd rely on hostid for anything:-( Cheers, -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http://www.cskk.ezoshosting.com/cs/ A good newspaper is never good enough, but a lousy newspaper is a joy forever.- Garrison Keillor -- fedora

Re: How do I run only one instance of a program

2008-09-15 Thread Cameron Simpson
near. It is like trying to break an egg by letting off a grenade. Cheers, -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http://www.cskk.ezoshosting.com/cs/ Careful and correct use of language is a powerful aid to straight thinking, for putting into words precisely what we mean necessitates getting

Re: Script help

2008-09-19 Thread Cameron Simpson
break. So, you do not need the 1 option in a pipeline, and never have. BTW, sed 1q is shorter than head -1. I've never had much truck with head... -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http://www.cskk.ezoshosting.com/cs/ Almost nothing in Perl serves a single purpose. - Larry Wall in [EMAIL

Re: Script help

2008-09-19 Thread Cameron Simpson
On 19Sep2008 15:51, NiftyFedora Mitch [EMAIL PROTECTED] wrote: | On Fri, Sep 19, 2008 at 3:43 PM, Cameron Simpson [EMAIL PROTECTED] wrote: | On 19Sep2008 14:08, Dennis Kaptain [EMAIL PROTECTED] wrote: | | Can anyone rattle this off of the top of their head? | | `ls -t myfile*.txt | head -1

Re: Script help

2008-09-19 Thread Cameron Simpson
if there are spaces in the filenames... -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http://www.cskk.ezoshosting.com/cs/ These are my principles, and if you don't like them, I have others. - Groucho Marx -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https

Re: desperately seeking IgnoreEDID

2008-09-21 Thread Cameron Simpson
as a synonym for DDC False per Alan's suggestion. Cheers, -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http://www.cskk.ezoshosting.com/cs/ Washing one's hands of the conflict between the powerful and the powerless means to side with the powerful, not to be Neutral. - Quote by Freire. Poster

Re: Text Manipulation/Replacement

2008-09-22 Thread Cameron Simpson
for next line } x # pull back hold space for printing Put that in a file called sedf and try: sed -f sedf olddata newdata and see how it goes. I think it will eat the last line as written. -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http://www.cskk.ezoshosting.com/cs/ Heaven

Re: Text Manipulation/Replacement

2008-09-22 Thread Cameron Simpson
). -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http://www.cskk.ezoshosting.com/cs/ The type syntax for C is essentially unparsable. - Rob Pike -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki

Re: Groups running wild

2008-09-22 Thread Cameron Simpson
newgrp. Cheers, -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http://www.cskk.ezoshosting.com/cs/ -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: install the Korn SHELL program

2008-10-02 Thread Cameron Simpson
? [...] zsh is an improved version and is already there Last time I checked zsh is not 100% compatible with ksh syntax. Has that changed? I'm impressed by how off target these responses are. His script doesn't work because he has a CR character on his scripts #! line! -- Cameron Simpson [EMAIL

Re: Firefox page style switching -

2008-10-13 Thread Cameron Simpson
to no style, and it also lets you write custom styles and display pages with them. -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http://www.cskk.ezoshosting.com/cs/ -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http

Re: MSQL though a shell

2008-10-13 Thread Cameron Simpson
On 13Oct2008 18:47, Dennis Kaptain [EMAIL PROTECTED] wrote: | #!/usr/bin/perl -w | # this PERL script will connect to a remote MySQL database and execute a select statement The OP wants MSQL (Micro$oft SQL), not MySQL. Hence the ODBC remarks. -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http

Re: how can I make sure only one instance of gkrellm runs

2008-10-16 Thread Cameron Simpson
it may serve. There are better ways, without races, but they are a bit more cumbersome to script and to understand. Cheers, -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http://www.cskk.ezoshosting.com/cs/ It's as if all of Scottish cuisine is based on a dare. - Saturday Night Live -- fedora-list

Re: help: df slow

2008-11-06 Thread Cameron Simpson
answered your own question: it's slow because you have 10 | NFS mounts, thus 10 interactions with network-connected servers when you | do a df. Also, if one or more is down it can be VERY slow. -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http://www.cskk.ezoshosting.com/cs/ The US government can't make

Re: exclude option for rsync

2008-11-09 Thread Cameron Simpson
locally as with any shell command, and then again for the remote shell. It's doable, and even automatable (provided you trust there's a Bourne/POSIX shell at the far end, otherwise of course the far end quote syntax will be different...) Cheers, -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http

Re: exclude option for rsync

2008-11-09 Thread Cameron Simpson
that in a wrapper script for calling rsync. Cheers, -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http://www.cskk.ezoshosting.com/cs/ MS-DOS: ... an OS originally designed for a microprocessor that modern kitchen appliances would sneer at - Dave Trowbridge, _Computer Technology Review_, Aug

Re: Kernel Timeslice

2008-11-17 Thread Cameron Simpson
wake up, do something, then block (including reading from disk) then it's not such an issue. Can you elaborate on your app; it is really going to try to run 1000 CPU bound threads? It will be prtetty unusual. Cheers, -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http://www.cskk.ezoshosting.com/cs

Re: stty switch

2008-11-29 Thread Cameron Simpson
there. In FC10, the X session is broken if we do a CTL ALT F1 (from the X session). Is it normal ? I saw some remark that the X session moved from tty7 to tty1 in FC10. I'm not running FC10 yet, so I can't check. Try CTL ALT F2 instead and see if tty2 is usable. -- Cameron Simpson [EMAIL PROTECTED

Re: f9 defunct processes right after logon

2008-12-04 Thread Cameron Simpson
wait()ed for it, so the parent is the culprit. BTW, is this a GUI or text mode login? -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http://www.cskk.ezoshosting.com/cs/ Carpe Daemon - Seize the Background Process - Paul Tomblin [EMAIL PROTECTED] -- fedora-list mailing list fedora-list

Re: Current state of multi-core awareness

2008-12-04 Thread Cameron Simpson
connections. In fact, even | when not loaded, you will normally see many apache processes waiting | in a pool for incoming connections. Apache can be built in worker form (threaded) instead of prefork (lots of processes sharing the listen socket). Dunno how it ships on Fedora. -- Cameron Simpson [EMAIL

Re: For Loops and Space in Names

2008-12-09 Thread Cameron Simpson
one that is already in the environment then you've just broken it for every subprogram you call.) Cheers, -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http://www.cskk.ezoshosting.com/cs/ Network Planning Constraint Of The Month: You can't send bits over a non-existant link

Re: For Loops and Space in Names

2008-12-09 Thread Cameron Simpson
On 09Dec2008 18:53, Dave Ihnat [EMAIL PROTECTED] wrote: | On Wed, Dec 10, 2008 at 11:17:05AM +1100, Cameron Simpson wrote: | is totally reliable and does not need $IFS hacking (which amounts to | guess a char I might not see in a filename). | | Hmm...I don't have as much problem

Re: For Loops and Space in Names

2008-12-09 Thread Cameron Simpson
On 09Dec2008 20:55, Dave Ihnat [EMAIL PROTECTED] wrote: | On Wed, Dec 10, 2008 at 01:31:45PM +1100, Cameron Simpson wrote: | BTW, you know that this: ... | | Yes, I was doing bad pseudocode; it usually would be something like: | | exec 0/etc/passwd | while read inline | do

Re: For Loops and Space in Names

2008-12-10 Thread Cameron Simpson
spaces in words trouble we're all working around here. Personally, I strive to be robust against weird names in my code, to avoid having to play rename games like yours. I do have renaming scripts like your for much the same reason you do, though. Cheers, -- Cameron Simpson [EMAIL PROTECTED] DoD#743

Re: Sed programming question

2008-12-10 Thread Cameron Simpson
performance expense thus: /(foo.*bah|bah.*foo)/{ ... do stuff for foo AND bar } This gets combinatorially worse for each additional AND you try to fake; you are better off nesting matches as in the previous example. Have you considered joining the sed-users list? Cheers, -- Cameron

Re: For Loops and Space in Names, take 2

2008-12-10 Thread Cameron Simpson
On 10Dec2008 20:52, Robert Wuest [EMAIL PROTECTED] wrote: | On Thu, 2008-12-11 at 10:02 +1100, Cameron Simpson wrote: | Because the $1 is unquoted here you probably don't need the + in the | regexps. But you probably should quote $1 because of this: | |[/Users/cameron]fleet* x='t

Re: stable algorithm with complexity O(n)

2008-12-13 Thread Cameron Simpson
more care on the comparison stage for most algorithms. I think you need to define the problem in more detail. -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ Newtons 4th law: For every action there is an equal and opposite beaureaucratic policy. - Adrian

Re: stable algorithm with complexity O(n)

2008-12-13 Thread Cameron Simpson
On 14Dec2008 01:42, Marko Vojinovic vvma...@panet.co.yu wrote: | On Sunday 14 December 2008 00:17, Cameron Simpson wrote: | On 13Dec2008 19:22, David Hl??ik da...@hlacik.eu wrote: | | i am really sorry for making offtopic, hope you will not kill me, but | | this is for me life important problem

Re: procmail/examples

2008-12-16 Thread Cameron Simpson
enabled in yumex, I am not seeing the | src rpm for procmail. | So where can I get it? I'd go here: http://freshmeat.net/projects/procmail/ No RPM, but sources. Got a specific problem you're trying to solve? Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs

Re: /etc/profile

2008-12-22 Thread Cameron Simpson
as they are started. Are you sourcing /etc/profile yourself, by hand? -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ The wonderous pulp and fibre of the brain had been substituted by brass and iron; he had taught wheelwork to think. - Harry Wilmot Buxton 1832

Re: how to play an audio cd?

2008-12-26 Thread Cameron Simpson
jack, or hook the drive audio out to your sound card I believe (then you need to hook some more software to your sound card of course). -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ SCREECH! BUMP-BUMP! SCREECH! BUMP-BUMP! SCREECH! BUMP-BUMP! ZOOM! - the sound

Re: Bash and Single Quotes

2009-01-11 Thread Cameron Simpson
quotes, presuming you literally need double quotes in the --sout= option value. You want to use double quotes. If you want literal double quotes, escape them, eg: --sout=#transcode...,dst=\$MP3\} (replace ... with the other stuff I left out) Cheers, -- Cameron Simpson c...@zip.com.au DoD#743

Re: rsync help

2009-01-12 Thread Cameron Simpson
. and the corresponding stuff for the CIFS mount. It is necessary that the characters on the source directory be expressible on the target directory. If you hit a dead end here (on this list) there are always the rsync lists: http://rsync.samba.org/lists.html Cheers, -- Cameron Simpson c

Re: Disable root login via SSH

2009-01-13 Thread Cameron Simpson
in sshd_config... You have remembered to restart sshd, too, yes? kill -1 $(/var/run/sshd.pid) Sshd only reads its config when it starts, so this step or a stop/start of the sshd service is needed for changes to take effect. Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http

Re: OT: help with text file?

2009-01-17 Thread Cameron Simpson
number on each line of the new file? | | How about: | grep -o -E [[:digit:]]+$ foo.txt new_file.txt I see your grep and raise you a sed: sed 's/.*[^0-9]//' foo.txt new_file.txt Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ -- fedora-list mailing

Re: A bug in syslogd?

2009-01-23 Thread Cameron Simpson
, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ Anagram: Information superhighway == I'm on a huge wispy rhino fart. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http

Re: application to suck up RSS to local storage?

2009-01-29 Thread Cameron Simpson
that I can view it locally without much latency delays? I've used this: http://rss2email.infogami.com/ Delivers RSS entries into a mailbox; then read it with your preferred mail program. -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ Q: How many user support

Re: Problem Deleting Directory Files

2009-02-11 Thread Cameron Simpson
' and proceed. On several UNIX platforms it's possible to give files away, and a tar unpack quite often preserves the ownerships from inside the tar archive, even as non-root. I'm fairly sure I've had this happen to me on Linux, and so it's quite possible he wasn't root during the unpack. Cheers, -- Cameron

Re: How to re-lock ssh private key?

2009-03-03 Thread Cameron Simpson
a key with ssh-add and specify a timeout then. Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ Piracy gets easier every day, but listening to legally purchased music gets harder by the day. Firehed - http://politics.slashdot.org/comments.pl?sid=179175cid

Re: xrander and big screen

2009-03-05 Thread Cameron Simpson
. (I don't run Gnome or KDE, so I can't help much there). Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ We don't like their sound, and guitar music is on the way out. --Decca Recording Co. rejecting the Beatles, 1962. -- fedora-list mailing list

Re: Bash help requested: Capturing command errors within pipes

2009-03-19 Thread Cameron Simpson
the advantage of working in non-pipe circumstances (nested subshells, etc). Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ You don't stop riding because you get old, you get old because you stop riding. - Anon. on rec.motorcycles -- fedora-list mailing

Re: Bash help requested: Capturing command errors within pipes

2009-03-19 Thread Cameron Simpson
On 19Mar2009 18:55, Daniel B. Thurman d...@cdkkt.com wrote: Cameron Simpson wrote: Ok, but I strongly recommend you never us a regexp unquoted - the necessary backslash nesting gets nasty real fast. A better way is like this: re='s/b/h/' sed -e $re [...] The point here, unrelated

Re: Bash help requested: Capturing command errors within pipes

2009-03-21 Thread Cameron Simpson
, then sorted and uniq the temp file back into the original file. The result was a file that ended up much smaller than the original file! Yah, see discussion above. Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ The govt MUST regulate the Net NOW! We

Re: Bash help requested: Capturing command errors within pipes

2009-03-22 Thread Cameron Simpson
On 22Mar2009 11:09, Steven W. Orr ste...@syslang.net wrote: | On Saturday, Mar 21st 2009 at 22:41 -, quoth Cameron Simpson: | =On 21Mar2009 16:47, Daniel B. Thurman d...@cdkkt.com wrote: | = When I tried `sort -un', the data was truncated, i.e. | = there is data loss. So, when I went back

Re: Efficient Create Swap File?

2009-03-27 Thread Cameron Simpson
with holes, which it may, you also get much more contiguous file if you preallocate. Data blocks allocated later must come from where the free space is at that time. Might be anywhere. Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ Good judgement comes from

Re: using 'mv' instead of 'cp' to transfer directories to other partitions or disks

2009-04-01 Thread Cameron Simpson
to _read_ from disc though. if you've read the data recently then the OS can just pull it from RAM, not disc, is it is still cached. Anyway, a mv from one filesystem to another _is_ a cp. The timing is essentially the same. Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http

Re: Resources to learn C

2009-04-04 Thread Cameron Simpson
, and it is useful to have sitting around. It's what I learnt from. I know it's not online, but a book doesn't consume your screen real estate, and can also be consulted when your computer is offline, or even off. -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ Debugging

Re: how to add stuff to crontab without using crontab -e

2009-04-12 Thread Cameron Simpson
. Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ I distrust a research person who is always obviously busy on a task. - Robert Frosch, VP, GM Research -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman

Re: useradd and the default group

2009-04-13 Thread Cameron Simpson
on a directory, new files and directories a process makes get their group ownership from the primary group. _Access_ (open, cd, etc) is governed by uid and all the groups. Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ Drive Agressively Rash Magnificently

Re: Effect on ssh of altering target's assigned ip address

2009-04-22 Thread Cameron Simpson
need to see the output of ssh -v ., but you should fix ping first. If ping doesn't work, ssh almost certainly won't, and for reasons having nothing to do with ssh itself. Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ We should forget about small

Re: Effect on ssh of altering target's assigned ip address

2009-04-22 Thread Cameron Simpson
and on the remote one. If, for example, one end is half duplex instead of full duplex you will see horrible performance problems much like what you describe. Do I recall you're using a gigabit switch? Are you using cat6 cables throughout? Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http

Re: Globbing with scp

2009-05-26 Thread Cameron Simpson
(ssh-agent). Then you won't have to type passwords all the time. Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ ..you're off! Bottom of the crack, three, four smooth moves, put in a piece, clip, clip, traverse...find that foothold...hang on...couple

Re: maildir setup for mutt

2009-06-02 Thread Cameron Simpson
-lists.html and ask there in more detail. Your setup does not sound very unusual, and there are willing and experienced mutt people on the list who can almost certainly help you. Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ Below 9000rpm it's very boring, above

Re: Questions with rsync

2009-06-03 Thread Cameron Simpson
' option, so you'd set up /media/500GB-Drive/backups/.hbinclude as required. There's a bunch of similar rsync-based backup scripts on the web for this purpose. Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ There's a fine line between cleverness and stupidity

Re: /bin/sh different than bash in fedora 11

2009-06-19 Thread Cameron Simpson
there's some amazing reason to rely on bash; that way your code will be portable to other UNIX systems. They all have sh but not all have bash. -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ Sometimes you just need to look reality in the eye, and deny

Re: Firefox not reading prefs.js [SOLVED]

2009-06-20 Thread Cameron Simpson
ownership is a mystery to me. Almost certainly you started firefox as root, probably with $HOME set to your own home dir. Do you use the su or sudo commands much? -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ Do not underestimate your abilities. That is your

Re: trying to find a path/file...

2009-07-09 Thread Cameron Simpson
find /foo/*.txt -cmin -10 -ls Don't forget that while you _usually_ point find at directories, it can be pointed at files too. Also consider: find /foo -depth 1 -name '*.txt' -ls find /foo -depth 1 -name '*.txt' -cmin +10 -ls Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http

Re: why permission error if i'm not trying to change alternatives?

2009-07-14 Thread Cameron Simpson
prefer to require a special flag for such operation (eg --force). Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ If it can't be turned off, it's not a feature. - Karl Heuer -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https

Re: fedora 11 bash maximum line length?

2009-07-20 Thread Cameron Simpson
, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ They call me a bummer and a gin-sop,toobut what care I for praise! - Bob Dylan. The days of '49 -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo

Re: scripting doubts

2009-08-04 Thread Cameron Simpson
# tidy up grants=$tmpbase.grants.txt while read host do mysql -h $host -ublah -pfhfhfhfhf -e show grants... $grants \ || { echo skipping $host, maybe down 2 continue } egrep . $grants | wc -l ... done file-of-hosts Cheers, -- Cameron Simpson c

Re: scripting doubts

2009-08-06 Thread Cameron Simpson
On 05Aug2009 09:52, Arthur Meeks Meeks arthur.meeks.lu...@gmail.com wrote: | 2009/8/5 Cameron Simpson c...@zip.com.au | On 04Aug2009 20:04, Arthur Meeks Meeks arthur.meeks.lu...@gmail.com | wrote: | | What's the problem? When I can't log into a mysql database (mostly | | cause it is down) I

Re: Unmatched Entries

2009-08-13 Thread Cameron Simpson
their content. To do that it must recognise each line and decide to ignore it or summarise it. Lines it doesn't recognise get reported explicitly as above because it doesn't know how to treat them. For safety it shows them to you. Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http

Re: list files but not directory

2009-08-23 Thread Cameron Simpson
On 21Aug2009 05:17, ann kok oiyan...@yahoo.ca wrote: | ls -1 but I only want the file to list not directory Please don't top-post. PLease BELOW and TRIM the quoted material for context, as I have done. Have you tried: ls -l | grep '^-' Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http

Re: list files but not directory

2009-08-25 Thread Cameron Simpson
it with this: ls -hl | grep '^[^-]' Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ We now return you to the previously scheduled counter-steering flame-fest and under-clothing auction, after a few words about your sponsor, the DoD. - Denis McKeon gal

Re: Question on shredding a terebyte drive

2009-09-02 Thread Cameron Simpson
; if the purpose is solely to erase the drive beyond recovery.) It may deplete your machines random bit pool, so don't generate an new ssh or GPG or SSL private keys during or soon after this process. Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ If it's

Re: convert ico to svg or png

2009-09-02 Thread Cameron Simpson
of the latter; I moved to GraphicsMagick some years back). -- Cameron Simpson c...@zip.com.au DoD#743 -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: Question on shredding a terebyte drive

2009-09-02 Thread Cameron Simpson
. Cheers, -- Cameron Simpson c...@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/ This is not a bug. It's just the way it works, and makes perfect sense. - Tom Christiansen tchr...@jhereg.perl.com I like that line. I hope my boss falls for it. - Chaim Frenkel cha...@cris.com

  1   2   >