loop clear and ls lrt command line linux code example
Example: loop clear and ls lrt command line linux
while [ 1 ] ; do clear; ls -lrt; sleep 5; done # this will clear screen and list directory every 5 seconds
while [ 1 ] ; do clear; ls -lrt; sleep 5; done # this will clear screen and list directory every 5 seconds