In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail what are the more interesting command line tools in Linux. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.
1. Pv command
You may have seen the mock subtitles in the movie, and they seem to have been tapped out in real time. Wouldn't it be good if we could achieve such an effect in the terminal?
This can be done. We can install the pv' command on the Linux system through the 'apt' or' yum' tool. The installation commands are as follows.
# yum install pv [on RedHat-based systems] # sudo apt-get install pv [on Debian-based systems]
After the pv' command is installed successfully, we try to run the following single-line command to see the effect of real-time text output on the terminal.
$echo "Tecmin [dot] com is a community of Linux Nerds and Geeks" | pv-qL 10
Running pv command
Note: the'Q 'option means' quiet', there is no other output, and the'L 'option represents the upper limit on the number of bytes converted per second. Adjust the value of the number (which must be an integer) to display the text effect in another direction.
2. Toilet command
How about using the one-line script command 'toilet' to display a framed text in the terminal? Also, you must make sure that toilet' is installed on your computer. If not, please use apt or yum installation. (translator's note: 'toilet' is not in Fedora's official warehouse, you can download the source code from github to install)
$while true; do echo "$(date | toilet-f term-F border-Tecmint)"; sleep 1; done
Running toilet command
Note: the above script needs to be paused using the ctrl+z key.
3. Rig command
This command generates a random identity and address at a time. To run this command, you need to install 'rig'. with apt or yum (translator's note: 'rig' is not in Fedora's official warehouse, I only found Ubuntu's deb package on rpmseek, which can be used to install.)
# rig
Running rig command
4. Aview command
What do you think of displaying pictures in ASCII format at the terminal? We must install the package 'aview'. with apt or yum Translator's note: 'avieww' is not in Fedora's official repository. You can download the source code from aview's project home page to install it. There is a picture named 'elephant.jpg' in the current working directory, which I want to view in ASCII mode on the terminal.
$asciiview elephant.jpg-driver curses
Running aview command
5. Xeyes command
In the previous article, we introduced the 'oneko' command, which shows a mouse following the mouse pointer. Xeyes' is a similar graphics program. When you run it, you can see the little monster's two eyeballs following your mouse movement.
$xeyes
Running xeyes command
6. Cowsay command
Do you remember the last time we introduced this order? It can display a cow consisting of a predetermined piece of text and a character. What if you want to use other animals instead of cows? View a list of available animals:
$cowsay-l
How to use ASCII to describe a snake swallowing an elephant?
$cowsay-f elephant-in-snake Tecmint is Best
Running cowsay command
What would happen if it were a goat?
$cowsay-f gnu Tecmint is Best
This is the end of this article on "what are the more interesting command line tools in Linux?". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.