Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .