Re: selecting text with mouse

2025-03-25 Thread Karl Vogel
ted using xterm, I couldn't copy with the mouse and drag past the top or bottom of the screen. The workaround for me is to single-click anywhere in the terminal history, go where I want, then right-click once and the whole area between clicks is copied. I'm including my .Xdefaults in case

Re: Firefox

2025-02-10 Thread Karl Vogel
efox. That doesn't cause me any problems until I've been running for 20-25 days, as long as I force everything off swap periodically. -- Karl Vogel I don't speak for anyone but myself May someone replace your printer's standard ink with a foul, vengeful tar made from discarded Waffle House cooking oil. --James Mickens

Re: Dell Latitude 5400 + plasma - keyboard?

2025-02-07 Thread Karl Vogel
e system thinks you're doing. If Wayland, "xev" might work; you could also try "wshowkeys". -- Karl Vogel I don't speak for anyone but myself I got a dog and named him 'Stay'. Now, I go 'Come here, Stay!' After a while the dog went insane and wouldn't move at all. --Steven Wright

Re: What is going on with firefox

2025-01-14 Thread Karl Vogel
ot;Sorry, $file is open - close Firefox"; break ;; 1|2) echo $file; echo 'vacuum;' | sqlite3 $file ;; *) echo "[$@]: fuser $file did something weird"; break ;; esac done Hope this helps. -- Karl Vogel I don't speak

Re: Firefox alternatives?

2024-12-12 Thread Karl Vogel
g. Memory is half full, and swap is about 10% used. When I kill > Firefox and restart, things go back to normal for a few hours. Try going to "about:memory" and clicking "Minimize Memory Usage". I noticed that Firefox removed the (useful) ability to limit the number o

Re: Shell function & variable usage.

2024-12-07 Thread Karl Vogel
excfile="/usr/local/etc/${tag}-exclude" test -s "$excfile" || { echo die screaming; exit 1; } ... rsync -anuv --exclude-from="$excfile" "$source" "$destination" -- Karl Vogel I don't speak for anyone but myself COMMENT: That's an amazing deal, would snap it up if I had the money. REPLY: You can eat next month.--Reddit on buying storage, 21 Nov 2024

Re: Looking for X cursor theme with bigger or darker I-Beam

2024-12-05 Thread Karl Vogel
rm.VT100*colorULMode:on XTerm.VT100*underLine: off ! Uncomment this to use color for the bold attribute XTerm.VT100*colorBDMode:on Hope this helps. -- Karl Vogel I don't speak for anyone but myself Please whit

Re: Adding a new boot disk while keeping old disk

2024-11-26 Thread Karl Vogel
change to an /etc file: root# mkdir /etc.orig root# cd /etc root# find . -print | cpio -pdum /etc.orig HTH. -- Karl Vogel I don't speak for anyone but myself CEO assistant: "please reset CEO's password, he's too drunk to remember it."

Re: roundcube (Was: apache2 error after upgrade Buster->Bookworm)

2024-10-24 Thread Karl Vogel
here, but it resolves syslog LOG_MAIL remove_bcc_headers off # Bcc to myself for an accurate copy from mick.cr...@gmail.com auth on user mick.crane password m/d4sS2aQiCfML# or whatever you use to authenticate... "msmtp" is pretty much set and forget. --

Re: Redis installation error(s) on Debian SID

2024-10-12 Thread Karl Vogel
and using something like safesys() would: * let systemctl write something (hopefully an error message), * show exactly what arguments are being passed to it, and * show its exit value. -- Karl Vogel I don't speak for anyone but myself In [the movie] "Seven", I put it in my contract: The wife's head stays in the box. --Brad Pitt on early contract negotiations

Re: Redis installation error(s) on Debian SID

2024-10-12 Thread Karl Vogel
se it's bitten me in the ass before; any metacharacters in any argument cause the whole thing to be passed to a shell, which can result in all sorts of entertainment. If I ever have to use it in a perl script, I make a safe wrapper. I've attached a small example. -- Karl Vogel

Re: logging with iptables

2024-09-20 Thread Karl Vogel
The first entry in the "RULES" section shows how to put iptables stuff in its own "firewall" log. -- Karl Vogel I don't speak for anyone but myself Photographing a volcano is just about the most miserable t

Re: BASH reference for those who are "learning by doing"?

