Re: problems faced while using ssh





C:\>ssh shadm@xxxxxxxxxxxxxxxxxxx /home/shadm/shcalc/DateProject/test.sh >
test1.log

grep: can't open rates.rel
expr: Syntax error
grep: can't open canada_exchange_rate.txt
grep: can't open month_midmonth_release.txt
sed: Cannot find or open file month_midmonth_release.txt.

Does your shell script contain the full file path for the files that are
giving an error? (rates.rel, canada_exchange_rate.txt,
month_midmonth_release.txt)
--
View this message in context: http://www.nabble.com/problems-faced-while-using-ssh-tf2812223.html#a7861123
Sent from the SSH (Secure Shell) mailing list archive at Nabble.com.



Relevant Pages

  • Re: need help with simple script
    ... >I need a little help with a simple shell script. ... >list the files in the current directory that start with the letters qrt. ... You need the -c option to grep to make it output the count of lines ... normally grep outputs the matching lines. ...
    (comp.unix.shell)
  • Re: problems with fetch
    ... from the ports tree. ... Syntax error in parameters or arguments ... alias | grep -i fet ... file `which fetch` ...
    (freebsd-questions)
  • Re: grep question
    ... > How do I grep for multiple strings in the shell script. ... > Input file contains: ...
    (comp.unix.shell)
  • Re: grep for pattern PLUS first line
    ... > come up with an elegant solution. ... > grep pattern which will always print ... Or you could write your own shell script which looked roughly like: ...
    (comp.unix.shell)
  • Re: script to keep day, week, month backup file
    ... > How can I achieve this in a shell script? ... rename your backups so the weekday becomes visible: ... grep -vw "$lastmonth" | ...
    (comp.unix.shell)