Two Laptop Bag*
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "JSCH : dos2unix command not working" Watch "JSCH : dos2unix command not working" New topic

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

exit-status: 0
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.

I agree. Here's the link:
subject: JSCH : dos2unix command not working
Similar Threads
Execute a command on a remote Shell using JSCH
Invoking unix shell commands from java.
[Jsch] channel.connect works only sometimes
JSP page to call unix scrpit
How to connect to Linux using Java code?