# HG changeset patch # User Oleksandr Gavenko # Date 1671993248 -7200 # Node ID d1bb9d4ecb3092f6000e4d5724ff2d5c614160ee # Parent 01700c00999d1b830ab159d6c7705db14535c2a8 Dealing with inode. diff -r 01700c00999d -r d1bb9d4ecb30 ssh.rst --- a/ssh.rst Sun Dec 25 20:33:39 2022 +0200 +++ b/ssh.rst Sun Dec 25 20:34:08 2022 +0200 @@ -217,3 +217,20 @@ add ``PubkeyAcceptedKeyTypes *`` or ``PubkeyAcceptedKeyTypes=+ssh-dss`` to ``/etc/ssh/sshd_config`` but DSS keys are depricated at all. +Dealing with inode +================== + +Linux / UNIX file system API has a notion of inode: the address of file as a unique number. + +To list inodes for a file:: + + stat $FILE + +To list inodes for a group of files:: + + ls -i -l + +You can reference inode in ``find`` query:: + + find . -inum $INODE -delete +