Peng Yu wrote: > ls -go gives me permission and file sizes. But I only want to show > time and file names. Would you please let me know what command to use?
Since this has nothing to do with bash it is off topic for the bug-bash list. In the future think about sending general help questions to the help-gnu-ut...@gnu.org mailing list instead. Or if you are specific about 'ls' then the coreut...@gnu.org mailing list of which 'ls' is a component. You might consider using 'stat' for this. stat --printf "%y %n\n" * Or 'find'. find . -maxdepth 1 -printf "%TF %TT %p\n" Or some combination of the two. Bob