![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Exit Shell Prompt after Pbrun | ishanc | Shell Programming and Scripting | 4 | 02-25-2009 11:11 AM |
| Exit Status of SFTP | uni1234 | Shell Programming and Scripting | 1 | 10-11-2007 02:03 PM |
| Exit codes in SFTP | vikramsnest | Shell Programming and Scripting | 1 | 08-16-2007 02:08 AM |
| sftp hanging on exit | max29583 | UNIX for Advanced & Expert Users | 1 | 08-16-2007 02:04 AM |
| how to find the exit status for the last executed command | vijay.amirthraj | UNIX for Dummies Questions & Answers | 1 | 07-04-2006 10:14 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
How to get the exit satus of a command which I executed in sftp prompt
Hi All,
I need the exit status of a command which is executed through sftp connection. Example: sftp user@host <<EOF mkdir /home/karteek/testing put /home/xyz.txt /home/karteek/testing EOF ------ In the above example, I need the exit status of the put command. Please help me. The reason for using sftp is that, I need to crate the directories in remote machine. Thanks, Karteek |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|