Sometimes you run a program at the command line and it’s running longer than you thought. You’re worried process might die if you walk away
Server to Server Copying Files With SCP
To copy files between remote servers where transfers occur on the local host you use the -3 command line switch. This is useful if server1
See Headers Only From Command Line CURL
To See headers only and not the HTML response from a web server, you can use the command line CURL program to do it. Output
How to Remove Spaces or Other Characters From File Names on Mac
Both these commands work on most Linux and OSX/Mac machines. Replace spaces with dashes in files in a directory Replace a range of characers using
Get Folder Sizes in Current Directory Ubuntu
This command will get you a -s summarized, -h human readable, listing of the . current directory and all subdirectories disk usage totaled to one
Parsing Date/Time From String
This below would parse the string, in the specified format into a valid date time object. STR_TO_DATE only works when the date mask is valid
(Video) How to Visually Tell if Batteries Have Power Left
You can tell by gently dropping batteries how much juice is left in them from the sound and bounce they make. Full batteries will make
Search (Grep) Entire Hard Drive For String
This command will search through your hard drive using the string command piped to the grep command. Swap /dev/sdc for your actual drive which can
How to Backup and Restore with mysqldump
Backing up and restoring a MySQL or MariaDB database is super easy. I’ve listed out a few different ways you can do it. Example MariaDB/MySQL
Port Scan the Entire Internet in 5 Minutes?
One of my favorite sub-reddits is /r/coolgithubprojects. I check it out a few times a week looking for interesting open source projects. One interesting project