Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use the figlet command in Linux

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces the relevant knowledge of how to use the figlet command in Linux, the content is detailed and easy to understand, the operation is simple and fast, and has a certain reference value. I believe you will gain something after reading this article on how to use the figlet command in Linux. Let's take a look at it.

Welcome back to the 24-day Linux command line toy calendar. If this is your first visit to the series, you may even ask yourself what a command line toy is. We're thinking, too, but generally speaking, it could be a game, or any simple pastime that can help you have a good time at the terminal.

It's possible that some of you have seen all kinds of toys in our calendar before, but we want everyone to see at least one new thing.

Today's toy is figlet, a program that prints text as a banner on a Linux terminal.

You may find figlet in the standard warehouse. On my Fedora, this means that the installation is as simple as the following:

$sudo dnf install figlet

After that, you just need to call it with the name of the program. You can use it interactively, or enter some text through a pipe, as follows:

Echo "Hello world" | figlet_ | | _ _ | | | _ | | / _\ | | / _\\ / _\ |'_ _ | | / _ `| | _ | _ | _ / | | (_) |\ V / (_) | (_ | _ | | _ |\ _ _ |\ _ _ /\ _ /\ _ | _ | | _ |\ _ _ _ |

Figlet has many different fonts. To see the available fonts, try the command showfigfonts. More than a dozen are shown here. I copied some of my favorites below.

Block: _ | _ | _ | bubble: _ /\ /\ (b | u | b | b | l | e)\ _ / \ _ / lean: _ / / _ / / _ / _ / script: o _ _, _ | _ / _ _ / / | /\ _ |\ /\ _ _ / | _ / / |\ | this is the end of the article on "how to use figlet commands in Linux". Thank you for reading! I believe you all have a certain understanding of the knowledge of "how to use figlet commands in Linux". If you want to learn more, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report