./ipa
[About-Block]
I do a lot of work configuring *nix systems. A useful command is:
ip a
This command reads out your current 'loopback address' and the Ethernet and/or Wireless adapter(s) that you have in use. However, my most comment 'typo' is 'ipa' without the space between the 'ip' and the 'a'. The actual command is found on most-all 'Debian' based or 'Ubuntu' flavor systems.
[Instructions]
- cd /usr/local/bin/
- sudo vim ipa
- copy the code below
- enter [I] for Insert
- Right-Click in the vim window & click [paste]
- enter [esc] & type:
:w!press [enter] - enter [esc] & type:
:q!press [enter] - Depending on your system you can enter
:wq!in one command - Type:
sudo chmod +x ipa - Enter:
cd ~/to go to your /home directory - Enter:
ip ato see the real command - Enter:
ipato see our modified command
['ipa' Source-Code]
#!/bin/bash
echo "Here's an IPA beer for you:"
echo " _.._..,_,_"
echo " ( )"
echo " ]~,\"-.-~~["
echo " .=])' (; (["
echo " | ]:: ' ["
echo " '=]): .) (["
echo " |:: ' |"
echo " ~~----~~"
echo "Art By: Paul Martin Howard"
echo "Cheers!"
echo "------------------------------------------------"
[CLI-Output]
@nixB0x HacktivateMindset % ./ipa
Here's an IPA beer for you:
.
_.._..,_,_
( )
]~,"-.-~~[
.=])' (; ([
| ]:: ' [
'=]): .) ([
|:: ' |
~~----~~
Art By: Paul Martin Howard
Cheers!
------------------------------------------------
@nixB0x HacktivateMindset %