Linux One Liner :: Organizing for 2024 at the command line

Linux One Liners

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 […]

Read More… from Linux One Liner :: Organizing for 2024 at the command line

Shell One-Liner: Replace spaces in filenames with underscores

Linux One Liners

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 […]

Read More… from Shell One-Liner: Replace spaces in filenames with underscores

Shell One-Liner : List IP addresses connected to your server on port 80

Linux One Liners

List addresses connected on server 80 with this one line of BASH shell script. You can also modify the code for other ports. […]

Read More… from Shell One-Liner : List IP addresses connected to your server on port 80