有没有内置的Linux命令可以实时显示目录的内容?类似于“ tail -f file_name”命令,它可以实时显示文件的内容。
看看手表(linfo.org/watch.html)
—
大卫Segonds
该
—
chepner 2014年
inotifytools
软件包不是完全内置的,但是使用Linux的inotify
功能允许在发生文件创建事件时对其进行监视。
watch -n1 ls