Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

What is the ls command that will produce the following output?

478661 .gconf/
478662 .gconfd/
450001 .gimp-2.4/
450006 .gksu.lock
478706 .gnome/
478664 .gnome2/
478667 .gnome2_private/
478669 .gnupg/
478681 .gstreamer-0.10/
478679 .ovfs/
share|improve this question

1 Answer 1

Most likely

ls -i

The number in front of the filename is the inode number, I guess.

share|improve this answer
    
For the output to be one entry per line you need to add "-1": ls -1i –  agporwfnz29 Apr 10 '12 at 19:36

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.