runnung bash commands

2008-12-05 Thread lobo23...@gmail.com
hi, I'm totaly new to Leo but according to a course I follow it's a great tool to handle and sort the information from various pentests. I have a screenshot in front of me where I can see nmap is running inside of Leo. Aldo I know my way around in bash scripting, I'm a total noob when it comes

Re: runnung bash commands

2008-12-05 Thread Dan White
On Fri, Dec 5, 2008 at 9:40 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: So the case is: when I'm adding a script-button and put in #!/bin/bash cd /path_to_dir ./example.py options etc... I get a syntaxerror: invalid syntax, aldo the command works fine in a shell Leo executes the body

Re: runnung bash commands

2008-12-05 Thread Edward K. Ream
On Fri, Dec 5, 2008 at 9:40 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: So the case is: when I'm adding a script-button and put in #!/bin/bash cd /path_to_dir ./example.py options etc... I get a syntaxerror: invalid syntax, That's because Leo's execute-script command (and script

Re: runnung bash commands

2008-12-05 Thread Edward K. Ream
On Fri, Dec 5, 2008 at 9:58 AM, Dan White [EMAIL PROTECTED] wrote: On Fri, Dec 5, 2008 at 9:40 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: So the case is: when I'm adding a script-button and put in #!/bin/bash cd /path_to_dir ./example.py options etc... I get a syntaxerror: invalid

Re: runnung bash commands

2008-12-05 Thread [EMAIL PROTECTED]
hi again, you guys must be dreaming code ;-) I finaly figured it out, thanks to your help! I've put learing Python on my todo-list for 2009. Thanks again, Denis On 5 dec, 17:53, Edward K. Ream [EMAIL PROTECTED] wrote: On Fri, Dec 5, 2008 at 9:58 AM, Dan White [EMAIL PROTECTED] wrote: On

Re: runnung bash commands

2008-12-05 Thread Edward K. Ream
On Fri, Dec 5, 2008 at 1:49 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: you guys must be dreaming code ;-) After awhile code becomes just another native language, with no effort at all to speak it. I finaly figured it out, thanks to your help! I've put learing Python on my todo-list for