Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 Cygwin:
tail -f prueba.txt
该文件位于 c:\cygwin\home\ (/home/) 中。
如何对位于以下位置的文件执行完全相同的操作:
c:/wamp/logs/
cygdrive是 Windows 驱动器的根点,因此c:\可以在 CygWin 中的/cygdrive/c.
cygdrive
c:\
/cygdrive/c
所以你正在寻找的命令是:
tail -f /cygdrive/c/wamp/logs/somefile.txt