10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
This question might be silly but its confusing me a bit:
What is the difference between handle to the thread HANDLE and thread identifier pthread_t?
---------- Post updated at 01:52 PM ---------- Previous update was at 01:48 PM ----------
Sorry I saw details and HANDLE is in windows and... (0 Replies)
Discussion started by: rupeshkp728
0 Replies
2. Shell Programming and Scripting
Hi,
I have situation where i need to automate transferring 10000+ files using sftp.
while read line
do
if ; then
echo "-mput /home/student/Desktop/folder/$line/* /cygdrive/e/folder/$line/">>sftpCommand.txt
fi
done< files.txt
sftp -b sftpCommand.txt stu@192.168.2.1
The above... (1 Reply)
Discussion started by: noobrobot
1 Replies
3. Shell Programming and Scripting
Hi Guys,
I am working on a shell script(main script) where in i have to call another script B and pass parameter to that script. I see that the shell script that is being called in the main script is throwing warnings/fatal errors. So i am just wondering how do i capture these and ask the script... (1 Reply)
Discussion started by: stunnerz_84
1 Replies
4. Shell Programming and Scripting
Hi
I have written a script which returns a number. This resulting number I assign to the variable for example:
$ A=`get_dbnum 118 ttrn`
$ echo ${A}
8208
$
The script becomes interective once the error occures and the number is not found. It prompts the user to enter the number. The... (1 Reply)
Discussion started by: aoussenko
1 Replies
5. Shell Programming and Scripting
I'm trying to trap errors in a shell script executing an sftp command this way:
/usr/bin/sftp $FTP_USER@$FTP_SERVER <<EOF> $HOME/$ERR_FILE
cd $FTP_DIR
put $FILE_NAME
bye
EOF
I expect errors to be recorded in $ERR_FILE but they are not. The only thing in the $ERR_FILE is:
sftp> sftp>... (2 Replies)
Discussion started by: pochon
2 Replies
6. UNIX for Dummies Questions & Answers
Hi all,
I tried to google this issue but I wound up having more questions; so I'm posting here. =)
I have a client who connects to my unix server via sftp to pick up a file nightly. Usually, they have no issue doing this but today was different. Here's their log:
MA_OFAC_RECEIVE module:... (1 Reply)
Discussion started by: gseyforth
1 Replies
7. Shell Programming and Scripting
hi all,
how to handle sql loader errors in unix shell
??
thanks in advance
gemini (3 Replies)
Discussion started by: gemini106
3 Replies
8. UNIX for Dummies Questions & Answers
Hi all, dummy here.... I have major errors on entering the shell. On login I get:
-bash: dircolors: command not found
-bash: tr: command not found
-bash: fgrep: command not found
-bash: grep: command not found
-bash: grep: command not found
-bash: id: command not found
-bash: [: =: unary... (12 Replies)
Discussion started by: wcmmlynn
12 Replies
9. AIX
$ errpt | more
IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION
3074FEB7 0802050205 T H fscsi1 ADAPTER ERROR
B8113DD1 0802050205 T H fcs1 LINK ERROR
B8113DD1 0802050205 T H fcs1 LINK ERROR
3074FEB7 0802050205 T H fscsi0 ADAPTER ERROR
B8113DD1 ... (2 Replies)
Discussion started by: mcastill66
2 Replies
10. UNIX for Advanced & Expert Users
$ errpt | more
IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION
3074FEB7 0802050205 T H fscsi1 ADAPTER ERROR
B8113DD1 0802050205 T H fcs1 LINK ERROR
B8113DD1 0802050205 T H fcs1 LINK ERROR
3074FEB7 0802050205 T H fscsi0 ADAPTER ERROR
B8113DD1 ... (0 Replies)
Discussion started by: mcastill66
0 Replies