|
linuxlogo (or called linux_logo) is a Linux command line under ANSI code generating color comes with a release system information tool logo.
Linux_Logo - output color ANSI Linux distributions logo
This gadget can get system information from / proc file system and can be displayed include release installed on the host, including many releases logo.
Logo along with system information displayed includes: Linux kernel version, a recent Linux kernel compile time, processors / cores, speed, manufacturer, and which generation of processors. It also shows the total physical memory size.
Coincidentally, screenfetch is a tool that has a similar function, it can also display the logo release, while also providing a more detailed appearance of system information.
linux_logo and Screenfetch and exactly the same. Although screenfetch output more tidy and provide more details, but it offers more linux_logo ANSI color icons, and provides an option to format the output.
linux_logo mainly written in C and linux logo rendered in the X Window System graphical interface therefore need to install X11 or X system (LCTT Annotation: Here is wrong supposedly should not need any graphical interface support, and its official translator http://www.deater.net/weave/vmwprod/linux_logo station did not find any information related to X11). The software uses the GNU 2.0 protocol.
In this article, we will use the following environmental testing linux_logo tool.
Operating System: DebianJessie
Processor: i3 / x86_64
Installation tool in Linux Linux Logo
1. linuxlogo package (stable version 5.11) can be used in the following way apt, yum or dnf default depot installed on all releases
# Apt-get install linux_logo [for Apt-based systems] (Translator's Note: Ubuntu, the package called linuxlogo)
# Yum install linux_logo [for systems based Yum]
# Dnf install linux_logo [for Dnf-based systems]
or
# Dnf install linux_logo.x86_64 [for 64-bit systems]
2. Once installed linuxlogo package, you can use the command linuxlogo to obtain release you are using the default logo ..
# Linux_logo
or
# Linuxlogo
Get the default system logo
3. Use [-a] option can be output without color logo. When used in black and white linux_logo terminal where this option would be useful.
# Linux_logo -a
Black and white Linux Logo
4. Use the [-l] option to output only the logo does not contain system information.
# Linux_logo -l
Output Release Logo
5. [-u] option to display the system uptime.
# Linux_logo -u
Output system uptime
6. If you are interested in the average load on the system, you can use the [-y] option. You can use multiple options simultaneously.
# Linux_logo -y
Output System load average
To see more options and get help, you can use the following command.
# Linux_logo -h
Linuxlogo options and help
7. This tool is built a lot of different releases of the logo. You can use [-L list] option to view the list of these logos.
# Linux_logo -L list
Linux Logo List
If you want to output this list any logo, you can use the -L NUM or -L NAME to display the desired icon selected.
-L NUM - outputs list numbered NUM icon (not recommended).
-L NAME - prints a list of named NAME icon.
For example, if you want to display the logo of AIX, you can use the following command
# Linux_logo -L 1
or
# Linux_logo -L aix
Output AIX icon
Note: Use the command -L 1 because AIX logo in the list is numbered 1, and it is because the use -L aix AIX logo name in the list of aix
Similarly, you can also use these options to output any of the icons, the following are some examples ..
# Linux_logo -L 27
# Linux_logo -L 21
Various Linux Logo
You can use any number that corresponds to the logo by a logo or name.
Some use Linux_logo advice and tips
8. You can export your Linux distribution logo in the login screen. To output default logo, you can finally add the following to ~ / .bashrc file.
if [-f / usr / bin / linux_logo]; then linux_logo; fi
NOTE: If no ~ / .bashrc file, you need to create a new in the current user's home directory.
9. After the addition of the above, you only need to log off and log back in to see your release the default logo
When a user logs output logo
In fact, you can also export any icon after logging in, simply add the following:
if [-f / usr / bin / linux_logo]; then linux_logo -L num; fi
Important: Do not forget to replace a num icon you want to use.
10. You can also directly specify the location where the logo to display your own logo.
# Linux_logo -D / path / to / ASCII / logo
11. Output icon when a remote login.
# / Usr / local / bin / linux_logo> /etc/issue.net
If you want to use ASCII logo instead of containing ANSI color logo, use the following command
# / Usr / local / bin / linux_logo -a> /etc/issue.net
12. Create a port on Linux - response for the connection port. To create a Linux port, you need to add the following in / etc / services file
penguin 4444 / tcp penguin
4444 Here is a free port not used by any other resource use. You can also use other ports. You also need to add the following in /etc/inetd.conf:
penguin stream tcp nowait root / usr / local / bin / linux_logo
And use the following command to restart the inetd service
# Killall -HUP inetd
(LCTT Annotation: Then you can locally or remotely connected to this port, and a display this logo.)
linux_logo can also be used as a startup script to fool the attacker or prank your friends use. This is a good tool in my script I often used to obtain different release output. |
|
|
|