Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cd using inodes?



On Thu, Oct 25, 2001 at 06:03:54AM +0000, Jean-Christian Imbeault wrote:
> Is the a way to cd to a dir using it's inode number instead of it's name?

Interesting question. The following should work.

$ cd `find . -inum 370505 -print`

note, the backquotes and where 370505 is the inode number you are interested
in.

Tom.
-- 
Thomas O'Dowd. - Nooping - http://nooper.com
tom@example.com - Testing - http://nooper.co.jp/labs


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links