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 strongm 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: pooq
  • Order by date
  1. pooq

    help! divide a file to two by grep result...

    i changed if [$(less log-file.gz | grep $line)] to if $(less log-file.gz | grep $line) still have error message like these. i don't know why. [root@lanlinux1 cisco-log]# ./splitaccount ./splitaccount: line 4: Dec: command not found ./splitaccount: line 4: Dec: command not found...
  2. pooq

    help! divide a file to two by grep result...

    #!/bin/sh while read line do if [$(less log-file.gz | grep $line)] then echo $line >> activeaccount.txt else echo $line >> inactiveaccounts.txt fi done < accounts.txt got errors message [pooq@testlinux]# ./splitaccount ./splitaccount: line 4: []: command not found...
  3. pooq

    help! divide a file to two by grep result...

    read some old posts and got this myself. #!/bin/ksh while read line do if [$(less log-file.gz | grep $line)] then write to file 1 else write to file 2 fi done < accounts.file I need to work out how to implement writing to file... sigh.. jamisar gave me no help. hehe :)
  4. pooq

    help! divide a file to two by grep result...

    i am just beginning to learn shell programming. but now got a task like this which is out of my control. can somebody help me? I have a huge log-file and a user account file (text, 500 lines, seperate by space) like this jsmith John Smith gstone George Stone .... .... need to read the...
  5. pooq

    very slow when I try to backup a novell server

    thelad, Thanks for your reponse. ARCserve tap server v7.00 netware 5.1 sp revision 03. server/switch ports have all been forced to 100/full duplex. it's fine to backup other novell servers except this one. this one is fine to connect to other servers except this backup operation.
  6. pooq

    very slow when I try to backup a novell server

    it's fine from this server to another server. i saw 100M bytes in 10 minutes it's also fine from other servers to backup machine. but when i do the backup from the server to backup machine it's very slow. i used sniffer to check the traffic. there is tcp packets window frozen.... all these...
  7. pooq

    spantree configuration in catalyst 5500 to monitor port??

    I need to monitor the traffic between a port of 5500 switch and a server i read this link http://www.robertgraham.com/pubs/sniffing-faq.html in FAQ. It's said I need to reconfigure span/monitor port on switch But What command should I use to configure spantree in 5500? Thanks a lot!

Part and Inventory Search

Back
Top