List first/last files in a directory

Sample

ls -1t | head -5
ls -1t | tail -5

Popular posts from this blog

Use PHP 7.4 in Hostgator CLI

Sample script for updating current IP in dd-wrt, Open-wrt and other linux based OS