10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hello forum ,
I am new to shell scripting. as part of my assignment i have to execute a sql querry from the shell script. please help me.
example.
sql queerry:db2 "select emp_id from tsble emp".
i have to execute the above querry from the script.
advance thanks to forum
Siva ranganath (1 Reply)
Discussion started by: workforsiva
1 Replies
2. Shell Programming and Scripting
Hi All,
Please help me out in executing the following db2 querry in unix
db2 "select AP_RQ_ACQ_INST_ID || ',' || txn_classifier || ',' || AP_RS_RESP_CD || ',' || (count(*) AS COUNT1) || ',' || (SUM(AP_RQ_TXN_AMT) AS TOTAL_AMT) from TXN_RECORD where
CREATE_TS > '2010-11-22 11:00:00.008645' ... (1 Reply)
Discussion started by: dudd9
1 Replies
3. Solaris
In a solaris 8 machine the native binaries
are mainly kept under /bin and /usr/bin
but some binaries i found in /usr/xpg4/bin
please can anyone tell me in a little detail what is the reason to keep the binaries in different locations
i mean /bin /usr/bin /usr/xpg4/bin
... (1 Reply)
Discussion started by: mobydick
1 Replies
4. Shell Programming and Scripting
$ A=/t1/bin/f410pdb oIFS=$IFS IFS=/
$ set -- $A
$ IFS=$oIFS
$ echo $2
t1
$ echo $3
bin
$ echo $4
f410pdb
can any one please explain me what is done with IFS and how it is working internally ...i am interested to know in depth (2 Replies)
Discussion started by: mobydick
2 Replies
5. UNIX for Dummies Questions & Answers
from aix server, is it a way to extract data from windows LDAP. i will need to extract only firstname, lastname and login either xml or csv format ?
i can use ldifde command to extract above information, but i have to do it from windows server. (1 Reply)
Discussion started by: tjmannonline
1 Replies
6. UNIX for Dummies Questions & Answers
what is the real use of xargs command ..?
ls -tr |xargs -I{} rm -f {}
....can any one tell me what is the significance of {} curly brackets in this command (1 Reply)
Discussion started by: mobydick
1 Replies
7. UNIX for Dummies Questions & Answers
my querry is about writing makefiles:-
i have gone through some sample make file and noticed that while writing the commands for a particular target..
some times two lines are written with a backslash like
LD_LIBRARY_PATH="/usr/openwin/lib"; export LD_LIBRARY_PATH; \... (3 Replies)
Discussion started by: mobydick
3 Replies
8. UNIX for Dummies Questions & Answers
i am newbie my querry is
if i am having a gcc compiler which has been a native build with a particular version of binutilities..then when i will use this compiler to build other packages ..then in the linking stage which linker it will use if i do not set my path.
...will it uses by default... (0 Replies)
Discussion started by: mobydick
0 Replies
9. Shell Programming and Scripting
Hi all
I have this output in a variable called ...yes $OUTPUT :-) original...huh
these are tablespaces in an Oracle db
how do I get this into another variable in two columns
so I can do a check on the numbers (space left)
SYSTEM 290; USERS 19; UNDOTBS1 1863; DATA 5982; SYSTEM 290; USERS... (7 Replies)
Discussion started by: ludvig
7 Replies
10. HP-UX
hi all,
To summerize disk usage in human readable format we have "du -h" in linux,which gives the
disk usage in MBs.
do we have something similar in HP-UX ?
thanks,
amit (4 Replies)
Discussion started by: amit4g
4 Replies
ftp::geturl(n) ftp client ftp::geturl(n)
__________________________________________________________________________________________________________________________________________________
NAME
ftp::geturl - Uri handler for ftp urls
SYNOPSIS
package require Tcl 8.2
package require ftp::geturl ?0.2.1?
::ftp::geturl url
_________________________________________________________________
DESCRIPTION
This package provides a command which wraps around the client side of the ftp protocol provided by package ftp to allow the retrieval of
urls using the ftp schema.
API
::ftp::geturl url
This command can be used by the generic command ::uri::geturl (See package uri) to retrieve the contents of ftp urls. Internally it
uses the commands of the package ftp to fulfill the request.
The contents of a ftp url are defined as follows:
file The contents of the specified file itself.
directory
A listing of the contents of the directory in key value notation where the file name is the key and its attributes the asso-
ciated value.
link The attributes of the link, including the path it refers to.
BUGS, IDEAS, FEEDBACK
This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category ftp of
the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may have for
either package and/or documentation.
SEE ALSO
ftpd, mime, pop3, smtp
KEYWORDS
ftp, internet, net, rfc 959
CATEGORY
Networking
ftp 0.2.1 ftp::geturl(n)