Search Results

Search: Posts Made By: trinak96
5,726
Posted By trinak96
Hi, Did that, same error... Directory output...
Hi,
Did that, same error...
Directory output :

adrian@adrian-Latitude-D620:~/photos$ ls -l
total 4
-rwxr-xr-x 1 adrian adrian 289 2012-07-13 16:34 timelapse


If I try to run ./timelapse I...
5,726
Posted By trinak96
Thanks for the rapid response, the answer would...
Thanks for the rapid response, the answer would be, no, I don't need the date in the filename. The command works when i run it from a prompt. The only thing I can think of is that it's permissions...
5,726
Posted By trinak96
Running GPhoto2 from within a script
Hi,
I'm trying to call gphoto2 from within a script. The main purpose of the script is to take 'x' number of photos every 'n' seconds and then ftp the result.

gphoto2 from cli works, the ftp...
16,646
Posted By trinak96
Best Regards to you...Thank You.
Best Regards to you...Thank You.
16,646
Posted By trinak96
Your are star, that's solved it. obviously i need...
Your are star, that's solved it. obviously i need more research on passing arguments !!

Many thanks again, superb...
16,646
Posted By trinak96
OK, first change didn't accomplish anything. ...
OK, first change didn't accomplish anything.
Second change, calling via /usr/bin/expect<expectscript> ipadd, with trace running outputs:

~/Scripts$ ./get-int
+ read ipadd
+ echo 10.33.220.12...
16,646
Posted By trinak96
Yes, that's the error I posted originally. It's...
Yes, that's the error I posted originally. It's the spawn telnet $device command which works when run with manual IP but fails when called from control script.
16,646
Posted By trinak96
Correct, running with manual IP argument works. ...
Correct, running with manual IP argument works.
Output from run with trace :
/Scripts$ ./get-int
+ read ipadd
+ echo 10.33.220.12
10.33.220.12
+ export ipadd
+ sh ./list-int 10.33.220.12...
16,646
Posted By trinak96
Thanks for quick response dude2cool, have done as...
Thanks for quick response dude2cool, have done as suggested but same error i'm afraid.
16,646
Posted By trinak96
Calling Expect Script - Telnet
Hi All,

I have an Expect script which logs into Cisco switch, performs a show interface command. I want to read a file of ip addresses which will be passed to the expect script.

The script to...
Showing results 1 to 10 of 10

 
All times are GMT -4. The time now is 08:12 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy