WINDOWS CMD Commands

5

I do not know if you can ask questions about this, but I'm having trouble opening the file continuously in Windows CMD.

When I use Linux, just do this:

tail -f C:\xampp\apache\logs\error.log

But in Windows this command does not work. Does anyone know how to tell me the similar to this or another one that does the same function of remaining with open file to check the simultaneous writings?

    
asked by anonymous 06.02.2016 / 01:39

1 answer

3

Do this with #, just do this command:

Get-Content C:\xampp\apache\logs\error.log -Wait

If you really want to use Linux tail veloper, you can install GNU Libraries for Win32 .

    
06.02.2016 / 02:29