2024-09-09 Thread Karl Vogel
all screen. Have you tried some different fonts? My eyesight is poor, and a good font made all the difference. https://bezoar.org/posts/2023/0214/font-screenshots/ -- Karl Vogel I don't speak for anyone but myself Debugging: when you're the detective, the victim,

Re: bash history

2024-08-01 Thread Karl Vogel
This is how I keep a long-term record of bash commands from different sessions: https://www.reddit.com/r/bash/comments/ak9c3r/ HTH -- Karl Vogel I don't speak for anyone but myself Comment: I use a screwdriver a lot Reply: I'm all out of orange juice. Wil

Re: Markup in mail messages

2024-05-16 Thread Karl Vogel
>> On Thu, May 16, 2024 at 09:48:23AM -0400, to...@tuxteam.de wrote: > Actually I've been tempted to teach my mail reader to transform HTML > into some lightweight markup (yeah, you need a bit of heuristics for > that ;-) -- say Org, but why not its poor sister Markdown. https://github.com/aaro

Re: Zutty fonts - zutty always uses the same font and fontsize

2024-05-01 Thread Karl Vogel
t from source is easy. https://invisible-island.net/archives/xterm/xterm-390.tgz{,.asc} -- Karl Vogel I don't speak for anyone but myself My mind is like my browser: 19 open tabs, three of them are frozen, and I have no clue where the music is coming from.

Re: Changing The PSI Definition

2024-01-27 Thread Karl Vogel
user_pref("font.name.serif.x-western", "DejaVu Serif"); user_pref("font.size.fixed.x-western", 18); user_pref("font.size.variable.x-western", 18); -- Karl Vogel I don't speak for anyone but myself Slogan of 105.9, the classic rock radio station in Chicago: "Of all the radio stations in Chicago...we're one of them."

Re: smartctl cannot access my storage, need syntax help

2024-01-24 Thread Karl Vogel
On Tue, Jan 23, 2024 at 06:05:29AM -0500, gene heskett wrote: > On 1/23/24 00:30, Karl Vogel wrote: > >>> On 1/22/24 11:31, gene heskett wrote: > > > > G> How does an 8T backup server sound for another $200 in hdwe? Very > > G> enticing and I do have the sh

Re: smartctl cannot access my storage, need syntax help

2024-01-22 Thread Karl Vogel
you buy two, use one for a complete backup and the other for incrementals or differentials? (I know, more than $200...) -- Karl Vogel I don't speak for anyone but myself I yam Popeye of Borg. You will be askimilgrated.

Re: Isolated Web Co Session crash Firefox-ESR

2023-12-06 Thread Karl Vogel
7; > > Sadly it looks like I'll need to do this daily, > > It's the browsers eating your memory. That's what they do. I've had problems with Firefox eating my swap on both Linux and FreeBSD. My fix has been to run the swap2ram script below hourly. -- Karl

Re: Work environment

2023-11-24 Thread Karl Vogel
er factor, desktops are bigger than laptops, so > there is room for more hard drives, optical drives, more PCI cards etc. It gives me a big monitor, a good mouse, and a keyboard that doesn't suck. -- Karl Vogel I don't speak for anyone but myself Drunk Gri

Re: Too much log for sudo.

2023-10-12 Thread Karl Vogel
On Thu, Oct 12, 2023 at 11:22:00AM -0400, Erwan David wrote: > I use a script to run borg backup. For it to be able to backup files that > only root may read, i use sudo --preserv-env=BORG_REPO,BORG_PASSPHRASE. > > However I see that in the logs the VALUE of the env variable is loggued. How > to c

Re: Sunrise and Sunset from terminal

2023-09-29 Thread Karl Vogel
2nd October, 2023: sunrise at 07:33, sunset at 19:18 Reminders for Tuesday, 3rd October, 2023: sunrise at 07:34, sunset at 19:15 Reminders for Wednesday, 4th October, 2023: sunrise at 07:35, sunset at 19:15 Reminders for Thursday, 5th October, 2023: sunrise at 07:36, sunset at 19:12 -

Re: [a bit OT] Automate a (G o o g l e) search from a list of strings

2023-09-19 Thread Karl Vogel
, Corsairs, Buccaneers: What's the Difference? www.britannica.com > Demystified > Geography & Travel Corsairs were essentially privateers, although the term corsair carried an added religious connotation because the conflict was between Muslim and Christian... HTH. -- Karl Vo

Re: door bell like sound effect

