8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Occasionally I make a mistake in my shell that results in there being a > for the prompt instead of the normal $.
Today I accidentally left off a " in a sed command,
sed s/\"//g" infile > outfile
and then I get
$ sed s/\"//g" infile > outfile
>
>
I have never figured out how to get... (3 Replies)
Discussion started by: LMHmedchem
3 Replies
2. Shell Programming and Scripting
Hello,
I met a problem with following code:
#!/usr/bin/perl -w
# test.pl
use strict;
use diagnostics;
use DBI;
my $dbh = DBI->connect(
"DBI:mysql:BibleBook","yifangt","password")
or die("Cannot connect: $DBI::errstr");
my $sql = qq(SELECT * FROM library WHERE isbn =... (2 Replies)
Discussion started by: yifangt
2 Replies
3. UNIX for Advanced & Expert Users
Dear all,
I try to search " ( double quote ) in a file using vi editor,
I gave in the command mode
/"
it supposed to take to me to all the occurnces of " instead in some places it is taking me to different character.!
It happens with some other characters in that file....
can you... (5 Replies)
Discussion started by: shahnazurs
5 Replies
4. Shell Programming and Scripting
I'm working on a script I wrote called backup.sh
when I run it like this:
. ./backup.sh
I get this error:
ksh: ./backup.sh: no closing quote
when I run it this way:
backup.shI get this error:
backup.sh: 28: Syntax error: end of file unexpected (expecting "fi")I looked through the code over... (21 Replies)
Discussion started by: jzacsh
21 Replies
5. Shell Programming and Scripting
Hi,
I work for Xerox.
As a new guy, I was recently pranked by the resident Solaris guru.:cool:
This is a celebrated event. I must now prank back in an equally flawless fashion.
I wish to get back to him by writing a script that will generate an annoying popup randomly, a small window that... (1 Reply)
Discussion started by: orchus
1 Replies
6. Post Here to Contact Site Administrators and Moderators
Hi
Is there any way to turn off the (often ridiculously big) tooltips that are displayed when hovering over a topic in a topic list? It's driving me nuts.
Thx.
J (1 Reply)
Discussion started by: jgrogan
1 Replies
7. Solaris
This is my home set up
I have 2 solaris boxes at home. One is a nis server and one is client.
everytime I start the client without server, it will hang permanently looking for for nis server.
is there a way to get around this? Can you set timeout the nis client?
I use nis becuase my... (4 Replies)
Discussion started by: congngo
4 Replies
8. UNIX for Dummies Questions & Answers
hi
i got fbsd here,when i try to start my X server as an user I got hte following error.
Fatal server error:
xf86OpenConsole: Server must be running with root permissions
You should be usig Xwrapper to start the server or xdm.
We strongly advise against making the server SUID root!
But... (2 Replies)
Discussion started by: Stormpie
2 Replies