How can I add a custom shape to the beginning of the terminal command prompt?


black square

I see a lot of sweetly shaped terminals at the beginning of the terminal command prompt, like this:

command prompt

I want to add a shape like this:

.....____________________ , ,__ 
....../ `---____________----_____] - - - - - - - - ░ ▒▓▓█D 
...../_== o;;;;;;;;___.:/ 
.....), ---.(_(__) / 
....// (..) ), ----" 
... //___// 
..//___// 
.//___//

I know how to change the text color and add a character at the end, but when I add the brev shape, when I open the terminal I get an error:

my command prompt

So how to do it?

Billy

Save any ascii art you want to add as a text file and name it "ascii".

Open your home folder in nautilus and copy this file to your home folder.

Now if you press ctrl-h you will be able to see hidden files.

There will be a file .bashrc

Open it and add the following line at the end of the line...

Cat ascii

Now save and close it.

Run your terminal.

If all goes well, you should see what you want to see...

There's a nice illustration with a photo at the link below...

http://iloveubuntu.net/fancify-your-gnome-terminal-ascii-art

Related


How can I create a custom terminal command (to run a script)?

ire I am a web developer. I always execute some commands on the terminal when I want to start work. E.g: sudo service apache2 start sudo service mysql start sublime To speed up the process, I created a file .shwith the following commands . Now when I want to

How can I create a custom terminal command (to run a script)?

ire I am a web developer. I always execute some commands on the terminal when I want to start work. E.g: sudo service apache2 start sudo service mysql start sublime To speed up the process, I created a file .shwith the following commands . Now when I want to

How can I create a custom terminal command (to run a script)?

ire I am a web developer. I always execute some commands on the terminal when I want to start work. E.g: sudo service apache2 start sudo service mysql start sublime To speed up the process, I created a file .shwith the following commands . Now when I want to

How do I add an orchard shape to the beginning of the body?

Eddy Kavanagh I've just started using Orchard and have written a module for Google Tag Manager , which means I need to add a JavaScript snippet to every page of our site at the beginning of the body tag. In my FilterProvider OnResultExecuting I have var contex

How can I add a value to the beginning of an array?

Math question I want to add the value 0 at the beginning of the array. My code looks like: import numpy as np import matplotlib.pyplot as plt import math as m import loaddataa as ld import scipy.integrate as integrate dataListStride = ld.loadData("../Data/Fa

How can I change the contents of the command prompt?

Pop music How to permanently change the contents of the command prompt under Windows 7? I know promptthe command and content options , but I'm not sure where to save the custom prompt so I can use it every time. The old web page says autoexec.bat, but this app

How can I change the contents of the command prompt?

Pop music How to permanently change the contents of the command prompt under Windows 7? I know promptthe command and content options , but I'm not sure where to save the custom prompt so I can use it every time. The old web page says autoexec.bat, but this app

How can i echo a string + command in terminal

username How do I "echo" this command (NUMBER line in the script): Number of lines is 23. Code: #!/bin/bash . . . . echo Number of line is cat $0 | wc -l . . . . freak This should do the trick. #!/bin/bash echo "This script is `wc -l $0 | cut -d " " -f 1` l

How can I respond before asking the terminal prompt?

kairocks2002 I'm trying to automate the installation of CUDA on an Ubuntu 18.04 VM template as part of a startup script. I'm very new to bash and cloud computing in general. When I run a command to install CUDA, I'm usually prompted to select a country and lan

How can I use the Anaconda prompt in the new Windows Terminal?

Arnab Dutta Purkayastha I am trying to setup a Windows terminal profile for Anaconda Prompt (running 3.8.5). I have setup a separate config file for Python 3.9. I wish to setup Anaconda config file without affecting Python. Also, how can I modify the UI? Smara

How can I use the Anaconda prompt in the new Windows Terminal?

Arnab Dutta Purkayastha I am trying to setup a Windows terminal profile for Anaconda Prompt (running 3.8.5). I have setup a separate config file for Python 3.9. I wish to setup Anaconda config file without affecting Python. Also, how can I modify the UI? Smara

How can I respond before asking the terminal prompt?

kairocks2002 I'm trying to automate the installation of CUDA on an Ubuntu 18.04 VM template as part of a startup script. I'm very new to bash and cloud computing in general. When I run a command to install CUDA, I'm usually prompted to select a country and lan