By using the man command I want to list the names of the files I have already created with extra information such as filesize, date of modification etc.

I know I have to use the man command possibly something like:

man ls | documents

But this would not seem to work. If anyone would know how to do this that would be great? Any help would be much appreciated.

有帮助吗?

解决方案

You use man to read the contents of the manual, not list files.

Use ls to list your files.

Use ls -l to list files with extra information.

Use ls -la to list all files (including hidden) with extra information.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top