2023-08-30 Thread Karl Vogel
On Wed, Aug 30, 2023 at 07:55:14AM -0400, songbird wrote: > Karl Vogel wrote: > ... > > If nothing else, it's faster to run "locate" and look for file extensions; > > running "file" on that much crap took nearly 9 hours. > > do you have SSDs

Re: door bell like sound effect

2023-08-30 Thread Karl Vogel
.oga audio/ogg .ogg audio/ogg .opus audio/ogg .raaudio/x-pn-realaudio .voc audio/x-unknown .wav audio/x-wav If nothing else, it's faster to run "locate" and look for file extensions; running "file" on that m

Re: door bell like sound effect

2023-08-29 Thread Karl Vogel
That might point you to an actual device name. -- Karl Vogel I don't speak for anyone but myself. Comment: One of my friends drank half a bottle of rum and refilled it with a bodily fluid of similar color. Reply: Your friend should see a doctor and

Re: Using the bash shell: determine if the root user used 'sudo -i'

2023-08-26 Thread Karl Vogel
var/authpf drwxr-xr-x 27 root wheel 120 26-Aug-2023 07:55:02 /etc/ drwxrwx--- 2 root authpf 2 05-Jul-2019 00:45:45 /var/authpf/ me$ ./try /etc 2023-08-26 18:31:54 try: start working in /etc me$ daemon -f $PWD/try /etc me$ daemon -f $PWD/try /var/authpf

Re: git setup

2023-08-21 Thread Karl Vogel
tem showing my hook ran when the commit was done: me@bkup% tail -1 /var/log/messages Aug 22 00:31:27 bkup autopull[80162]: git pull whatever Replace the "logger ..." part of post-commit to run "git pull" or whatever. Hope this helps. -- Karl Vogel

Re: xterm font and other options

2023-08-21 Thread Karl Vogel
On Sun, Aug 20, 2023 at 10:38:34PM -0400, Max Nikulin wrote: > On 20/08/2023 14:55, Karl Vogel wrote: > > #!/bin/sh > ... > > # -fa 'xft:...' font size and weight > ... > > ( $XTERM $geo $topts -fa "$FONT" -title "Remote

Re: Looking for a good "default" font (small 'L' vs. capital 'i' problem)

2023-08-20 Thread Karl Vogel
--mandir=$dest/man \ --with-x \ --with-own-terminfo=$TERMINFO make make check make install It comes with a nice terminfo file. I've had problems with "tic" for ncurses >= version 6, so I use the ncurses-5.9 version to compile it:

Re: Recommendations for a UPS?

2023-08-01 Thread Karl Vogel
bert protects against power surges, brownouts, blackouts or drops in voltage. That's why they're a little more expensive. -- Karl Vogel / vogelke AT pobox DOT com / I don't speak for anyone at the moment Skills-wise they suck harder than a black hole with daddy issues.

Re: Recommendations for a UPS?

2023-08-01 Thread Karl Vogel
fellow Debian folks? > Thanks. I give a solid vote to Liebert. I had a near-miss lightning strike a few nights ago, and all it did was make my display go out for about a second. It came right back, session intact, didn't lose a thing. -- Karl Vogel / vogelke AT pobox DOT com / I

Re: Expect script does not work on crontab

2012-03-13 Thread Karl Vogel
r@somedomain:/var/app/ B> expect "Password:" B> send "somepassword\r" B> interact I believe the "interact" line is messing you up; when "expect" sees that, it wants a terminal or PTY to play with, and cron doesn't give it one. -- Kar

Re: Cron, > 1 month but < 2 months

2012-03-11 Thread Karl Vogel
ouch $ts" based on the return code from whatever you're trying to run. If it fails, do you want to alert someone and run it tomorrow or wait another 45 days? Reschedule by setting the $ts modtime instead of dorking around with cron. -- Karl Vogel I don&#

Re: How to keep track of files installed from sources?

2012-03-09 Thread Karl Vogel
ll" or do a separate check to make sure nothing was written outside of /usr/local: root# find / /usr -xdev -mtime -1 -ls -- Karl Vogel I don't speak for the USAF or my company I put instant coffee in a microwave and went back in time. --Steve

Re: Understanding the -depth option of find?

2012-03-08 Thread Karl Vogel
ive1/%Y/%m%d/%H%M')" root# mkdir -p $dest root# find ./userstuff -depth -newer /backup/etc/drive1 -print | pax -rwd -pe $dest In this case, the "-depth" option ensures correct timestamps on all created directories, and "-pe" preserves owner/gro

