hi,
   i have following lines in bash.

#!/bin/bash
mount -t vfat /some/usb_devfs/device /mnt/usb
cd /mnt/usb

But somehow the 'cd' command behaves very strangely.
if after cd /mnt/usb i put 'pwd' it shows '/mnt/usb' but,
instead of 'pwd' if i put 'ls' it shows the listing of dir from which
the script is executed. very strange.

   
-- 
Life is complex.
It consists of real and imaginary parts.

--
http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

Reply via email to