How to list the inodes of directories on a Linux machine.

It is possible with ls to list only directories on a Linux system, but you can also list the inode values of the directories on a Linux system. The example below shows how this is done. The -i parameter shows the 📂 inodes value. ┌──(john㉿DESKTOP-PF01IEE)-[~] └─$ ls -ldi — */ 150 drwxr-xr-x 2 john john … Read more

Some awesome UNIX tricks. Create a file that is hard to delete.

Very old CRT terminal.

Here is one for any experimenters out there… It is possible to create files which simply cannot be deleted from the standard shell. To do this you will have to physically create the file using a script or a text editor, and you will have to use a sequence of control characters which cannot be … Read more