Linux Tip: ls with inode number
The common ‘ls’ command will allow you to display the inode numbers associated with each file in the directory. All that’s needed is supplying the ‘-i’ option. It will display the inode number right next to the file.
A Software Blog from Marcos Savoury
The common ‘ls’ command will allow you to display the inode numbers associated with each file in the directory. All that’s needed is supplying the ‘-i’ option. It will display the inode number right next to the file.
It’s possible to run several commands in a sed one-liner. All you have to do is separate the instructions with a semicolon:
Sed is often used to replace words in input, but did you know that you can replace a set of characters with another set of corresponding characters? This is accomplished by use of the ‘y’ command. It’s essentially the same as the ‘tr’ utility and works as follows: An example of replacing all uppercase vowels […]
If you are redirecting the output of ls to a file, it will output a single file per line. Use the -C option to have ls output its usual column format
Quick Vim tip that I wanted to share: When in Insert Mode: Ctrl + y – copy the character above the cursor into the current line Ctrl + e – copy the character below the cursor into the current line