ls command examples

Display /etc directory files, enter:$ ls /etc When invoked without any arguments, ls lists the files in the current working directory:$ ls Use -l (long option) to lists filenames, sizes, permissions, type and all other information:$ ls /etc/passwd Output: