LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Bash Script Expansion Problem (https://www.linuxquestions.org/questions/linux-newbie-8/bash-script-expansion-problem-293993/)

meadensi 02-23-2005 02:49 PM

Bash Script Expansion Problem
 
People,

Ok so now I have a new problem. When I run the code (using the bash -x option ) ...
Code:

# Enable broadcast echo Protection
echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts

I get the response
Code:

code:+echo 1
:No such file or directoryet/ipv4/icmp_echo_ignore_broadcasts

Now we can see that the error message "No such file or directory" is being merged with the pathname "/proc/sys/net/ipv4/icmp_echo_ignore_broadcasts". I've highlighted them in color.

The pathname is definitely valid. I think Fedora is trying to expand it out somehow.
Any ideas?
Meadensi

michaelk 03-04-2005 05:17 PM

Does it work at the command line?


All times are GMT -5. The time now is 08:06 AM.