In today’s command line basics, I’m going to show you how to redirect output from the bash cli (command line interface). The output of most GNU command line tools is normally sent to the terminal (ie – standard output). There are times when you would like to have the output saved as a file. Now, …
Continue reading Command Line Basics: Redirecting Outputcommand line
There are many ways to view files in GNU/Linux. One of the simplest command line tools for viewing files is cat. The cat command, short for concatenate, is actually intended for joining multiple files into one, but it works equally well for viewing text files.
Continue reading Command Line Basics: View Files With catI recently wrote a script to watermark all of the image files in a directory. Most of the images I use on this website are PNG files, but I occasionally use JPGs. The challenge in my script was to find all of the image files in the directory regardless of image type. After a bit …
Continue reading Command Line Basics: Determine File MIME TypesI recently discovered that one of my most popular posts had been poached by another blog with out providing credit – images and all. I decided that it would be best to watermark my images to make it more difficult to rip off my content. This procedure could also be done easily in GIMP, but …
Continue reading How To Watermark Images With ImageMagick in LinuxToday I’ve got another ImageMagick trick for you. It’s a variation on the demo in the documentation for the convert command. With this type of command, you can create your own text images with drop shadows. Let’s give it a try.
Continue reading Create Text Images with ImageMagick