Re: [SOLVED] script to backup installed packages

@mcarni, you know that when you use "sh <script>" you are specifying sh as the shell the script will be run with. In otherwords, you are overriding the shebang (#!/bin/bash) with /bin/sh. On our systems, we actually don't have an actual /bin/sh, as it is a symlink to bash. But when it is called via that symlink, it actually does its best to act like the old bourne shell.

Re: [SOLVED] script to backup installed packages

@ WonderWoofy,ops... I actually didn't know, I thought that launching a script with "sh" or by "./" was the same thing...when Graysky replied I did some google search and together with your explanation it all makes sense...Thanks a lotM