wood burning stoves 2.0*
The moose likes Other JSE/JEE APIs and the fly likes JSCH : dos2unix command not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "JSCH : dos2unix command not working" Watch "JSCH : dos2unix command not working" New topic
Author

JSCH : dos2unix command not working

rastogi payam
Ranch Hand

Joined: May 09, 2011
Posts: 45

Hi All,
In the following code I want to explode a tar file and then navigate to scripts folder and then want to execute dos2unix *.sh command




============Output====
standaloneServerCreation.py
standaloneServerDeletion.py
uninstallApplication.sh
exit-status: 0
DONE
===================
Everything runs fine but the last command i.e dos2unix *.sh is not executing.
Can anyone please suggest the way around to get it done.
Thanks


SCJP 1.6, OCPWCD 5
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: JSCH : dos2unix command not working
 
Similar Threads
[Jsch] channel.connect works only sometimes
JSP page to call unix scrpit
Execute a command on a remote Shell using JSCH
Invoking unix shell commands from java.
How to connect to Linux using Java code?