Boxes is a simple application which can be used to wrap text displayed on Linux Terminal with ASCII art boxes. Well, you can use it just for fun or create a signature of yours and the put the signature on text editor.
As I said before, the boxes can be copied to text editor such as Gedit to create a file signature:
Install boxes on Ubuntu
Boxes is available on Ubuntu repository, so simply run the following command to install it:
Usage instruction
- sudo apt-get install boxes
If you want get a box which is like the picture above, please run the following command:
The "\n" is an escape character to print a new line, and please take a look at "boy" parameter. This parameter is used to define what boxes to use. There are many kinds of box we can use, below are two examples of them:
- echo -e "This message was created with \"boxes\"\nwww.ubuntubuzz.com" | boxes -d boy
Dog
Command:
- echo -e "This message was created with \"boxes\"\nwww.ubuntubuzz.com" | boxes -d dog
Peek
Command:
For further information about what kind of box we can use, please open "/etc/boxes/boxes-config" file.
- echo -e "This message was created with \"boxes\"\nwww.ubuntubuzz.com" | boxes -d peek
Demo video:
Enjoy :)