Organizing for 2024 at the command line Yes, you can use the power of the command line to help you to get ready for 2024. What I wanted was to make a file with all of the months in a few places (My overall schedule, Bills and Financial and such). I did it with one […]
Category: one liners
Linux one liners are bits of code that solve everyday problems in Linux.
QR Codes at the command line
QR code generation at the Linux command line Now it is time to learn to QR Codes from the Linux terminal! QR codes are nothing new, but have you ever thought about creating your own from the command line? Someone had that idea before me and created the code to make it happen. The nice […]
Shell One-Liner: Replace spaces in filenames with underscores
Replace spaces in filenames with underscores for f in *;do mv “$f” “${f// /_}”;done How this script works and how to use it: This script will replace spaces in file names with underscores It will do this in the directory that you are currently in This rewrites all the files with underscores It […]
Shell One-Liner : List IP addresses connected to your server on port 80
List addresses connected on server 80 with this one line of BASH shell script. You can also modify the code for other ports. […]
Shell One-Liner : Make a thumbnail from pdf
Thumbnail a PDF from the command line with this Linux one liner. A simple BASH script to thumbnail the first page of a PDF. […]
Shell One-Liner : Thumbnail a Directory
Thumbnail a directory with this one liner. This script will make thumbnail images of all images in a directory and keep the originals. […]
Shell One-Liner : Strip EXIF data from photos
Strip EXIF data from photos with this one line of code. This simple Linux Bash command strips out all of the EXIF data from photos. […]