One of the standard requirements in Linux shell scripts is to get files in a directory or information about files like size, permissions, ownership, and timestamps - and the typical way to achieve this is by using 'ls' command and capturing the output. But this approach can get clumsy and error-prone as the output of ls command is not always consistent and script-friendly.
In this video, you will learn 3 alternative script-friendly approaches to get file stat, a list of files, and other details for use in shell scripts that can scale better.