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 bkrike 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: bharix
  • Content: Threads
  • Order by date
  1. bharix

    FTP - Command line restriction

    guys, take a look at this code snipette, ftp -ivn <<! >> $LOG_TMP 2>&1 open $FTP1_SRV user $FTP1_USR $FTP1_PAS cd $FTP1_BDIR cd $ADIR mdel $(< ff.$$) bye ! Here the file ff.$$ can have MANY file names which sometimes exceeds the command line length and thus FTP just...
  2. bharix

    Display special characters. How to?

    Hi ! I need to know how to display special characters on the terminal and save them in file. (manually or through a process). (characters like ß, ö,ü and ä - a Umlaut) On my SunOS 5.8 environment, default shell ksh, term vt100, LANG set to null. I played with LANG settings but could with no...
  3. bharix

    Redirecting o/p of time command to a file.

    Hi Guys, How do I redirect the output of time command to a file? I use ksh. e.g. time ls >> myfile This command does not put the output of my time command in myfile. Could you help solving this?
  4. bharix

    Robotic interface for passwd changes.

    Guys, Would like to know if it is feasible to change passwords by using some pre-prepared macro (using load runner or some other utilities) and running it across different hosts to change a particular user's passwords? (given that old password(s) is known) Will there be any issues with stty...
  5. bharix

    Capture standard error messages in log

    Guys, I am writing a ftp script. Sometimes it happens that my ftp session times out showing error on the terminal. &quot;Connection timed out&quot;. My problem is that I am not able to capture this error message in the log file. Even though I use following construct, the (error) message is...
  6. bharix

    Both way communication in one FTP session.

    Hi All, This is a snippet of my script: ### ftp -in $SERVER_IP <<-EOF >> $FTP_LOG user $LOGIN $PASS cd $DIR_LOC dir *.* ${FDIRLIST} ! . ${PARSE_SCR} ${FDIRLIST} ${FLIST} mget $(< $FLIST) EOF ### Description: In one FTP session I get a long listing of the remote directory and create a...
  7. bharix

    Guys, How can I find out what is

    Guys, How can I find out what is the permitable length of variable names in Korn shell? Is there any environment setting which can define such max permitable length of variable name? e.g export MY_VAR=&quot;my memory var&quot;; here the length of MY_VAR is 6. Thanks, bharix
  8. bharix

    Hi Guys, How can I send e-mails

    Hi Guys, How can I send e-mails with attachments on HP-UX 10.20? I want to use mailx. I tried this cat myfile | uuencode myfile | mailx -s &quot;test&quot; valid.id@srv.de I get e-mail successfully but the file gets embedded in the message body and does not come in as an attachment. What am...
  9. bharix

    Hi Guys, How can I send e-mails

    Hi Guys, How can I send e-mails with attachments on HP-UX 10.20? I want to use mailx. I tried this cat myfile | uuencode myfile | mailx -s &quot;test&quot; valid.id@srv.de I get e-mail successfully but the file gets enbedded in the message body and does not come in as an attachment. What am...
  10. bharix

    Hi Experts ! I need to replace m

    Hi Experts ! I need to replace multiple consecative occurrences of a charachter with one such charachter. Can it be done with a very short code or a one liner may be? Please use ksh, awk or sed. For Example - XXXXXXXXXabcdXXXXlmnopXXXXXXXXcddcXXXXXXXXXXXX1212XXXXX should be...

Part and Inventory Search

Back
Top