Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: xiaoleiqq
  • Order by date
  1. xiaoleiqq

    bash script on different input

    and i was thinking using a loop to go through all the directory to copy necessary files ... I am ok with manual input password, but not sure how to get the loop when the end of loop must be specific by the user...
  2. xiaoleiqq

    bash script on different input

    nah. I used to use perl to do script, but the system administrator won't install cpan module on one of the system and he suggest me use "rsync" to copy file to different server, where I need to enter password when i try to copy, i try write simple bash script to enter the password but it wont work,
  3. xiaoleiqq

    bash script on different input

    I am writing a bash script that reads different directory by user input, e.g., the user can use "sh run folder1" or "sh run folder2" to go into different dir to open files. Since I am a newb to script language and I am not sure how to write this, any suggestion is appreciated.
  4. xiaoleiqq

    basic script problem..

    yes it works, Thank you very much,
  5. xiaoleiqq

    basic script problem..

    It is from stdin, the program is written in c, but I dont have the source code.
  6. xiaoleiqq

    basic script problem..

    Hi, I have a program that ask for user input during process. Right now I want to create a script that can automatically fill in the user input from the script, how should I do that? Thank you very much.
  7. xiaoleiqq

    writing a script

    Hi, I have a program that ask for user input during process. Right now I want to create a script that can automatically fill in the user input from the script, how should I do that? Thank you very much.
  8. xiaoleiqq

    running server program from web site problem

    From what I read about cron is: it schedule to run a script, but I need the information from web browser to run the script, so I feel like Cron is not what I need. Did I mistaken something here? I am not quite familiar with Cron
  9. xiaoleiqq

    running server program from web site problem

    It probably will jump to the same problem when I start the Cron from the web-browser. I can't start Cron from the console since the script needs information from the browser. In the script i use sleep for about 1 hour and check the existence of file,
  10. xiaoleiqq

    running server program from web site problem

    Hi, I have a server program running that waits for files arrive and that program needs to be invoke from the web browser. That waiting time might be up to couple hours, so I have my code as follow, ... `perl -w wait.pl &` ... which I think it will run (since I put a & there) but it turns...
  11. xiaoleiqq

    running remote server program

    Also, I get this message when I running my program on the web server, Argument "ssh-rsa" isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.5/Net/SSH/Perl/Key/RSA1.pm line 94, <FH> line 10. not sure how to fix that problem, thanks for any input.
  12. xiaoleiqq

    running remote server program

    Thanks for the input, I am not the system administrator so I guess my approach of using the web to launch program on different server won't work at all?
  13. xiaoleiqq

    running remote server program

    Hi, The error I get is sh: line 1: 10:43:38,Fri,Oct,6,2006: command not found mkdir /.ssh: Permission denied at /usr/lib/perl5/site_perl/5.8.5/Net/SSH/Perl/Util/Hosts.pm line 51 no matter what my command is, even I try the simplest "ls" command, here is the sample code. my $host = "host1"...
  14. xiaoleiqq

    running remote server program

    Hi all, I have a web script (located in a web server) that wants to launch the program on another server(data server on the same network). I use Net::SSH::Perl module from CPAN, and it works if I log in to the web server and running the web script from there and fail to launch the program...
  15. xiaoleiqq

    Reading file from different server

    Hi, Thanks for the input, we decide to use SSH module to run the analyze program on the data server instead of having that program on web-hosting server, and hope it works... Again appreciate you help
  16. xiaoleiqq

    Reading file from different server

    It is accessible via sftp and scp, not sure about ftp, The situation is we have couple servers, say server1 is doing webhosting and server2 stores large data files that needs to be analyzed, right now we try to writing a web-script that runs the data-analysis program, which located in...
  17. xiaoleiqq

    Reading file from different server

    for some reason the data files are stored in different server and I need to access those files, just wonder which module is available to perform this job? THanks,
  18. xiaoleiqq

    Regex

    I would suggest include \. in your regex.
  19. xiaoleiqq

    Display dynamic total using javascript

    Yes, never use js to access database, unless you want everyone to have ur password. you can store them in an array or sth, I think you are on the right track from your 1) 2) 3)
  20. xiaoleiqq

    Permission and security

    OK I organized a bit, I have a perl script(which create a regular file) in my directory with permission 755, and directory is 755, If I run the script in unix, the default file permission is 644, and if I try to run it via browser, I get permission denied error. Then I set the directory...

Part and Inventory Search

Back
Top