linux终端命令有趣
We tend to get so fed up with our daily job and passion projects from time to time. It’s time for some fun. There’s nothing practical about the commands in this article. You’re most likely not going to use them on a daily basis — and that’s fine. The goal of these commands is to put a smile on your face!
我们往往会不时地厌倦我们的日常工作和激情项目。 是时候找点乐子了。 本文中的命令没有任何实际意义。 您很可能不会每天使用它们-很好。 这些命令的目的是使您的脸上露出微笑!
Use these commands at the end of a long day at work or when you’re feeling down. Hopefully, they’ll cheer you up!
在忙碌的一天结束或心情沮丧时使用这些命令。 希望他们会为您加油!
1.微小的护理 (1. Tiny Care)
Tiny care is a small dashboard that tries to take care of you when you’re using your terminal. It tells you cute, self-care things, and tries not to stress you out.
小型护理是一个小型仪表板,在您使用终端时会尽力照顾您。 它会告诉您可爱的,自我照顾的事物,并尽量不要让您感到压力。
All you have to do to start the tiny care terminal is type tiny-care-terminal
and this is what it looks like.
启动小型护理终端所需要做的就是键入tiny-care-terminal
,这就是它的样子。
![Image for post](https://miro.medium.com/max/9999/0*uEhs03zQV8Jd-rEB.png)
The tiny care dashboard shows the latest from the Twitter accounts @tinycarebot, @selfcare_bot, and @magicrealismbot. The first two tend to tweet reminders about taking breaks, drinking water, and looking outside. The last Twitter account tells you strange, whimsical stories. For those of you who don’t like these Twitter account, they’re configurable so you could replace them with accounts you like even more.
这个微小的护理仪表板显示了Twitter帐户@tinycarebot , @selfcare_bot和@magicrealismbot的最新信息 。 前两个趋向于发布有关休息,喝水和向外看的提醒。 最后一个Twitter帐户告诉您一些奇怪的异想天开的故事。 对于那些不喜欢这些Twitter帐户的人来说,它们是可配置的,因此您可以用自己喜欢的帐户替换它们。
On top of that, you get to see all your git commits from today and the last week. This way you don’t have to worry about the fact you’re not productive since it reminds you of all the work you’ve done.
最重要的是,您将看到从今天到最后一周的所有git提交。 这样,您就不必担心自己效率低下的事实,因为它会让您想起已完成的所有工作。
You can check out the tiny care repository here.
您可以在此处查看小型护理资料库。
2.小马 (2. Ponysay)
This is the pony equivalent of cowsay. Just like the original cowsay command, ponysay doesn’t really do anything useful. However, you have more options with ponysay than cowsay since you can specify which type of pony you want using the -f
option.
这相当于考赛的小马。 就像原始的Cowsay命令一样,ponysay并没有做任何有用的事情。 但是,与powsay相比,ponysay的选项更多,因为您可以使用-f
选项指定所需的小马类型。
The ponysay repository can be found here.
在这里可以找到ponysay存储库。
3. CMatrix (3. CMatrix)
The cmatrix command is based on the screensaver from The Matrix website. It shows text flying in and out in a terminal like as seen in the movie. You can tweak the way the matrix should be displayed. You can scroll every line at the same rate or asynchronously and at a different speed.
cmatrix命令基于The Matrix网站上的屏幕保护程序。 它显示文本在终端中飞来飞去,就像在电影中看到的那样。 您可以调整矩阵的显示方式。 您可以以相同的速率或异步且以不同的速度滚动每一行。
This is what non-tech-savvy people think of what writing code looks like — just like you see in the movies (just the really bad ones). You can check out this awesome repository here.
这就是不懂技术的人如何看待编写代码的样子–就像您在电影中看到的一样(只是真的很糟糕)。 您可以在此处查看这个很棒的存储库。
4.查克说 (4. Chuck Says)
Who doesn’t love a good Chuck Norris quote? With the Chuck Says repository you get Chuck Norris facts in your terminal!
谁不喜欢Chuck Norris好的报价? 使用Chuck Says存储库,您可以在终端中获得Chuck Norris的事实!
All you need to do to get some of Chuck’s wisdom is type chuck
in your terminal. This package contains more than 600 Chuck Norris facts. Show one of these Chuck Norris facts every time you start up your terminal or login to a server. Trust me, you’ll love it!
要获得Chuck的智慧,您需要做的就是在终端中输入chuck
。 该软件包包含600多个Chuck Norris事实。 每次启动终端或登录服务器时,请显示Chuck Norris这些事实之一。 相信我,你会爱上它!
![Image for post](https://miro.medium.com/max/9999/1*JyqVJpsUJ7v_vnv08uw_jA.png)
5. Pipes.sh (5. Pipes.sh)
Pipes.sh randomly draws pathed pipes over the terminal which can be either used as a functional screensaver or for amusement. There are a lot of options that you can pass to the pipes.sh
command — like the color and the size of the pipes.
Pipes.sh在终端上随机绘制路径管道,该管道既可以用作功能屏保,也可以用作娱乐。 您可以将很多选项传递给pipes.sh
命令,例如管道的颜色和大小。
This bash script has been around for quite some time but it’s still fun to play around with. You can check the repository here.
这个bash脚本已经存在了很长一段时间,但是仍然很有趣。 您可以在此处检查存储库。
![Image for post](https://miro.medium.com/max/9999/0*RbEOBnYtm_3lA3Og.png)
6.没有更多的秘密 (6. No More Secrets)
The no more secrets repository provides a command-line tool called nms
that recreates the famous data decryption effect seen on screen in the 1992 hacker movie Sneakers.
没有更多秘密的资料库提供了一个名为nms
的命令行工具,该工具可以重现1992年黑客电影Sneakers在屏幕上看到的著名数据解密效果。
You can use the nms
command on piped data. For example, you could type ls -al | nms
. This will turn the output of your command into a bunch of magic characters.
您可以对管道数据使用nms
命令。 例如,您可以键入ls -al | nms
ls -al | nms
这会将您的命令输出变成一堆魔术字符。
What’s also included in this project is a program called sneakers
that recreates the effect seen on the movie Sneakers.
这个项目中还包括一个名为“ sneakers
的程序,该程序可以再现电影《运动sneakers
中的效果。
You can take a look at the no more secrets repository here.
您可以在这里查看“没有更多的秘密”存储库。
7.尼安猫 (7. Nyan Cat)
The Nyan cat repository does exactly what you’d expect of it. It renders the awesome Nyan cat in your terminal. This popular internet meme has been around since 2011. Luckily, this repository doesn’t include the characteristic Nyan cat music. Instead, it just animates the Nyan cat.
Nyan cat存储库完全可以满足您的期望。 它在您的终端中呈现了很棒的Nyan猫。 自2011年以来,这种流行的网络模因就已经存在。幸运的是,该存储库不包含典型的Nyan猫音乐。 相反,它只是为Nyan猫设置了动画。
Check out the Nyan cat repository here.
在此处查看Nyan cat存储库。
翻译自: https://levelup.gitconnected.com/7-fun-commands-you-can-use-inside-your-terminal-19273530cabb
linux终端命令有趣