Search and replace text in a file with ed.

I have a text file containing this string. deusexmachina:Documents jason$ cat out Darwin deusexmachina.local 18.2.0 Darwin Kernel Version 18.2.0: Mon Nov 12 20:24:46 PST 2018; root:xnu-4903.231.4~2/RELEASE_X86_64 x86_64deusexmachina:Documents jason$ cat out Darwin deusexmachina.local 18.2.0 Darwin Kernel Version 18.2.0: Mon Nov 12 20:24:46 PST 2018; root:xnu-4903.231.4~2/RELEASE_X86_64 x86_64 And I want to replace one instance of the word … Read more

Themes for the Cinnamon desktop and some thoughts on Linux text editors you should try.

If you want some quality themes for the Linux Mint Cinnamon desktop; then this website is perfect: http://cinnamon-spices.linuxmint.com/themes. The Cinnamon desktop is quite a stunning desktop for the Linux Mint 14 distribution; but if you want something simpler; the new MATE desktop will be better suited to you. I tried the MATE desktop out with … Read more

Using the UNIX ed editor. The simplest line editor for writing text files.

The ed(1) line editor is a very useful editor for text files on Linux and it is very simple to use. type ed to start it then to add text to an existing text file, type e my.txt. Then a to append text onto the text file. [13:20:35-*-homer@hungry-forest Desktop]$ ed e my.txt 1449 a[13:20:35-*-homer@hungry-forest Desktop]$ … Read more