Re: Date and Time with Unix and Cygwin
Von: Juergen Scholich (juergensmail@alice-dsl.net) [Profil]
Datum: 09.02.2008 17:31
Message-ID: <r41185-k2g.ln1@scholich.homeip.net>
Newsgroup: de.alt.comp.cygwin+co
Datum: 09.02.2008 17:31
Message-ID: <r41185-k2g.ln1@scholich.homeip.net>
Newsgroup: de.alt.comp.cygwin+co
zw wrote: > > So I have > -bash-3.00# ssh xyz@4.4.4.4 "cmd /c c:/\cygwin/\cygwin.bat date" > xyz@4.4.4.4's password: > > xyz@xyz_pc2 ~ > > But I'm not getting a response back with the date. > > > But if I > > -bash-3.00# ssh xyz@4.4.4.4 "cmd /c date /T " > xyz@4.4.4.4's password: > Fri 02/08/2008 > > How can I retrieve the date and time from cygwin ? Please try: ssh xyz@4.4.4.4 'cmd /c c:\\cygwin\\bin\\date' for me, that works: $ ssh de039421@JSCHOLTP60 'cmd /c c:\\cygwin\\bin\\date' de039421@jscholtp60's password: Sat Feb 9 17:28:53 2008 Have fun, Juergen[ Auf dieses Posting antworten ]
