Install screenfetch: display system, theme information
sudo apt install screenfetch
screenfetch
]]
Logo pictures and system information of Linux distributions
sudo apt install linuxlogo
linux_logo
linux_logo -f -L list
sudo apt-get install neofetch
neofetch
install talking cow
sudo apt-get install cowsay
Then enter the following to test
cowsay “我是会说话的牛”
Just use -l
the parameter to see all the animals it has to offer.
cowsay -l
The following characters will be output, and you can -f
change the speaking character by adding the character name as a parameter:
# Cow files in /usr/share/cowsay/cows:
apt beavis.zen bong bud-frogs bunny calvin cheese cock cower daemon default
dragon dragon-and-cow duck elephant elephant-in-snake eyes flaming-sheep
ghostbusters gnu head-in hellokitty kiss kitty koala kosh luke-koala
mech-and-cow meow milk moofasa moose mutilated pony pony-smaller ren sheep
skeleton snowman sodomized-sheep stegosaurus stimpy suse three-eyes turkey
turtle tux unipony unipony-smaller vader vader-koala www
For example, replace it with eyes:
cowsay -f eyes “我是眼睛”
This is what I think looks better inside
stegosaurus 剑龙
__________________
< “我是会说话的剑龙” >
------------------
. .
/ `. .' "
.---. < > < > .---.
| - ~ ~ - / / |
_____ ..-~ ~-..-~
| | ~~~.' `./~~~/
--------- \__/ \__/
.' O / / "
(_____, `._.' | } /~~~/
`----. / } | / \__/
`-. | / | / `. ,~~|
~-.__| /_ - ~ ^| /- _ `..-'
| / | / ~-. `-. _ _ _
|_____| |_____| ~ - . _ _ _ _ _>
eyes 眼睛
__________________
< “我是会说话的眼睛” >
------------------
.::!!!!!!!:.
.!!!!!:. .:!!!!!!!!!!!!
~~!!!!!!. .:!!!!!!!!!UWWW$$$
:$$NWX!!: .:!!!!!!XUWW$$$$$$$$$P
$$$$$##WX!: .<!!!!UW$$$$" $$$$$$$$#
$$$$$ $$$UX :!!UW$$$$$$$$$ 4$$$$$*
^$$$B $$$$ $$$$$$$$$$$$ d$$R"
"*$bd$$$$ '*$$$$$$$$$$$o+#"
"""" """""""
ghostbusters 捉鬼敢死队
__________________
< “我是会说话的捉鬼敢死队” >
------------------
__---__
_- /--______
__--( / )XXXXXXXXXXXv.
.-XXX( O O )XXXXXXXXXXXXXXX-
/XXX( U ) XXXXXXX
/XXXXX( )--_ XXXXXXXXXXX
/XXXXX/ ( O ) XXXXXX XXXXX
XXXXX/ / XXXXXX \__ XXXXX
XXXXXX__/ XXXXXX \__---->
---___ XXX__/ XXXXXX \__ /
- --__/ ___/ XXXXXX / ___--/=
- ___/ XXXXXX '--- XXXXXX
-/XXX XXXXXX /XXXXX
XXXXXXXXX /XXXXX/
XXXXXX > _/XXXXX/
XXXXX--__/ __-- XXXX/
-XXXXXXXX--------------- XXXXXX-
XXXXXXXXXXXXXXXXXXXXXXXXXX/
""VXXXXXXXXXXXXXXXXXXV""
dragon-and-cow 龙和牛
__________________
< “我是会说话的龙和牛” >
------------------
^ /^
/ //
|\___/| / // .
/O O \__ / // | *----*
/ / /_/ // | |
@___@` /_ // | /
0/0/| /_ // |
0/0/0/0/| /// | | |
0/0/0/0/0/_|_ / ( // | _ | /
0/0/0/0/0/0/`/,_ _ _/ ) ; -. | _ _.-~ / /
,-} _ *-.|.-~-. .~ ~
\__/ `/ / ~-. _ .-~ /
\____(oo) *. } {
/
( (--) .----~-. -` .~
//__\ \__ Ack! ///.----..< _ -~
// \ ///-._ _ _ _ _ _ _{
^ - - - - ~
dragon 龙
__________________
< “我是会说话的龙” >
------------------
/ //
|\___/| / // \
/0 0 \__ / // |
/ / /_/ // |
@_^_@'/ /_ // |
//_^_/ /_ // |
( //) | /// |
( / /) _|_ / ) // | _
( // /) '/,_ _ _/ ( ; -. | _ _.-~ .-~~~^-.
(( / / )) ,-{
_ `-.|.-~-. .~ `.
(( // / )) '/ / ~-. _ .-~ .-~^-.
(( /// )) `. { } /
(( / )) .----~-. -' .~ `. ^-.
///.----..> _ -~ `. ^-` ^-_
///-._ _ _ _ _ _ _}^ - - - - ~ ~-- ,.-~
/.-~
add a color
sudo apt install lolcat
Use the pipe command to make the colorful dinosaur brother say 'I am a dragon'
cowsay -f stegosaurus '我是龙' | lolcat
Get cpu real-time temperature value (python)
# 打开文件
file = open("/sys/class/thermal/thermal_zone0/temp")
# 读取结果,并转换为浮点数
temp = float(file.read()) / 1000
# 关闭文件
file.close()
Write python file combination output (can be added by yourself)
# -*- coding: utf-8 -*-
import os
#读取温度
file = open("/sys/class/thermal/thermal_zone0/temp")
temp = float(file.read()) / 1000
file.close()
wendu = '当前温度为'+str(temp)+'!最大火力前进!'
shell = 'cowsay -f dragon '+wendu+' | lolcat'
#os.system('linux_logo')
os.system('neofetch')
os.system(shell)
Set to automatically execute after ssh connection
/etc/profiles.d/motd.sh
Implemented by modifying :
sudo nano /etc/profiles.d/motd.sh
add in
python logo.py
Note: logo.py is the python file name just created
When you log in next time, you can see the colorful logo.
[1]: …/usr/uploads/2019/09/829633199.png
[2]: https://www.akitten.cn/usr/uploads/2019/09/493312730.png
[3]: https:// www.akitten.cn/usr/uploads/2019/09/1639126728.png
[4]: https://www.akitten.cn/usr/uploads/2019/09/3959304764.png
[5]: https:// www.akitten.cn/usr/uploads/2019/09/3651237359.png
[6]: https://www.akitten.cn/usr/uploads/2019/09/3704573744.png
[7]: https:// www.akitten.cn/usr/uploads/2019/09/2980206721.png
[8]: https://www.akitten.cn/usr/uploads/2019/09/955834670.png