linuxlogo or linux_logo is a tiny command line utility that generates a shade ANSI image of the Linux distribution brand with an uptime (exhibits system uptime) together with the opposite system data.
The linux_logo utility obtains system data from the /proc filesystem and generates ANSI pictures of varied logos aside from the host distribution brand.
The system data related to the brand contains – the Linux Kernel Model, the Time when the Kernel was lastly Compiled, the Quantity/core of the processor, Velocity, Producer, and processor Technology. It additionally exhibits details about complete bodily RAM.
It’s price mentioning right here that screenfetch and Neofetch are different instruments of the same sort, which present the distribution brand and extra detailed and formatted system data.
linux_logo and Screenfetch shouldn’t be in contrast to one another. Whereas the output of screenfetch is extra formatted and detailed, linux_logo produce a most variety of shade ANSI diagram, and the choice to format the output.
linux_logo is written primarily in C Programming Language, which shows the linux brand in an X Window System, and therefore Consumer Interface X11 aka X Window System needs to be put in. The software program is launched below GNU Normal Public License Model 2.0.
For the aim of this text, we’re utilizing the next testing setting to check the linux_logo utility.
Working System : Debian Bullseye Processor : i5 / x86_64
Putting in Linux Emblem Utility in Linux
1. The linuxlogo package deal is offered to put in from the default package deal repository below all Linux distributions utilizing apt, yum, or dnf package deal supervisor as proven beneath.
$ sudo apt set up linuxlogo [On Debian, Ubuntu and Mint] $ sudo yum set up linux_logo [On RHEL/CentOS/Fedora and Rocky/AlmaLinux] $ sudo emerge -a sys-apps/linuxlogo [On Gentoo Linux] $ sudo apk add linuxlogo [On Alpine Linux] $ sudo pacman -S linuxlogo [On Arch Linux] $ sudo zypper set up linuxlogo [On OpenSUSE]
If the linuxlogo package deal isn’t accessible from the default repositories, then it’s essential construct it from the supply as proven.
$ git clone git://github.com/deater/linux_logo $ cd linux_logo $ ./configure $ make $ sudo make set up
2. As soon as the linuxlogo package deal has been put in, you’ll be able to run the command linuxlogo
to get the default brand for the distribution you might be utilizing.
# linux_logo OR # linuxlogo
3. Use the choice [-a]
, to not print any fancy shade. Helpful if viewing linux_logo over a black and white terminal.
# linux_logo -a
4. Use the choice [-l]
to print LOGO solely and exclude all different System Data.
# linux_logo -l
5. The [-u]
change will show system uptime.
# linux_logo -u
6. In case you are excited about Load Common, use choice [-y]
. You might use multiple choice at a time.
# linux_logo -y
For extra choices and assistance on them, you could wish to run.
# linux_logo -h
7. There are a variety of built-in Logos for varied Linux distributions. You may even see all these logos utilizing the choice -L record
change.
# linux_logo -L record
Now you wish to print any of the logos from the record, you could use -L NUM
or -L NAME
to show the chosen brand.
- -L NUM – will print a brand with the quantity NUM (deprecated).
- -L NAME – will print the brand with the identify NAME.
For instance, to show AIX Emblem, you could use the command:
# linux_logo -L 1 OR # linux_logo -L aix
Discover: The -L 1
within the command the place 1 is the quantity at which the AIX brand seems within the record, the place -L aix
is the identify at which the AIX brand seems within the record.
Equally, you could print any brand utilizing these choices, few examples to see.
# linux_logo -L 27 # linux_logo -L 21
This manner, you should use any of the logos simply by utilizing the quantity or identify, that’s in opposition to it.
Some Helpful Tips of Linux_logo
8. You might wish to print your Linux distribution brand at login. To print the default brand at login you could add the beneath line on the finish of ~/.bashrc
the file.
if [ -f /usr/bin/linux_logo ]; then linux_logo; fi
Discover: If there aren’t any ~/.bashrc
file, you could must create one below the consumer house listing.
9. After including the above line, simply sign off and re-login once more to see the default brand of your Linux distribution.
Additionally be aware, that you could be print any brand, after login, just by including the beneath line.
if [ -f /usr/bin/linux_logo ]; then linux_logo -L num; fi
Vital: Don’t overlook to exchange num with the quantity that’s in opposition to the brand, you wish to use.
10. You can too print your personal brand by merely specifying the situation of the brand as proven beneath.
# linux_logo -D /path/to/ASCII/brand
11. Print the brand on Community Login.
# /usr/native/bin/linux_logo > /and many others/problem.web
You might like to make use of an ASCII brand if there is no such thing as a help for shade crammed ANSI Emblem as:
# /usr/native/bin/linux_logo -a > /and many others/problem.web
12. Create a Penguin port – A set of ports to reply connection. To create a Penguin port Add the beneath line to the file /and many others/companies file.
penguin 4444/tcp penguin
Right here ‘4444‘ is the port quantity that’s at the moment free and never utilized by any useful resource. You might use a distinct port.
Additionally, add the beneath line to file /and many others/inetd.conf file.
penguin stream tcp nowait root /usr/native/bin/linux_logo
Restart the service inetd as:
# killall -HUP inetd
Furthermore, linux_logo can be utilized in bootup script to idiot the attacker in addition to you’ll be able to play a prank along with your buddy. This can be a good device and I would use it in a few of my scripts to get output as per distribution foundation.
Attempt it as soon as and also you received’t remorse it. Tell us what you consider this utility and the way it may be helpful for you. Preserve Related! Preserve Commenting. Like and share us and assist us get unfold.
If You Admire What We Do Right here On TecMint, You Ought to Contemplate:
TecMint is the quickest rising and most trusted group web site for any form of Linux Articles, Guides and Books on the internet. Thousands and thousands of individuals go to TecMint! to go looking or browse the 1000’s of printed articles accessible FREELY to all.
For those who like what you might be studying, please think about shopping for us a espresso ( or 2 ) as a token of appreciation.
We’re grateful on your by no means ending help.