I know this shouldn't phaze me but it is. Big time.
I have a field `junk`, which contains an array I wish to use later e.g 2,3,4,5
I want to use this as such:
select * from mytable where id in (select junk from anothertable where somethingelse='stuff');
I only ever get 1 row returned which...
without a lot of typing (i'm real lazy about that).
Normally,
ls -ltA /somedir |head -x
what if you could just type
lht /somedir 5
well, you can - save the following to your /usr/local/bin as lht with exeute perms (written on redhat ES unsure of outcome for others).
#!/bin/sh
#clear
if [...
I have several servers, RH ES4.
I want to be able to identify in a shell script if a remote server is unavailable.
I could use ping, but really, whats the best/preferred/most reliable / nicest way of doing this?
Just open to suggestions here on how you would go about finding this out...
There has to be a way, could someone point me in the right direction please?
So far I think I've read and re-read
File IO
StreamWriter
FileStream
Attributes
fileinfo
6 or 7 forums searched, googled and generally gone (a little more) bald.
Am I missing something so horrendously obvious here...
Is there anything like the equivalent of grep in c# or will I need to build my own ?
I have a directory full of files and i'd like to find a text string within them, and return the filename.
Any clues hgints manual pages, or other resources greatly appreciated, thanks.
K...
I have a 6+ years old db, and over time evolution has taken its toll, how can I find out now if I have any unused fields.
(we do trim the DB weekly, but with 3mil+ records and 33 fields, I could use some way of quick checking.
I can eliminate a few but am left with I guess about 12 fields...
Hi all, a quick one.
I have a bunch of files, and the line I'm looking for begins NAD CA and contains 100BAY, but I need to be able to serch a bucnh of these to find which ones Don't contain the line starting NAD CA or having the line NAD CA which isn't
NAD CA 100BAY
How please.
open to...
Hi all, thanks for reading.
Could anyone enlighten me on how to copy a listbox contents to clipboard please?
Porbably blindingly basic but for someone on their first app, its a tad puzzling.
Thanks in advance,
Karv.
PS I've rummaged aroun msdn, doc, csharpcorner and other places, and have...
Hi All, what she best book for learning visual C++ ? also any websites with good tutorials etc?
cheers
//karv
______________________________________________________________________
There's no present like the time, they say. - Henry's Cat.
Hi all, can anyone here recommend some good sites with tutorials etc for an absolute beginner?
I checked the faq but nothing listed.
cheers all.
Karv
______________________________________________________________________
There's no present like the time, they say. - Henry's Cat.
From something I did a year or two ago, I got a lot of positive feedback, and have continued the work on a simple mysql explorer program written in PHP, its purely for looking at data and providing quick results, but its big brother will be a reporting tool .. one day.
version 4 , beta 01...
Hi All, I have the very rare occurence of non-standard characters being loaded into one of my tables :
e.g 8PAõõõõMUST BE PICK
Is there any way of easily finding the records containing these non-standard characters (they vary , not always the same char).
LIKE '%õ%' is not really an option...
Hi All :-)
OK, I have a Proliant ML 370, it has 3 x 18.2Gig drives configured as Raid 1 (1 logical 18.2gig drive , mirrored with online spare) and runs Redhat linux 7.3.
I need to increase the disk size considerably, so I have me 3 x 76gig replacement drives.
What is the best way of :
1)...
Hi All, I've been lurking for a while now and read all that looks releveant, but have a small problem.
I was recently asked to provide a test file and spec for a new customer, who wishes to use EDIFACT messaging with us.
(Water off a ducks back if its Tradacomms:-)) , but no, the guy wants...
Morning all :)
I have a question, to which I have searched high and low for an answer and been unable to find any clear and concise information.
In my syslog, all ftp connections are logged (ftpd -d), now whenever *anyone* connects via ftp, the 2nd line of logging is always the same:
Sep 23...
is there an easier way of doing this:
SELECT @startday:=if(dayofweek(curdate())=1,@startday:=(1+6),@startday:=(dayofweek(curdate()))+6), @endday:=if(dayofweek(curdate())=1,@endday:=1,@endday:=dayofweek(curdate())), o.data1, o.data2, o.data3, o.data4, o.data5, o.data6, o.data7, o.data8, o.final...
Could anyone give me some pointers on where I might get RM Cobol runtime ofr redhat please.
If there is anywhere other tha www.liant.com that is.
cheers all:-)
//Karv ______________________________________________________________________
There's no present like the time, they say. - Henry's Cat.
Hi all, a little Friday teaser (OK so it s Wednesdaybut I have the rest of the week off :-))
Under SCO passwd -f [someuser] will force the user to change their password when they next log on.
Under Redhat passwd -f means to force the password operation (do it now!).
How do I make RedHat users...
probably at least a good idea to separate the area code from the main number as not everyone will need the area code (?).
As for prefixes... do you mean country codes or am I just in a different country to you? :-)
______________________________________________________________________
There's...
Hi all, possibly not the best place for this question but it also doesn't seem to fit anywhere else....
I'm looking to move a large portion of our user base to thin clients and could use some pointers on TC hardware which will meet the following requirements:
1) The network and servers will be...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.