Tag: Linux
-
Return of the 007 SSH Agent
Years ago when I first stared listening to podcasts when I had barely worked at PRWeb for a year even, I came up with a piece of shell script to automatically start up an ssh-agent and ask for your passphrase. Unfortunately, the code created tons of ssh-agents, which was unfortunate. Here is a version that…
-
Tiny Computers: 4 for $100
This would be an awesome exhibit for LinuxFest Northwest 2012: small usb computer kit.
-
Translating Filenames — Bash Voodoo Style #linux
This is an example of using Bash to convert a crazy apache log and translating the filename into an IIS log pattern: d=`date +%Y%m%d` find k -type f \ | while read filename do nextfile=”${filename/k\/done?0.www\./k2/www-Server_T${d}_}.log” echo “$nextfile” cat $filename | $translate > “$nextfile” done I love how I can refer to a shell variable ($d)…
-
Who Else Wears Kilts at LinuxFestNW? #lfnw
The real question is, how will I ride my bike with a sword on my back towing the tag along without dropping anything?
-
Tail the Latest Log File
I’m grateful for Cygwin. I wouldn’t know how to do this in cmd–though I should probably learn how to do it in PoSH. find LogFiles/W3SVC1 -type f | xargs ls -1tr | tail -n1 | xargs tail -F I need to make it an alias now….
-
When NOT to Use a SAN?
The vast number of filesystems, distributed file systems, and network replication schemes available for Linux all come with learning curves and caveats. When does one actually want to avoid merely picking out an average SAN solution and go with a Linux oriented distributed storage solution like Gluster or NFS on DRBD?