As you can see on this screenshot of Mik's Guake he has a startup message of ASCII art when he opens it, and that's what I'd like to do, can someone help me?
As you can see on this screenshot of Mik's Guake he has a startup message of ASCII art when he opens it, and that's what I'd like to do, can someone help me?
Open your terminal with CTRL+ALT+T and type as
There type as
echo " Hi Zignd"
then close and save it.then type this command to reload bashrc .
You will what you want.
for example :I made my self.
To extend @snow's answer, put the code below from the very first line of your
.bashrc
. And be proud to be ubuntu user :)OR
The secret to these image like characters is to use an image converter to ASCII characters. There are lots of free tools in the wild like
toilet
orfiglet
but I personally usejp2a
.You can also use this site for generating text to ASCII instead of image to ASCII.
How do we apply ASCII art into the terminal?
There are numerous ways of generating ASCII art, including specialized software and manual building but there are also websites that generate ASCII art by simply entering the desired name.
First we need to generate/create the ASCII "code": visit this website, type the desired name and copy the "live" generated ASCII result.
Then create a text file named art and paste into it the above mentioned generated ASCII result, copy the art file in your home folder (navigate here by clicking Nautilus sidebar's Home), open the
.bashrc
file (to make it viewable, press Ctrl+H) and paste on the bottom of the pagecat art
Worth mentioning:
The above-mentioned site contains hundreds of different fonts for generating ASCII that feature various sizes, 3D-look, etc.
Source
As for images to ASCII go to this website
First generate a ascii drawing. I recommend
asciio
:Example:
Copy and paste the drawing in file:
Finally, add at the end of file to read when you open a new bash:
Open another terminal:
cat color_it.sh
its typical to create a dir ~/bin and make all those files visible
You can add interesting ASCII arts on your terminal without leaving your terminal.
cowsay
has some of the coolest ASCII arts and pipingfortune
outputs into cowsay can take this to another level. Let's see how this is done, open your terminal and type:Now cowsay is installed let's have some fun, add the following command
If you don't like the cow, there is a mystical zoo within your terminal, type
To bring up a list of all the animals in your mystical zoo type
cowsay -l
. If you prefer 'thinking animal' over talking one try< >
are to be ignored. If you want to display a same custom message each time you log in please continue, otherwise skip to the next step.Let's make your animal a little more intelligent by adding
fortune
Go to the home directory and open
.bashrc
and add the following as top line of the fileNow save the file and you are done :)
This one takes a png image file and outputs a facsimile onto your terminal
If you have nodejs installed then issue
then put this into bottom of your ~/.bashrc
code is at https://github.com/substack/picture-tube
enjoy
Run these commands as
root
Install figlet
apt-get install figlet
For editing .bashrc file, we need a text editor, here we use leafpad
apt-get install leafpad
Edit the .bashrc file located in the root folder.
leafpad /root/.bashrc
Scroll down to the end of the file then type figlet your name
figlet Anonymous
Type in the next line echo "your message"
echo "We are Anonymous"
Save the file (File->Save)
Finally, relaunch your terminal again with the
root
privilegesShow the colorful TEXT ART in Linux Terminal
Follow these steps:
Install
figlet
andlolcat
:Install
git
:Download some figlet fonts from GitHub:
or visit the link: https://github.com/xero/figlet-fonts.git
Copy all the font files from
figlet-fonts
directory to/usr/share/figlet/
:For editing the
.bashrc
file, we need a text editor. Here we usenano
:Open the
.bashrc
file (located in theroot
folder) in thenano
editor:Scroll down to the end of the file (press the down arrow key) and then type the following:
For example:
To save the file press Ctrl+O then hit Enter. Then press Ctrl+X to exit.
Now launch your terminal with admin privilegesand you will see the text art. :)
Note: The text art color will automatically change each time you launch the terminal (with admin privileges).
Here's my terminal slash screen:
It combines elements of other answers here including
figlet
andtoilet
depending on which is already installed on your system. The full setup (bash script) is explained here: