![]() Īs we navigate this code together, I want you to keep this in mind! At the end of the article, I propose some variations and enhancements that you may want to consider. I regularly remind my audience that I think building things and actually writing code is one of the absolute best ways to learn. ![]() They are trying to read books, articles, and blog posts (just like this one!) to learn theory, or watching videos and trying to find the best BootCamp so they have the best chance of success. Many times beginner programmers are stuck in some of the early phases of learning because they are not sure how to allocate their time. I get it! But that’s why I want to put an important message beforehand, especially for the more junior developers. ![]() Note: The text art color will automatically change each time you launch the terminal (with admin privileges).I realize many of you coming here are just looking to jump directly into the code. Now launch your terminal with admin privilegesand you will see the text art. To save the file press Ctrl+ O then hit Enter. Scroll down to the end of the file (press the down arrow key) and then type the following: figlet -f font_name your_text | lolcatįor example: figlet -f 3d Hello World! | lolcat ![]() bashrc file (located in the root folder) in the nano editor: sudo nano /root/.bashrc Here we use nano: sudo apt-get install nano Install figlet and lolcat: sudo apt install figlet lolcatĭownload some figlet fonts from GitHub: cd DesktopĬopy all the font files from figlet-fonts directory to /usr/share/figlet/: sudo cp figlet-fonts/* /usr/share/figlet/įor editing the. Show the colorful TEXT ART in Linux Terminal bashrc and add the following as top line of the file fortune | cowsay -f Let's make your animal a little more intelligent by adding fortune sudo apt-get install fortune , paste your ASCII art inside the file, and save it. If you want to display a same custom message each time you log in please continue, otherwise skip to the next step.Ĭopy your ASCII art and go to the home directory. If you prefer 'thinking animal' over talking one try cowthink -f To bring up a list of all the animals in your mystical zoo type cowsay -l. If you don't like the cow, there is a mystical zoo within your terminal, type cowsay -f dragon Who dared to wake me up? Now cowsay is installed let's have some fun, add the following command cowsay I am in a good mooooo-d. Let's see how this is done, open your terminal and type: sudo apt-get install cowsay cowsay has some of the coolest ASCII arts and piping fortune outputs into cowsay can take this to another level. ![]() You can add interesting ASCII arts on your terminal without leaving your terminal. # modifications)) - except you must keep this notice intact.ĭeclare -r COLOR_OUT="$ # add this line to your ~/.bashrcĮcho "Hello world!" | figlet | color_it.sh 34 # A.M.Danischewski 2015+(c) Free - for (all (uses and You can also use this site for generating text to ASCII instead of image to ASCII.Įcho "Hello world!" | figlet | color_it.sh 54 There are lots of free tools in the wild like toilet or figlet but I personally use jp2a. The secret to these image like characters is to use an image converter to ASCII characters. And be proud to be ubuntu user :) echo "MMMMMMMMMMMMKlxMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMW0occlxNM"Įcho "MMMMMMMMMMMMOcxMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMKOXMMMMMMMMMMMMMMMMMNdcoxkOlc0"Įcho "MMMMMMMMMMMMOcxMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMdcOMMMMMMMMMMMMMMMMMkoO0lckkcl"Įcho "dxWMMMM0d0MMOcoxdooxONMMMOdXMMMMXdkMMWkxdoodxONMMMdcldddkMXdxWMMMM0dKM0coOxk0xcd"Įcho "ccNMMMMxckMMOco0XNXkclKMMxc0MMMMKcoMMNllKXXXkclXMMdcxKKKXMKclNMMMMkc0MM0oclldokN"Įcho "ccNMMMMxckMMOcxMMMMMOclWMxc0MMMMKcoMMNllWMMMMdcOMMdcOMMMMMKclNMMMMkc0MMMMNXXNWMM"Įcho "ccNMMMMxckMMOcxMMMMMKccNMxc0MMMMKcoMMNllWMMMMxckMMdcOMMMMMKclNMMMMkc0MMMMMMMMMMM"Įcho "lcKMMMMxckMMOcxMMMMWdcxMMkcxMMMMKcoMMNllWMMMMkckMMxckMMMMMNccKMMMMkc0MMMMMMMMMMM"Įcho "0lcxkkklckMMOclkOkxlckWMMNocdkkkdcoMMNllWMMMMkckMMXlcxkkxNM0lcxkkkoc0MMMMMMMMMMM"Įcho "MNxlccloxXMMXxolccokNMMMMMWOolclox0MMWxkWMMMM0d0MMMXxlclxNMMNklcclokXMMMMMMMMMMM"Įcho "| | | | '_ \| | | | '_ \| _| | | |"Įcho "| |_| | |_) | |_| | | | | |_| |_| |"Įcho " \_,_|_._/ \_,_|_| |_|\_|\_,_|" To extend answer, put the code below from the very first line of your. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |