ssh.rst
changeset 2546 d1bb9d4ecb30
parent 2538 1f827ee55f7c
child 2554 c83fb8d3809f
--- 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
+