![](https://seccdn.libravatar.org/avatar/7b33cb1e776e35b87edb8ef09f0c888f.jpg?s=120&d=mm&r=g)
Hallo, On Sat, 23 Mar 2002, Juergen Schwarting wrote:
Hallo David,
* Am 22.03.2002 um 20:12 Uhr schrieb David Haller:
ls -l --time=atime --full-time | awk '{print $6, $7, $8, $9, $10, $11}'
mit <cut> geht's noch ein wenig performanter¹:
ls -l --time=atime --full-time | cut -b 44-
$ ls -lc --full-time | cut -b 44- ri Mar 22 18:08:28 2002 [..] ri Mar 22 18:08:22 2002 [..] Fri Mar 22 18:08:16 2002 [..] Nimm nur ne Datei > 100M Bytes ;)
Nebenbei werden auch Dateinamen mit Leerzeichen vollständig angezeigt ;-)
Ah ja, stimmt. Was geht: ls -lc [--full-time] | \ awk '{ i=6; while(i <= NF) { printf("%s ", $i); ++i; }; printf "\n"; }' Fuer ein ls -i muss man aber i mit 7 statt 6 initialisieren. -dnh -- "Don't put off 'till tomorrow, responsibilities. They'll just come back to haunt you. (Ignore them totally)" -- TISM