Author Topic: Command to list permissions for a file  (Read 659 times)

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Command to list permissions for a file
« on: October 02, 2004, 07:10:41 am »
Is there a command which just lists the permissions for a file? Or do I have to use ls -l and then awk to grab the first 10 chars of that output?


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva