Need tail tool

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • leejwen
    New Member
    • Jun 2007
    • 50

    #1

    Need tail tool

    Hello guys,

    Is there any tools in Windows (or VC) like UNIX "tail" to trace a file. Thank you!
  • dafodil
    Contributor
    • Jul 2007
    • 389

    #2
    How about the tree command in dos?

    Comment

    • epots9
      Recognized Expert Top Contributor
      • May 2007
      • 1352

      #3
      Originally posted by dafodil
      How about the tree command in dos?
      leejwen, did you try that? did it help you?

      Comment

      • leejwen
        New Member
        • Jun 2007
        • 50

        #4
        I'm sorry, I didn't express verly clearly. 'tail' is a command in unix used to trace file content, by default it will print last few lines of the file. It will keep display as the lines added. So it's more like a file monitor, if you use 'tail -f filename'.

        Thank you!

        Comment

        • WhiteRider
          New Member
          • Sep 2007
          • 37

          #5
          I had a usefull BASH script for editing a config file for a server but the server went down for hardware upgrades and I installed the server on a Windows system as a temporary solution. In that script it relied on the tail command to monitor a log and I couldn't find any tool native to windows that could do it so I got cygwin. With this you can use lots of *nix commands. If this isn't practical you should investigate Python - I think I've seen a script written that can emulate the tail command.

          Good luck.

          Comment

          Working...