Installing custom fonts in Linux
I’ll step through how to set custom fonts for xterm terminal. My default shell is tcsh
.
I’ll step through how to set custom fonts for xterm terminal. My default shell is tcsh
.
If you type echo "Hi\nHow\nHi\nAre\nHi\nYou?\nAre"
, you will get this in your terminal:
Hi
How
Hi
Are
Hi
You?
Are
Here’s how we can remove the duplicate lines using awk
..
sed stands for stream editor.
This is the most common way of my sed usage:
echo [SOMETHING] | sed 's/old/NEW/g'
Some times I would need to define an alias in tcsh which can have optional arguments. tcsh doesn’t seem to support that directly.
Here’s how I solve that problem.
I found how to escape a $ sign in a regex expression in a tcsh alias. BUT it is UGLY!