Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
HPUX11 csh scripting question
Results 1 to 2 of 2

Thread: HPUX11 csh scripting question

  1. #1
    Guest

    HPUX11 csh scripting question

    Ok, Im not anywhere near competent at scripting, much less for the csh, but Im trying to hook something together here at work to keep from having to rebuild systems everytime a directory gets corrupted. Im a little unsure on some of the code where Im trying to telnet into another machine and how to pass the login information to the other machine. Here is what I have right now:
    Code:
    'telnet $node_name root $password >telnet.log 2>&1'
    'cd /'
    'tar cvf $nodename.tar $target_dir > tar.log 2>&1'
    'exit'
    Anyone have any insight into this sort of thing?

  2. #2
    Moderator
    Good Guru
    Schotty's Avatar
    Join Date
    Jul 2001
    Location
    Milwaukee, WI
    Posts
    5,760

    Re:HPUX11 csh scripting question

    Nice sig.


    Ich liebe boobies.

Similar Threads

  1. bash scripting question
    By seanmclemon in forum Programming
    Replies: 7
    Last Post: 09-07-2003, 12:58 AM
  2. HPUX11 xstm problem
    By in forum BSD
    Replies: 1
    Last Post: 02-04-2003, 08:33 PM
  3. shell scripting question in hpux11
    By in forum Programming
    Replies: 0
    Last Post: 02-04-2003, 05:51 PM
  4. Bash scripting question
    By kenshi in forum Programming
    Replies: 6
    Last Post: 01-02-2003, 08:36 PM
  5. Scripting question
    By kenshi in forum Programming
    Replies: 19
    Last Post: 05-30-2002, 08:40 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •