LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-05-2008, 03:28 AM   #1
thunyiwe
LQ Newbie
 
Registered: Nov 2006
Distribution: RHEL4,5,6&7,Debian sarge,etch & Fedora 18,19,20
Posts: 28

Rep: Reputation: 15
sudo: /home/admin/firewall_scripts/firewallInstall.sh: command not found


Hi

I am trying to install the policy rules on my new firewall using firewall builder and I get this error will anyone help;
sudo: /home/admin/firewall_scripts/firewallInstall.sh: command not found
 
Old 08-05-2008, 05:17 AM   #2
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Any typos in the path? Is the file really there? Did you have to chmod a+x first? sh scripts that have not been chmoded can also be run with bash file.sh.
 
Old 08-05-2008, 01:32 PM   #3
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
In addition to jay's great set of questions, do you get the error when not running it via sudo?
 
Old 08-06-2008, 01:58 AM   #4
thunyiwe
LQ Newbie
 
Registered: Nov 2006
Distribution: RHEL4,5,6&7,Debian sarge,etch & Fedora 18,19,20
Posts: 28

Original Poster
Rep: Reputation: 15
Firstly yes I get the error when I run as root as well,
Now it makes sense I am trying to install to policies and yet the file is not there, i will find a way to get it there and try it again hence it says command not found.
 
  


Reply



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
why sudo root command not found? vitalstrike82 SUSE / openSUSE 5 11-07-2007 08:29 PM
sudo: shutdown: command not found ekdya Fedora 2 09-29-2006 04:42 PM
bash: rpm: command not found && sudo: alien: command not found Java_Code Ubuntu 7 07-27-2006 11:57 PM
sudo command not working startproc cmd not found Imajica21 Linux - General 2 04-14-2005 01:22 PM
sudo: readme : command not found vishal.thorat Linux - Security 3 07-17-2003 05:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:33 PM.

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
Open Source Consulting | Domain Registration