Linux Commands - Toilet and Terminal Banner Customization with names
Toilet Linux Commands
command | toilet [options]
ls | toilet
Changing Font:
echo "Hello World" | toilet -f term
echo "Hello World" | toilet -f mono12
Fonts Lists:-
block
big
lean
mini
script
shadow
slant
small
smblock
smscript
echo "Hello World" | toilet -F metal
Changing Font Size:
echo "Hello World" | toilet -f term --filter border -w 80
Changing Colors:
echo "Hello World" | toilet --gay
Text Alignment:
echo "Hello World" | toilet --gay -F border
Adding Borders:
echo "Hello World" | toilet --gay -F border --gay
Rotating Text:
echo "Hello World" | toilet -F border --gay -r
Applying Filters:
echo "Hello World" | toilet --gay --filter flip
Configuring terminal for name banner
Here's how you can do it for some common shells:
Bash: If you're using Bash, you can add the command to your ~/.bashrc file.
Open ~/.bashrc in a text editor:
bash
Copy code
nano ~/.bashrc
Add the following line at the end of the file:
bash
Copy code
echo "Hello World" | toilet -f mono12
Save the file and exit the text editor.
Zsh: If you're using Zsh, add the command to your ~/.zshrc file in a similar manner.
Fish: For Fish shell, add the command to ~/.config/fish/config.fish.
Open ~/.config/fish/config.fish in a text editor:
bash
Copy code
nano ~/.config/fish/config.fish
Add the following line at the end of the file:
bash
Copy code
echo "Hello World" | toilet -f mono12
Save the file and exit the text editor.
After adding the command to the appropriate initialization file, it will be executed every time you open a new terminal window or start a new shell session.
#customization #terminal #linuxcommands #terminalcustomization
Comments
Post a Comment