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'
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.