Re: history configuration

2012-03-07 Thread Karl Vogel
peset -i stat=$? local x x=$(fc -ln -1) local d="$(/bin/pwd)" logger -p local2.notice -t "$LOGNAME $$" $stat: $d: \($x\) } In order to really share this, you'd probably have to write something to grub a

Re: [OT] A quick Q: how to check the webpage building time

2012-03-05 Thread Karl Vogel
age/jpeg Content-Length: 14995 A dynamically-generated page will return the current time. Also, the server may be configured to NOT return the modtime for (say) an index.html file, even if it's static. -- Karl Vogel I don't speak for the USAF or my company Fo

Re: Question about ssh passwords and backup software

2012-02-13 Thread Karl Vogel
ess public/private keys with a C> restricted target command: C> command="backup-service",no-pty,no-port-forwarding ssh-rsa BLAHBLAH... If the box from which you're copying has a static hostname or IP address, include that as well: from="1.2.3.4",command

Re: [OT] how to take care of hand

2012-02-08 Thread Karl Vogel
R> On Mon, 6 Feb 2012 14:47:26 -0500 (EST) (Karl Vogel) wrote: K> I correct shoulder pain by doing 5-10 very slow pushups just before bed, K> or by holding a dumbbell over my shoulder and letting my hand dangle K> over the back of the couch while watching TV. >> On Mon, 6 Feb 2

Re: [OT] how to take care of hand

2012-02-06 Thread Karl Vogel
before the body can use them, and they tend to get eaten up faster when under stress. I also take cod-liver oil to keep my joints nice and gushy. Your doctor may disagree. -- Karl Vogel I don't speak for the USAF or my company ANTI-TALKSIDENT: A spray carried in a

Re: how to check the server can be connected or not

2012-02-06 Thread Karl Vogel
If you use Postfix, see the http://www.postfix.org/local.8.html sections on ADDRESS EXTENSION and EXTERNAL COMMAND DELIVERY. -- Karl Vogel I don't speak for the USAF or my company The patient is tearful and crying constantly. She also appears to be depressed.

Re: how to check 400 files exist

2012-01-20 Thread Karl Vogel
#x27;t do any glob-expansion of filenames, so it won't barf if you have a lot of files. It assumes you're in the same directory as the files you're checking. -- Karl Vogel I don't speak for the USAF or my company A raccoon tangled with a 23,000 volt

Re: How to do this, fold + split

2012-01-06 Thread Karl Vogel
rary file, redirects all output there, then if there is output it emails it off. There are many ways to do this and I tinker it as needed. If you want one word per line, which can be very handy: me% gfmt -1 sample.txt Here is what [...] as needed. -- Karl Vogel

Re: fastcgi too slow in debian squeeze

2011-12-20 Thread Karl Vogel
ing a site, it's almost always been something DNS-related. Do you have any other apps requiring external host resolution that are seeing similar delays? A caching DNS resolver usually fixes things, and it's not hard to set up. -- Karl Vogel I don't s

Re: Crazy (?) idea: screen locker with simpler password

2011-11-08 Thread Karl Vogel
/etc/shadow to /etc/shadow.lo? Then your password-changer could be: alias hisec='sudo cp -p /etc/shadow.hi /etc/shadow' alias losec='sudo cp -p /etc/shadow.lo /etc/shadow' -- Karl Vogel I don't speak for the USAF or my

Re: linux friendly hardware inquiry/advise

2011-10-19 Thread Karl Vogel
stechnica.com/guides/ http://arstechnica.com/gadgets/guides/2011/03/ars-system-guide-march-2011-edition.ars -- Karl Vogel I don't speak for the USAF or my company I've seen people with new children before, they go from ultra happy to looking like someth

Re: Formatting external HDD

2011-10-19 Thread Karl Vogel
death. In that case, now's not the time to experiment. Use something familiar, and play around *after* your stuff is safely backed up. -- Karl Vogel I don't speak for the USAF or my company Salesmen welcome. Dog food is expensive.--seen o

Re: a quick Q: how to start run a job after another job finished

2011-10-06 Thread Karl Vogel
id 2> /dev/null; do sleep 60 done /path/to/newjob.sh -- Karl Vogel I don't speak for the USAF or my company Taxation WITH representation isn't so hot, either.--bumper sticker -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org

