Answer the question
In order to leave comments, you need to log in
A small educational program on unix console?
Not so long ago it was necessary to solve a couple of problems. I haven't found an elegant solution yet.
1. An analogue of tail -f for directory files (relevant, for example, for monitoring logs in debug mode), preferably recursively.
2. Analogue cat file | grep for a similar case (recursively through the files in a directory). Useful when searching for a specific string in sources, for example.
I would be grateful for help.
Answer the question
In order to leave comments, you need to log in
for example
watch -n 1 ls -al
Will show once per second the contents of the current directory
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question