Check out example codes for "linux directory commands". It will help you in understanding the concepts better.

Code Example 1

$ls – directory listing

Code Example 2

$ls -al    – formatted listing with hidden files

Learn ReactJs, React Native from akashmittal.com