Installing fun plug (FFP) on D-Link DNS 320, 323, 325, 323, 343 and 345

July 27th, 2016

Good instructions on installing fun plug to extend the D-Link NAS devices.

Automatically run program on startup under linux ubuntu

July 27th, 2016

sudo mv /filename /etc/init.d/
sudo chmod +x /etc/init.d/filename
sudo update-rc.d filename defaults

How to set up bash completion for command arguments

July 27th, 2016

Here are a couple of links to the information that actually helped me create some bash completion functions.

How do I set up bash completion for command arguments?

Writing your own Bash Completion Function


How to process a multiline string line at a time

July 27th, 2016

foreach (split(/\n/, $str)) {
  if (/START/../END/) {
    next if /START/ || /END/;
    print;
  }
}

UNIX find for finding file names NOT ending in specific extensions

July 27th, 2016

without ( and the need to escape it:

find . -not -name "*.exe" -not -name "*.dll"

and to also exclude the listing of directories

find . -not -name "*.exe" -not -name "*.dll" -not -type d

or in positive logic ;-)

find . -not -name "*.exe" -not -name "*.dll" -type f