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 Mike Lewis 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: hok1man
  • Order by date
  1. hok1man

    mail attachment file from unix

    Hi PDreyer, your converter to DOS is not working $ unix2dos /etc/hosts | uuencode testScript.ksh |mailx -s "file" hok1man@test.com could not open /dev/kbd to get keyboard type US keyboard assumed could not get keyboard type US keyboard assumed
  2. hok1man

    mail attachment file from unix

    Hi guys, just wondering how to put attachment and send the email from unix..from solaris 10. I usually use the mail command is "mailx" search in man page.. no luck... Thanks guys,
  3. hok1man

    pass sybase return code to unix shell

    Hi feherke, here's the output if successful or not in sybase: if successful (1 row affected) off course the number of row is various. if failed Msg 2601, Level 14, State 6: Server 'PDS1_TEST', Line 1: Attempt to insert duplicate key row in object 'EXCPT_OUTGOING' with unique index...
  4. hok1man

    pass sybase return code to unix shell

    Hi guys, I've got the script which contain sybase sql as below #!/usr/bin/ksh isql -S.. -U.. -P.. << SQL INSERT INTO TABLE VALUES (...) SQL if INSERT in sybase successful echo "success" else echo "fail" The only way I can tell whether insert successful or not is via sybase...
  5. hok1man

    please, how to get the date yesterday working day.

    Thanks Anni, what about if yesterday from specified date, your script is only for yesterday from current date.
  6. hok1man

    please, how to get the date yesterday working day.

    Hi guys, I got an issue to find yesterday working day, the working days is mon - fri, so if today is monday 20080929, i need to get yesterday working days which is friday 20080926. in linux GNU there is date --date'1 day ago', but now in UNIX there's no such thing... can you guys help please...
  7. hok1man

    Is there a way to find server details

    Hi Anni, I would expect once the server installed, there is some profile that system admin needs to fill and I would like to find that if it's available. my server is solaris 10, prtdiag doesn't give me much information about location.
  8. hok1man

    Is there a way to find server details

    Hi guys, Just wondering whether we can find server profile/details in unix, like server located, etc. and hardware configuration.. Thanks guys,
  9. hok1man

    question print out one liner please

    hi guys, I would like to print the output from file.. but I would like to cut out 3 lines from top and 2 lines from bottom.. is there any one liner here? Thanks guys.
  10. hok1man

    merge 3 lines into one line please

    Thanks cspilman, I found it awk '{printf "%s,",$0;getline;printf "%s,",$0;getline;printf "%s,",$0}' /path/to/file
  11. hok1man

    merge 3 lines into one line please

    hi guys, as title so the input like this.. a, b, c 12 345 ert, test again again the expected output is : a, b, c, 12, 345 ert, test, again, again every three lines.. thanks heaps guys
  12. hok1man

    vim path directory

    I have, but the result is still the same... which vi, they go to /usr/bin
  13. hok1man

    vim path directory

    Hi guys, I got vim in directory /apps/solaris/bin and in that directory got vi symbolic link to vim odyssey 3 Sep 16 01:06 vi -> vim but if I type which vim, /apps/solaris/bin/vim which vi, /usr/bin/vi I would like to redirect vi to vim, but how come doesn't work? but if I do...
  14. hok1man

    question server remote node

    Hi guys, I was told by our system admin that we have remote server and 2 underlying server, here's by example : server A -> remote server or dns alias server A1 -> underlying server (resource server) server A2 -> underlying server (failover server) A / \ A1 A2 we always connect via...
  15. hok1man

    unix keon

    yeah.. guys, my path directory got refreshed :( my bad didn't check... Thanks anyway
  16. hok1man

    search deadlock

    Hi guys, just wondering how to search deadlock in particular time in database and which query caused it? I believe there's database log somewhere? can you help me how to find it? do I need to be dbo_owner to execute it ? Thanks guys,
  17. hok1man

    find ignore case

    Hi guys, I have downloaded the findutils-4.4.0.tar.gz, but I think I need to install libgcc-3.4.6 or gcc-3.4.6 to make it run which I don't think I have access too. Can you guys shed some light? Thanks
  18. hok1man

    ls/find question

    hmmm.. interesting, is it working in Solaris 9/10 Anni? Cheers,
  19. hok1man

    ls/find question

    Hi guys, just wondering the easy way to find files later than particular timestamp : ie : I need to find file *.ksh after 05:05 in directory dir1 I know it might be simple for you.. Thanks guys,
  20. hok1man

    unix keon

    hi, just wondering whether you guys have used this kind the unix? seems like some command doesn't work in here. I tried nslookup, the result is : bash: nslookup: command not found but if I type : man nslookup there is manual page about this, do you guys know how to make this command work...

Part and Inventory Search

Back
Top