To list the files and directories in the current directory in Bash, you can use the ls
command.
ls
and press Enter.This will display a list of files and directories in the current directory. By default, ls
displays the contents in alphabetical order.