Answer the question
In order to leave comments, you need to log in
How to output files in linux directory but without extra information?
Linux has an ls command that displays information about files in a directory. how can i specify what kind of file data i want to see? For example, I only need the file name, permissions, and creation date.
Answer the question
In order to leave comments, you need to log in
as already written man ls, and from myself I will add man awk
ls -la | awk '{print $1,$6,$7,$8,$9}' - not the most correct option if there are files containing a space in the name
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question