Say you have some files named a100 to a200 that you want to rename to b200 to b100 (it really does happen).

y=200
for x in `seq 100 200`
do
   mv a$x b$((y--))
done

seq is a fairly useful tool, it can also take a reversed list.

for x in `seq 200 -1 100`
do
printf "$x "
done

There are probably a million better ways to do these, but these are tricks that I keep using (I'm well on my way to becoming an old crusty unix guy :-( )


I purchased a Proxima DPP6850 off ebay. Because the projector is a few years old, it doesn't have any component video capability. It has composite, s-video and two rgbvh (VGA) inputs.


The Internet Control Message Protocol (ICMP) has many messages that are identified by a "type" field. I use the types to specify what actions to take in my custom iptables config.

Digital AV Out

To watch Gamecube games in progressive scan, you need to have a gamecube with digital out. Since 2004, Nintendo took the digital port off the gamecube. You can get your gamecube replaced with a model with the port directly from Nintendo.


  • Black/Blank Screen First time I tried it, kernel boots then nothing.

Sleeping

First problem, sleeping, the SATA bridge doesn\'t sleep properly and therefore doesn\'t come back after resume. The infamous SATA ACPI patch at http://lkml.org/lkml/2005/9/23/97 seems to have solved this for me. I added the patch to the latest FC4 rpm and renamed (to be polite).

Thomas Howard Uphill/Thomas Uphill Thomas Howard Uphill

Currently working as a Puppet Engineer at Wells Fargo. Red Hat Certified Architect with 10 years of Red Hat experience. Puppet and python aficionado who enjoys automating complex tasks. Available for remote contract work.


We were specifically trying to get skype to work on a sunray. We got audio working by configuring kde.


Slides from LISA 2019 Linux systems troubleshooting #LISA2019 https://t.co/D4dMKflK6R Tue Oct 29 05:59:30 +0000 2019

https://t.co/AGeihMALAv configuring grub2 with EFI Fri Sep 13 05:20:01 +0000 2019

I published a Thing on @thingiverse! https://t.co/IYpRyEb7Hz #thingalert Tue Jul 23 19:27:57 +0000 2019

Nokogiri install on MacOSX https://t.co/v3An0miW9L Fri Jul 12 15:06:49 +0000 2019

HTML email with plain mailer plugin on Jenkins https://t.co/Z6FSDMDjy8 Thu Jul 11 21:07:25 +0000 2019