Junior — Middle
What is the function of the 'ls' command in Linux?
sobes.tech AI
Answer from AI
The ls command in Linux is used to display a list of files and directories in the current directory or in a specified path. It allows you to see the contents of a folder, and with various options, you can obtain additional information such as permissions, file size, modification date, etc.
Example of usage:
ls -l
It will display a detailed list of files with permissions, owner, size, and modification date.