ubuntu Basic Command
Published Date: Sept. 12, 2024
To see all the folders and files in your current path, you can use the ls
(list) command. Here are a few useful variations.
1. Basic Listing:
To see all the files and folders in the current directory:
ls
2. Detailed Listing:
To see a detailed list, including file permissions, ownership, size, and modification time:
3. Including Hidden Files:
To include hidden files (files starting with a dot .
), use the -a
flag:
4. Detailed Listing with Hidden Files:
You can combine both options (-l
and -a
) to see a detailed listing, including hidden files: