Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: hokky
  • Content: Threads
  • Order by date
  1. hokky

    difference between sudo su and su

    hi guys, just quick question.. what's the difference between sudo su and su both seems working same way? quick explanation please thanks
  2. hokky

    Data server and client tools

    Hi guys, I got newbie question, I'm normally using oracle. But I was just wondering about "data server" I saw in my table the unix server and data server is different. Can someone pls explain me about data server means and how it put in unix server? or probably can give example compare to...
  3. hokky

    listing question

    Hi guys, Im using solaris 8 just wondering whether I can distinguish the color between file and directory in putty as I'm using in linux also what command to list any files start with "." I tried : ls -la | grep ^\. but it doesnt work.. Thanks guys
  4. hokky

    data server question

    Hi guys, I got newbie question, I'm normally using oracle. But I was just wondering about "data server" I saw in my table the unix server and data server is different. Can someone pls explain me about data server means and how it put in unix server? or probably can give example compare to...
  5. hokky

    NLS setup

    Hi guys, I just want to setup my date format to look like this : dd-mm-yyyy create table hokky (a date); Table created. insert into hokky values (sysdate); 1 row created. select * from hokky; A --------- 31-JAN-08 --> which I dont want this, I'm expecting 31-01-2008 I remember I need...
  6. hokky

    gzip and bzip2 question

    Hi guys, for compressing directory, I usually tar the directory becomes a file and zip it. I was just wondering whether gzip and bzip2 or zip can do to directory straight away without tarring first. I have check man command, I don't think so. But I would like to know from your guys opinion...
  7. hokky

    check cpu process to running multiple scripts

    Hi guys, I'm trying to do dynamic multiple loading data, because the data size is difference, if the data is big the loading process takes a while and taking much cpu, so I want to load data pararelly as many as I can before reach 350% cpu because we have 4 cpus (400%). just wondering whether...
  8. hokky

    newbie question

    Hi guys, I got couple of questions about this code: ### Need timestamp to find the files my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time() - 24*60*60); my $datestamp = sprintf("%04d%02d%02d",$year+1900,$mon+1,$mday); $output_prefix = $datestamp.$DATABASE; #printf...
  9. hokky

    grep challenge

    Hi, just trying to find in file *20070312.csv the pattern ignore case "com*-asx" in linux redhat trying : grep -ei "com*-asx" *20070312.csv doesn't work ? any idea ? should be simple but just couldn't get my head around. thanks.
  10. hokky

    quick question

    Hi guys, Just quick question see the code below (which doesn't work) SELECT * FROM CURVEDEFINITION where CURVE LIKE ('AUDUSD%DELTA%' OR 'AUDCAD%DELTA%') As you see, I want to select ALL CURVE LIKE 'AUDUSD%DELTA%' AND 'AUDCAD%DELTA%' Can you guys tell me how am I suppose to do this in...
  11. hokky

    Extract some files in Redhat

    Hi guys, Just wondering how to extract some files in tar file ? I got the part of the list of files like this : **many above** testscript/current_rates_standard.txt testscript/mailinglist testscript/.RatesFileSize.ksh.swp testscript/RatesFileSize.ksh testscript/historical_rates_standard.txt...
  12. hokky

    newbie question...

    Hi guys, I am about mid level in C, I want to learn about C++ and I'm pretty newb in C++, is there any way that I can start to learn ? How similar between C and C++, and if I use window, what do I need to install and If I use linux what package do I need to install. Thanks guys,
  13. hokky

    how to see domain name in my server

    Hi guys, just as title above, I was just wondering what command to see the domain name in my server, im using redhat. thanks.
  14. hokky

    Where to check the error log

    Hi Guys, my network looks like abit up and down, if I open the putty and leave it open for about one hour, the putty close by itself. so I was just wondering where to check the error log to see the network performance during certain period of time. Thanks guys.
  15. hokky

    question about MTA

    Hi Guys, I have got the opportunity to apply as LInux admin, I'm pretty familiar with linux as scripter/programmer, but they require to have strong knowledge about MTA (Mail Transfer Agents) which I'm not familiar with. So does anyone know about this ? or is this hard for me to learn ? is this...
  16. hokky

    select from 6 characters until the end...

    Hi guys, As title above, I need to select from 6th character until the end, how do I do that ? for example : input output albertman man happyforever orever thanks guys
  17. hokky

    different between inner join, left join and left outer join

    Hi guys, I'm just abit confuse between those two joins, I need your guys idea if I could : Here's the example SELECT Employees.Name, Orders.Product FROM Employees INNER JOIN Orders ON Employees.Employee_ID=Orders.Employee_ID -- result : Name Product Hansen, Ola...
  18. hokky

    round decimal pls help

    Guys, I got simple issue here, DECLARE @Row_ID int, @Vol float(2) SET @Row_ID = 1 WHILE @Row_ID<=5 BEGIN select @Row_ID Row_ID SET @Vol = CASE WHEN @Row_ID = 1 then '0.1' WHEN @Row_ID = 2 then '0.25' WHEN @Row_ID = 3 then '0.5' WHEN @Row_ID = 4 then '0.75' WHEN @Row_ID = 5...
  19. hokky

    Challenging question ...

    Hi guys, Can you help me give me the idea of my problem please ? first, I got the input like this from the table ( dateTime curve data 20/11/2006 AUD10D 10 20/11/2006 AUD25D 20 20/11/2006 AUD50D 30 20/11/2006 AUD75D 40 20/11/2006 AUD90D 50 21/11/2006 AUD10D 300...
  20. hokky

    simple question

    Hi guys here's my code NUMBER=`ls Run_*.flag | wc -l` echo "BATCH_$NUMBER" let's say the flag file is 7 The result is BATCH_ 7 I want the result is BATCH_7 I have the way like this but I don't like it NUMBER=`ls Run_*.flag | wc -l | awk '{print $1}'` I was just wondering using eval or...

Part and Inventory Search

Back
Top