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

Posted: August 30, 2012. At: 7:53 PM. This was 5 years ago. Post ID: 4509

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

[john@deusexmachina ~]$ factor 156
156: 2 2 3 13
23:35:31 flynn@flynn-grid-runner [~]$ printerbanner 
Message: Linux

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

23:41:48 flynn@flynn-grid-runner [~]$ type ls
ls is aliased to `ls -hula --color=yes'
23:41:54 [email protected] [~]$ type rm
rm is /bin/rm
23:42:02 [email protected] [~]$ type grep
grep is aliased to `grep --colour=auto'

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 responses to “How to create a Dot Matrix banner with Linux and many other cool tricks.

Leave a Reply