| script will not allow functions to work hello, i am writing a small script to take care of some things when booting my knoppix disk. i cannot get any functions or aliases to work. i am sending these commands in the script:
function jdw () { alias list="ls /mnt/"; }
jdw
function jdm () { alias bdc="bdc --arc --delete --moves"; }
jdm
i start the script with #!/bin/bash
but have tried #!/bin/sh
also i have tried just the alias but with the shopt -s expand_aliases command and it also fails. everything else in the script works. |