Forrest logo
back to the exa tool

exa:tldr:45056

exa: List files one per line.
$ exa --oneline
try on your machine

The command "exa --oneline" is used to display a short one-line summary of files and directories within a directory.

"exa" is a modern replacement for the traditional "ls" command in Unix-like operating systems. It provides more enhanced features and a more intuitive output. The "--oneline" flag is an option used with "exa" to format the output in a concise way.

When you execute the "exa --oneline" command, it will show a single line summary for each file or directory within the current directory. The summary typically contains information such as permissions, file sizes, modification dates, and names of the items.

For example, the output may look like:

-rw-r--r-- 1 user users 4096 Jan 1 12:00 file.txt
drwxr-xr-x 2 user users 4096 Jan 1 12:00 directory/
lrwxrwxrwx 1 user users   10 Jan 1 12:00 link -> target

Here, each line represents a file or directory. The information displayed includes the file type (- for regular file, d for directory, l for symbolic link), permissions (read, write, execute), the owner and group, file size, modification date, and name.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the exa tool