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 fjchia

  1. fjchia

    how to list which daemon is using a port? Thanks.

    netstat -Aan Active Internet connections (including servers) PCB/ADDR Proto Recv-Q Send-Q Local Address Foreign Address (state) 7038edf0 tcp4 0 0 *.22 *.* LISTEN . . . rmsock 7038edf0 tcpcb The socket 0x704abc00 is being held by proccess...
  2. fjchia

    question about for loop

    How about... #!/bin/ksh while read lines do echo $lines char count: ${#lines} >> WC.out done < Application.log Frank
  3. fjchia

    HOW TO CHANGE .sh_history on IBM AIX 4.3 ?

    In .profile - HISTFILE=~/.hist$$ export HISTFILE
  4. fjchia

    Trying to get the first and last words from a long ps -ef?

    Maybe - ps -ef | awk '/java/ {print($1,$2,$NF)}'
  5. fjchia

    String awk

    Or try awk -F"[<>]" '{ print $2 }'
  6. fjchia

    NEWB: how to reset $1 in multiple calls to scripts

    You're setting $# and $1 in your current shell by executing script.sh using the dot (.) command. Make it executable so it runs in a subshell... FJC
  7. fjchia

    Simple CGI not working

    Try.... echo "Content-type: text/html\n\n" note the two "\n"'s

Part and Inventory Search

Back
Top