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 +