Linux "watch" command showing last 30 lines of nft list ruleset
-1
votes
2
answers
70
views
I want to constantly see last 30 lines of code "nfc list ruleset" in Debian Bash. Something like this:
watch -n 1 nft list ruleset | tail -n 30
But above code doesn't show last 30 lines of "nfc" command output, it shows blank screen.
Asked by gio
(19 rep)
Dec 12, 2023, 05:48 PM
Last activity: Dec 13, 2023, 03:03 PM
Last activity: Dec 13, 2023, 03:03 PM