Re: How do you save passwords for Git/GitHub?

2011-07-21 Thread Karl Vogel
ther interaction Protect this expect script the same way you do your private SSH keys, for exactly the same reason. If the interaction here doesn't match what you normally see, use the autoexpect program to watch over your shoulder while you do a session by hand, and it will write a

Re: (hopefully perl) API to /etc/network/interfaces?

2011-06-01 Thread Karl Vogel
lar problem (reading/writing dot-INI files) but preserves the section order. -- Karl Vogel I don't speak for the USAF or my company Things that never happen in "Star Trek" #7: The Enterprise successfully ferries an alien VIP from one place to another wit

Re: Problem with the global weigh of several files

2011-05-26 Thread Karl Vogel
dir: cannot cd"; exit 2; } dir=$(pwd) find . -type f -mtime -7 -printf "%s\n" | gawk -v "d=$dir" \ 'BEGIN { size = 0; } { size += $1; } END { printf "%s: %d new files using %.1f Mb\n", d, NR, size/1048576; }' exit 0 -- Karl

Re: first mkdir takes a long time (on ext3)

2011-05-21 Thread Karl Vogel
>> On 19/05/11 17:01, Hartmut Niemann wrote: H> It often takes very long time (20s) to mkdir on an ext3 drive >> Am Fr Mai 20 2011 schrieb Karl Vogel: K> What does "strace mkdir /some/directory" show? >> On Fri, 20 May 2011 08:38:41 +0200, said: H> $ s

Re: first mkdir takes a long time (on ext3)

2011-05-19 Thread Karl Vogel
>> On 19/05/11 17:01, Hartmut Niemann wrote: H> It often takes very long time (20s) to mkdir on an ext3 drive What does "strace mkdir /some/directory" show? -- Karl Vogel I don't speak for the USAF or my company Q: What lies on the bottom of t

Re: Format ext3 hard drives

2011-03-22 Thread Karl Vogel
he way you like. Details are below. -- Karl Vogel I don't speak for the USAF or my company Q: What's black and tan and looks good on a lawyer? A: A Rottweiler.--John J. Irvine -

Re: putting "/tmp" to memory help

2011-01-23 Thread Karl Vogel
orrected. http://landley.net/writing/rootfs-intro.html has a nice, short description of ramdisk vs. ramfs. -- Karl Vogel I don't speak for the USAF or my company The San Francisco Cable cars are the only mobile National Monuments.

Re: need help making shell script use two CPUs/cores

2011-01-09 Thread Karl Vogel
;re not hitting the same disk? If all your new photos are on the same drive, any CPU savings you get from parallel processing will probably be erased by disk contention. Better yet, do you have enough memory to do the processing on a RAM-backed filesystem? -- Karl Vogel

Re: recursively find duplicate filenames

2011-01-05 Thread Karl Vogel
n/perl -n chomp; print +(scalar reverse), "\n"; exit(0); And then: you% cd /some/place you% find . -print | rev | cut -f1 -d/ | rev | sort | uniq -c | \ expand | grep -v ' 1 ' Or you could replace the uniq-expand-grep with some awk weirdness

Re: recursively count the words occurrence in the text files

