08-28-2007
what difference does a secure shell make for additional escaping?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
This isn't causing me a problem, but it is puzzling (& slightly worrying) me.
If I use tar to copy to a tape & the tape is write protected, I only get the message 'tar: tape write err' if there are a few files to copy.
eg. # tar cvf /dev/rStp4 /usr/data
will produce the messages
... (4 Replies)
Discussion started by: Kevin Pryke
4 Replies
2. Shell Programming and Scripting
Hi,
get -ek s.Communicator.java The difference between the current date and the creation date of
the newest delta in the SCCS file is greater than 1 year.
Make sure that the system date is set correctly.
This message is only a warning. (co11)
14.3
... (0 Replies)
Discussion started by: Shivaprasad BS
0 Replies
3. Shell Programming and Scripting
Hi All,
I am trying to run the below cmd thro' a script.
awk 'NR>=48&&NR<=(58-1)' $IN_FILE_NAME | tee $OUT_FILE_NAME
but I am getting an err while running the script. It gives the below err msg :
awk: syntax error near line 1
awk: bailing out near line 1
(P.S Note: When run the... (6 Replies)
Discussion started by: askumarece
6 Replies
4. Shell Programming and Scripting
I've been looking at this code too long. Maybe a fresh set of eyes can spot the:
"syntax error near unexpected token `(' ./phmenu ` tput cup 18 4: echo "Accept? (y) es or (n)o: "
This is the line in the code:
tput cup 18 4; echo "Accept? (y)es or (n)o: "
Thanks In Advance... (3 Replies)
Discussion started by: Ccccc
3 Replies
5. Shell Programming and Scripting
hi....
below cmd (to get current hour - 1) works in localhost...whereas to get the same value in remote host..no result.. looks some pharsing error...can someone help?
$ date
Monday, 3 May 2010 09:15:46 GMT
$ perl -e 'print "" . localtime(time()-$ARGV) . "\n";' 3600
Mon May 3 08:15:57... (1 Reply)
Discussion started by: id100
1 Replies
6. Shell Programming and Scripting
Hello gurus, this is part of my script:
ls -1 ${MyFile} >> ${dir_log}ListFile${Now}.tmp
FILENUM=`cat ${dir_log}ListFile${Now}.tmp| wc -l | awk '{print $1}'`>> /dev/null
if
then
writeError "ERRORE: no file in directory for type ${FileName}!" >> ${LogFileName}
Close 1
fi... (7 Replies)
Discussion started by: GERMANICO
7 Replies
7. Shell Programming and Scripting
Hi All,
I need to create a script to monitor a dir for new files with ext .err and also it should b a non empty files. and perform a action or command .
We have a new ETL application that runs on a linux server, every times a etl fails it creates a .err file or updates the existing .err... (4 Replies)
Discussion started by: MAKHAN
4 Replies
8. UNIX for Dummies Questions & Answers
Hi, When I login to system. root or any of the user, I get Perl error message. Please advise....
When I login as a user.... I get this err.msg.
Terminal type is vt100
You have new mail.
bash: /usr/local/bin/perl: cannot execute binary file
when I login as root.
Terminal type... (2 Replies)
Discussion started by: samnyc
2 Replies
9. Solaris
Hi gurus,
My Solaris version is
Solaris 10 1/06 s10s_u1wos_19a SPARC
Im getting I/O error while trying to ls -l a directory in Solaris SPARC box
the truss output from server is attached below
truss -fall -vall -wall -rall ls -la
12278/1: acl("./dat", GETACLCNT, 0,... (3 Replies)
Discussion started by: Solaris_Begin
3 Replies
LEARN ABOUT PHP
sybase_pconnect
SYBASE_PCONNECT(3) SYBASE_PCONNECT(3)
sybase_pconnect - Open persistent Sybase connection
SYNOPSIS
resource sybase_pconnect ([string $servername], [string $username], [string $password], [string $charset], [string $appname])
DESCRIPTION
sybase_pconnect(3) acts very much like sybase_connect(3) with two major differences.
First, when connecting, the function would first try to find a (persistent) link that's already open with the same host, username and
password. If one is found, an identifier for it will be returned instead of opening a new connection.
Second, the connection to the SQL server will not be closed when the execution of the script ends. Instead, the link will remain open for
future use (sybase_close(3) will not close links established by sybase_pconnect(3)).
This type of links is therefore called 'persistent'.
PARAMETERS
o $servername
- The servername argument has to be a valid servername that is defined in the 'interfaces' file.
o $username
- Sybase user name
o $password
- Password associated with $username.
o $charset
- Specifies the charset for the connection
o $appname
- Specifies an appname for the Sybase connection. This allow you to make separate connections in the same script to the same data-
base. This may come handy when you have started a transaction in your current connection, and you need to be able to do a separate
query which cannot be performed inside this transaction.
RETURN VALUES
Returns a positive Sybase persistent link identifier on success, or FALSE on error.
SEE ALSO
sybase_connect(3).
PHP Documentation Group SYBASE_PCONNECT(3)