Question

How to get the ino of the current folder you actually are in, with a unix command?
or whether a man, that could be of any use could be provided..

Était-ce utile?

La solution

you could also use unix stat:

stat -c %i .

This will just give you the inode number.

Autres conseils

ls -id .

-i tells ls to print the inode number, -d says to show the directory, not the contents. . is the current directory.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top