Menu

Close
  • Home
Subscribe
Menu
Lars Bjaerris's Picture

Lars Bjaerris

7 posts
Page 1 of 2 Older Posts →

Rename Multiple Filenames With Different Date Formats Using Bash And Regular Expressions (Regex) Captures/Substitutions

A common way of batch renaming filenames on the command-line, is to use the "mv" & "sed" commands with a "for loop", or using "find" with »

Author image Lars Bjaerris on mv for loop, find exec mv, date format, rename multiple files, convert MDY date, convert DMY date, batch rename files, for do mv 05 April 2015

Testing Destination Mailserver With Telnet, Netcat And Bash Scripting SMTP/ESMTP

Testing email delivery against a destination/receiving mailserver, using telnet, netcat (ncat, nc) and bash scripting. After installing a border/destination/incoming MTA, or for that »

Author image Lars Bjaerris on test smtp, telnet smtp, nc smtp, smtp script, email script, smtp relay, ncat smtp 05 March 2015

Parsing Plaintext Logfiles On The Commandline Using Perl.

Perl, "the Swiss Army chainsaw of scripting languages" Using Perl, regular expressions and sort to parse and format a plaintext log-file. And finally comma separate the »

Author image Lars Bjaerris on bash, Perl, regex, parsing, parsing logfile, PCRE, one-liner 02 February 2015

Needy-Restart; Service Restart After Linux Package Update

When to restart services after package updating. When updating Linux packages with a package manager it is occasionally necessary to identify services running, having file(s) »

Author image Lars Bjaerris on needy-restart, updating packages, yum, bash scripting, needs-restarting, unlinked files, deleted files 28 January 2015

Ghost Blog Sys-V init Linux Startup Script

Installing nodejs init script for Ghost Blog. If you followed my guide on: Hosting your own blog with Ghost & Nginx on Linux The following Linux »

Author image Lars Bjaerris on nodejs, SysV init, ghost blog, Linux, init script, bash 25 January 2015
Page 1 of 2 Older Posts →
bjaerris.com © 2025
Proudly published with Ghost