for i in `ls`; do file $i ;done
Esempio risultato:
– Come.Lo.Sai.CD1.avi: RIFF (little-endian) data, AVI, 720 x 384, 25.00 fps, video: XviD, audio: MPEG-1 Layer 3 (stereo, 44100 Hz)
– cmdtime3.exe: PE32 executable for MS Windows (console) Intel 80386 32-bit
– esempio.txt: ASCII English text, with CRLF line terminators
– ghiera_verde.html: HTML document text
– test.jpg: JPEG image data, JFIF standard 1.02
– rolex-submariner.pdf: PDF document, version 1.3
– Mac_OS_X_Cursors.zip: Zip archive data, at least v2.0 to extract
– mp3ico.gif: GIF image data, version 89a, 347 x 346
– Alice: directory