Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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


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.