David C. Rankin wrote: > K.R. Foley wrote: > >> That doesn't make any sense. Could you post the actual code of the >> script? If the code is as you show it above there is no way that it >> lists the current directory, unless you have some kind of wierd alias >> for ls. Type "which ls" without the quotes to see where ls is being run >> from. >> >> > > I agree that it doesn't make any sense. Here is the script in its entirety: > > #!/bin/bash > echo -e *** /usr/lib/libGL.so Config '\n' > ls -al /usr/lib/libGL.so* > echo -e *** /usr/lib/libIndirect Config '\n' > ls -al /usr/lib/libIn* > echo -e '\n' > read -p "Strike and Key to See xorg.conf: " key > echo -e '\n' > tail -n24 /etc/X11/xorg.conf > > Run it, it just shows a few config files. You will see that is produces > a ls of the present directory before doing what it should. Any thoughts? > > >
Hi, Your script is wrong. change all your echo to (use double quotes) echo -e "*** /usr/lib/libGL.so Config \n" and all your probs will disappear!! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
