LinuxFile/Directoryls -al
ls

ls -alFile/Directory

cd

List all files including hidden, with details.

Syntax

ls -al [DIR]

Example

Enter values below to update the example in real time.

ls
al
home
user
total
drwxr
xr
Jun
root
rw
ls -al /home/user
# total 48
# drwxr-xr-x  6 user user 4096 Jun 28 09:00 .
# drwxr-xr-x  3 root root 4096 Jun 20 12:00 ..
# -rw-------  1 user user  220 Jun 20 12:00 .bash_history
# -rw-r--r--  1 user user 3526 Jun 20 12:00 .bashrc