LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-23-2005, 03:49 PM   #1
meadensi
LQ Newbie
 
Registered: Feb 2005
Posts: 18

Rep: Reputation: 0
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
 
Old 03-04-2005, 06:17 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,932

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
Does it work at the command line?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with bash script. cheater1034 Programming 9 11-21-2005 11:29 PM
bash script problem fatbastard spice Linux - General 2 08-24-2005 03:15 AM
Problem with this bash script cantabile Programming 3 06-06-2005 06:31 PM
bash shell command line expansion hansi umayangan Linux - General 2 03-13-2005 12:31 PM
bash script $n variable expansion cortez Programming 6 12-08-2003 05:03 PM


All times are GMT -5. The time now is 10:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration