Posted: . At: 11:53 PM. This was 5 years ago. Post ID: 4509. Page permalink.
WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters. These cookies expire two weeks after they are set.

How to create a Dot Matrix banner with Linux and many other cool tricks.

The factor command for Linux will find the prime factors of any number that is entered as STDIN. Look below for an example.

4.4 Thu Aug 30 jason@Yog-Sothoth 0: $ factor 2018
2018: 2 1009

Use this command to create an old-fashioned Dot-Matrix printer banner. This is very useful if there is a Dot-Matrix printer laying around your place.

4.4 Thu Aug 30 jason@Yog-Sothoth 0: $ printerbanner 
Message: Ubuntu

Use the Linux type command to print out what type of command a particular Linux command is.

4.4 Thu Aug 30 jason@Yog-Sothoth 0: $ type ls
ls is /bin/ls
4.4 Thu Aug 30 jason@Yog-Sothoth 0: $ type windows95
windows95 is /usr/bin/windows95

The Imagemagick convert command will come in handy when you are needing to quickly convert an image from one format to another.

19:03:44 flynn@flynn-grid-runner [~]$ convert shot0001.png shot0001.jpg

This implementation of the mencoder command will convert a video recorded with recordmydesktop or VLC to a format suitable for Youtube.

19:04:03 flynn@flynn-grid-runner [~]$ mencoder vlc-record-2012-08-29-22h51m15s-v4l2____dev_video0-.avi -ovc xvid -xvidencopts bitrate=1900:trellis -oac mp3lame -o out.avi

More awesome shell tricks in this post.

Using brace expansion to create folders on the Linux filesystem.

Some miscellaneous Linux tips. Some useful commands.

More miscellaneous Linux tips for mastering your Linux system.

1 thought on “How to create a Dot Matrix banner with Linux and many other cool tricks.”

  1. Pingback: More useful bash shell tricks. How to use keyboard shortcuts to navigate the shell easily.

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.