2010-12-30 Thread Karl Vogel
$words{$w}++; } } foreach (sort keys %words) { print "$_ $words{$_}\n"; } exit(0); me% ./words */* asdf 1 word1 2 word10 1 word2 4 word3 3 word4 2 word5 1 word6 2 word7 1 word8 1 word9 1 -- Karl Vogel

Re: Extremely large level 1 backups with dump

2010-12-07 Thread Karl Vogel
touch -d yesterday /tmp/TIME # "list" holds 8 340-Gb filesystems, from 42-67% full. find $list -newer /tmp/TIME -print | wc -l date Results: Tue Dec 7 13:34:05 EST 2010 541 Tue Dec 7 13:39:40 EST 2010 -- Karl Vogel I don&#

Re: Extremely large level 1 backups with dump

2010-12-06 Thread Karl Vogel
If you leave out the pax, you'll have a list of recently-changed files which you could feed to rsync via the --files-from=LIST argument. -- Karl Vogel I don't speak for the USAF or my company I would rather be exposed to the inconveniences attending too much libe

Re: scripting question: to parse data with varname=value pattern the easiest way?

2010-11-01 Thread Karl Vogel
# or whatever you're looking for set $str # will fail horribly if $str is empty result=$1 shift eval "$@" test "$b" && echo "$result $b" done exit 0 On the other hand, if someone sneaks somethi

Re: see what files are touched by a program

2010-10-19 Thread Karl Vogel
trace in /tmp/app21656: open("/tmp/stuff.swp", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600) = 4 open("4913", O_WRONLY|O_CREAT|O_EXCL|O_LARGEFILE, 0100644) = 3 open("stuff", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0644) = 3 open("/me/.viminfo.tmp"

Re: how to configure gcc

2010-09-30 Thread Karl Vogel
{ printf("hello, world\n"); #ifdef unix printf("unix defined\n"); #endif exit(0); } me% make cc -c -o hello.o hello.c cc hello.o -o hello me% ./make # using the frontend script gcc -O2 -pipe

Re: root can't sudo

2010-09-28 Thread Karl Vogel
spaces: #!/bin/sh PATH=/usr/local/bin:/bin:/usr/bin; export PATH test "`id -u`" -gt 0 && exec sudo $0 "$@" whoami for arg in "$@"; do echo "[$arg]" done exit 0 -- Karl Vogel I don't s

Re: rsync issue

2010-09-12 Thread Karl Vogel
] rm $list You can add any other filtering you might want after the last "find", you *know* exactly what files are being synced, and you can store that list someplace in case there's ever a question of why something did (or didn't) get copied. -- Karl Voge

Re: Dumping terminal contents to a file

2010-09-08 Thread Karl Vogel
* The SAVEON environment variable lets me set programs to show colors or mess with terminal settings only when it makes sense to do so. For example, my "dir" script looks like this: #!/bin/sh case "$SAVEON" in "") opt='--color=auto'

Re: match across line using grep

2010-08-02 Thread Karl Vogel
e 15 in file "sample". You can pass multiple files on the command line. The "matched" stuff is there in case there's some distracting text on the line besides the select statement. If you want m

Re: Shell Expansion in Bourne Shell Script Question

2010-07-28 Thread Karl Vogel
sting. I didn't mention that I have FreeBSD, Linux, and Solaris boxes, and unfortunately I can't guarantee the same access to GNU find. I can install xargs if the system version doesn't recognize the "-0" option, so I usually end up scripting for the lowest co

Re: Shell Expansion in Bourne Shell Script Question

2010-07-28 Thread Karl Vogel
/usr/bin export PATH exec tr '\012' '\000' exit 1 -- Karl Vogel I don't speak for the USAF or my company Q. Why are New Yorkers always depressed? A. The light at the end of the tunnel is New Jersey. --Fredrick Homan -- To UNSUBSCRIBE, e

Re: Shell Expansion in Bourne Shell Script Question

2010-07-28 Thread Karl Vogel
oesn't have any zipfiles, and MAGFILE will hold the expanded value of $MAGDIR with the string "*.[Zz][Ii][Pp]" appended. Bash, sh, and ksh all do that for some dopey reason, which is why I would do for file in $(ls $MAGDIR/*.[Zz][Ii][Pp] 2> /dev/null); do ...

Re: Monitoring tools to use on an account

2010-07-28 Thread Karl Vogel
eason to taste # check the dump for anything suspicious, remove it if clean tcpdump -r $out ... some filter here ... || rm $out k=$((k+1)) done You might also change the permissions on "ps" so he can't see "tcpdump" or any other steps you mig

Re: Sed or awk: remove a line from a file

2010-06-03 Thread Karl Vogel
, 5 Jan 2009 10:00:00 -0500 http://www.catonmat.net/blog/update-on-famous-awk-one-liners-explained/ Update on Famous Awk One-Liners Explained: String and Array Creation Mon, 9 Feb 2009 10:25:00 -0500 -- Karl Vogel I don't speak for the USAF or my company If walki

Re: monitoring internet availability and sending sms alert?

2010-05-16 Thread Karl Vogel
http://www.hcst.net/~vogelke/src/ishostup/ These scripts are good for exactly one thing: sending me (or someone) a message if a given piece of hardware at a given IP address stops responding for more than a minute or so. They rely on fping and regular email. -- Karl Vogel

Re: bash scripting question

2010-03-29 Thread Karl Vogel
Here's something I modified as part of a benchmark script called "fdtree". -- Karl Vogel I don't speak for the USAF or my company Dijkstra probably hates me. --Linus Torvalds, in kernel/sched.c #!/bin/bash # How to use xdate/xtime/persec: #