I missed the errors on the upload of other two files. Here they are.
ok That was output, this is the script. I had to take the "." off of the fileneme of my input file, windoze made me do it.
Keeping in mind that I'm relatively comfortable with programming in general but very new to unix and korn/bourne shell scripts..
I'm using awk on a CSV file, and then performing calculations and operations on specific fields within specific records. The CSV file I'm working with has about 600... (2 Replies)
I was told that it's a Bad Idea (especially for root ) to Add To the Variable $PATH in unix the ":." (dot),
In order to execute programs in my current directory without typing ./program
For example: PATH=$PATH:$HOME/bin:.
Does someone know why is it a Bad Idea? (2 Replies)
HELLO ALL,
URGENTLY NEEDED A SCRIPT TO SELECT AND DELETE LOWER AND MIXED CASE RECORDS FROM A COLUMN IN A TABLE.
FOR EXAMPLE : Table name is EMPLOYEE and the column name is CITY
and the CITY column records will be: Newyork
washington
... (1 Reply)
I'm trying to get a case statement to start over if an undefined option is selected... But I am ata loss on how to actually do it.
Here is a quick example of what I have.
Echo "1) do this/n
2) Do that/n
3) Quit/n
Make a selection/n"
Read answer
Case answer in
1) Dothid;;
2) Dothat;;... (3 Replies)
Well i was tidying up some files in a very important directory on our development server and somehow some plank had put a recursive sybmolic link in it. Which I the even bigger plank tried to delete from my FTP client. My FTP client then thought it would be OK to delete not only the sybmolic link... (0 Replies)
is placing two RAID5 arrays on disk as shown below Is advisable? Will this create performance problems?
sda-(500GB) sdb-(1TB) sdc-(1TB) sdd-(1TB)
(250MB)----------(250MB) ---------unused------------unused------->(/dev/md0) RAID1
... (6 Replies)
Why I get bad replace when using eval?
$ map0=( "0" "0000" "0")
$ i=0
$ eval echo \${map$i}
0000
$ a=`eval echo \${map$i}` !!!error happens!!!
bash: ${map$i}: bad substitution
How to resolve it ?
Thanks! (5 Replies)
Discussion started by: 915086731
5 Replies
LEARN ABOUT DEBIAN
libssh2_channel_get_exit_signal
libssh2_channel_get_exit_signal(3) libssh2 manual libssh2_channel_get_exit_signal(3)NAME
libssh2_channel_get_exit_signal - get the remote exit signal
SYNOPSIS
#include <libssh2.h>
int libssh2_channel_get_exit_signal(LIBSSH2_CHANNEL *channel, char **exitsignal, size_t *exitsignal_len, char **errmsg, size_t *errmsg_len,
char **langtag, size_t *langtag_len);
DESCRIPTION
channel - Closed channel stream to retrieve exit signal from.
exitsignal - If not NULL, is populated by reference with the exit signal (without leading "SIG"). Note that the string is stored in a newly
allocated buffer. If the remote program exited cleanly, the referenced string pointer will be set to NULL.
exitsignal_len - If not NULL, is populated by reference with the length of exitsignal.
errmsg - If not NULL, is populated by reference with the error message (if provided by remote server, if not it will be set to NULL). Note
that the string is stored in a newly allocated buffer.
errmsg_len - If not NULL, is populated by reference with the length of errmsg.
langtag - If not NULL, is populated by reference with the language tag (if provided by remote server, if not it will be set to NULL). Note
that the string is stored in a newly allocated buffer.
langtag_len - If not NULL, is populated by reference with the length of langtag.
RETURN VALUE
Numeric error code corresponding to the the Error Code constants.
libssh2 1.2.8 4 Oct 2010 libssh2_channel_get_exit_signal(3)