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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by linmac

  1. linmac

    another "merge files"

    hi CaKiwi, sorry for my very bad english. ok, i want to produce 1 summary file, which is output from 2 commands (actualy "sar" command). output file1 :- time %usr %sys %wio %idle 05:05 50 47 15 5 05:10 45 30 25 15 05:20 30 27 35 15...
  2. linmac

    another "merge files"

    hi all gurus, I run 2 command to produce 2 outputfiles and want to merge together with some calculation: 1) command1 :- time %usr %sys %wio %idle 05:05 50 47 5 5 ... ... 2) command2 :- user 54 45 65 user load min what I want to do is to...
  3. linmac

    command line crontab editing

    hi all, i got crontab file like this: 50 1 * * * * /usr/local/bin/script1 50 2 * * * * /usr/local/bin/script2 50 3 * * * * /usr/local/bin/script3 .. .. .. and more. question:- 1) how from shell script file, i add # to line 1 and line3 in first run? 2) remove # from line 1 and line 3...
  4. linmac

    NR ?

    I got script ..... lineno=0 syscommnand | awk 'NR>$lineno && NR<$lineno-2 {print $2, $6)' let lineno=$lineno+10 ... but the script doesn't work b'cause the $lineno in &quot;NR&quot;, how can I pass the variable to NR? or can someone give me better code b'cause I am new to awk. thanx in very...
  5. linmac

    cgi parameter

    please anybody tell me, how to read parameter form cgi files like below: http://host/cgi-bin/print?a=1 and how to process them in function I just need example. thanx in andvance
  6. linmac

    lp client

    is there any lp printing client running on windows and linux (maybe java base)
  7. linmac

    script control

    I am just join this group, and this is my 1st post/? I have a script like this (ftptkf.sh): #!/usr/bin/sh echo &quot;Password \c: &quot; read pass ftp -inv <<END open 172.18.10.101 user `echo $LOGNAME` $pass ls bye END exit 0 this script I want to call from another system...

Part and Inventory Search

Back
Top