Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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
Source by unix.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #loop #clear #ls #lrt #command #line #linux
ADD COMMENT
Topic
Name
8+9 =