how to use ls command in unix call command code example Example 1: ls command in terminal ls -l /etc/hostsCopied! Example 2: ls command in terminal ls -la ~/Copy