Useful shell tips. How to search and replace characters or words with the bash shell.

Search and replace on the bash shell is very useful for various one-liner shell commands. The below example shows how to replace a # character with a * character. jason@DESKTOP-R72SPS3:/mnt/c/Users/johnc/Documents$ cat ip.c | sed ‘s/#/*/gi;’ *include <stdio.h>   int main() { printf(".");   return 0; }jason@DESKTOP-R72SPS3:/mnt/c/Users/johnc/Documents$ cat ip.c | sed ‘s/#/*/gi;’ *include <stdio.h> int main() … Read more

Peppermint 7 Released

Peppermint 7 launched a few days ago. Peppermint is a lightweight
Ubuntu-based Linux distribution with an emphasis on speed and simplicity.
Although the name is similar to Linux Mint, the projects aren’t
directly related. more>>