Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Lv 44,682 points

Gary

Favorite Answers40%
Answers692
  • Why do so few askers ever return to their question?

    Question after question is not complete enough to really receive any substantial assistance. Many of us that are spending our valuable time to try to help others accomplish what they are trying to do without all the pain we had to go through to solve a problem, but it seems that there is maybe 1 in 100 that ever update their question with the data requested or with results.

    Very frustrating situation.

    5 AnswersYahoo Answers9 years ago
  • ssh -t output to a file inserts unknown chars?

    1st, the client side is CentOS release 5.2 (Final)

    The server sides are 5.2, 5.4 and 5.5 and the results are the same from all.

    I am putty'd into the client.

    An example of a script that demonstrates the issue, /home/SERVICES2:

    #!/bin/sh

    /sbin/service httpd status

    /sbin/service postfix status

    /sbin/service memcached status

    /sbin/service mysqld status

    Which is run from DEV(client):

    #!/bin/sh

    ssh -t SERVER1 'sudo /home/SERVICES2' > SERV2.out

    or

    #!/bin/sh

    ssh -t SERVER1 'sudo /home/SERVICES2'

    which sends the output to the screen which is the copied and pasted to SERV.out

    P-F-A root / #diff SERV.out SERV2.out

    1,4c1,4

    < httpd (pid 3239) is running...

    < master (pid 3040) is running...

    < memcached (pid 29436) is running...

    < mysqld (pid 2964) is running...

    ---

    > httpd (pid 3239) is running...

    > master (pid 3040) is running...

    > memcached (pid 29436) is running...

    > mysqld (pid 2964) is running...

    While attempting to ID the differences, I ran:

    P-F-A root / #cat SERV.out | sed -e "s/$/X/"

    httpd (pid 3239) is running...X

    master (pid 3040) is running...X

    memcached (pid 29436) is running...X

    mysqld (pid 2964) is running...X

    P-F-A root / #cat SERV2.out | sed -e "s/$/X/"

    Xttpd (pid 3239) is running...

    Xaster (pid 3040) is running...

    Xemcached (pid 29436) is running...

    Xysqld (pid 2964) is running...

    1 AnswerProgramming & Design9 years ago