Re: Bash scripting problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Sa, den 08.01.2005 schrieb Chadley Wilson um 18:49:

> I can't begin to explain how strange this is

Nothing strange ...

> I have run your script as posted on two different system both with fresh 
> installs
> 
> heres the output[root@check39 ~]# sh test.sh

Why the hell do you use "sh"?

./test.sh

With the correct shebang line it will use bash and not sh.

> all aliases set
> 0
> 
> unalias cp and mv
> 
> test.sh: line 9: unalias: cp: not found
> test.sh: line 10: unalias: mv: not found
> 0

> Chadley Wilson

Alexander


-- 
Alexander Dalloz | Enger, Germany | new address - new key: 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora GNU/Linux Core 2 (Tettnang) on Athlon kernel 2.6.9-1.6_FC2smp 
Serendipity 19:08:24 up 16 days, 20:52, load average: 1.70, 0.88, 0.47 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux