Delete old files by the last access date
Full example on how to delete files based on their creation date using a batch script on Windows XP. This post cover the basics of using scripts arguments in batch, parsing dates, and manipulating files.
View ArticleRaid 5 Monitoring on Dell Power Edge 2650 with afacli
Case study on monitoring a Raid 5 array on Dell PowerEdge 2650 with a PERC3/Di by using afacli on Debian.
View ArticleHow to manage an idle ssh connection ?
Quick and simple tips on how to handle an idle remote ssh connection from your terminal.
View ArticleRemoving ^M in imported Windows files
Learn how to quickly and easily handle files with newline and carriage return between linux, mac, and windows. This post will explain how to remove or replace the often annoying ^M character.
View ArticleVi and Vim Quick References: A One Page Cheat Sheet
A one-page cheat sheet of Vi/Vim quick references to speed-up your productivity with your favorite terminal based text editor. Great for casual Vi and Vim users to daily coders.
View ArticleHow To Use Bash Wildcards for Globbing?
Improve your productivity at the Linux command line and in Bash scripting with globbing by using Wildcards as glob patterns or extended glob expressions.
View ArticleFine tuning a Linux Apache MySQL PHP (LAMP) server
Legacy post discussing how to tune a production system using Linux, Apache, MySQL, and PHP (aka LAMP).
View ArticleHow to Reload or Change your current Shell?
Learn the basic steps to reload your Linux shell to apply your recent configurations changes. This post cover the POSIX exec builtin command in Bash and the GNOME shell.
View ArticleTwo common errors while starting Apache server on Linux
Legacy post discussing some common errors when starting or running an Apache server on Linux.
View ArticleBash Quick References: A One Page Cheat Sheet
A one-page of Bash quick references, aka cheat sheet, to help you script faster and better. Good material from newbies to regular basher.
View ArticleA Quick Guide on How to Use Bash Alias
This post cover the Bash builtin commands alias and unalias. You will often find Bash alias in a customized .bashrc to improve your shell command-line workflow.
View ArticleChoosing a filesystem for your Linux/Unix server
Review of various filesystems available on Linux and how to choose one for your workstation or production server.
View ArticleBind 9.5.0 - Patch dlz MySQL 5 for Auto Reconnect
Legacy post addressing connectivity issue from a Bind 9 server with the dlz MySQL driver to a MySQL 5 backend server. This post provides appropriate patch for the given software versions.
View ArticleHow to flush your DNS Cache on Mac OS X?
Learn how to resolve a bad DNS entry returned by your Mac local cache due to a long TTL DNS and how to purge your Mac OS DNS cache for your specific Mac OS version, all this right from the command line.
View ArticleHow To Generate Sequences of Letters or Numbers?
Learn how to use seq command line and the bash braces expansion to generate sequences of letters or numbers in your shell scripts.
View ArticleUsing losetup and dd to secure sensitive data
Legacy post on using dd and losetup to encrypt a block device and secure sensitive data.
View ArticleMath Arithmetic: How To Do Calculation in Bash?
Learn how to do math arithmetic with integer and floating-point in Bash. Includes addition, subtraction, division, multiplication, and also floating-point precision.
View ArticleLinux sysctl configuration and tuning script
Legacy post providing a custom script to auto-tune your Linux kernel and sysctl options based on your server specifications.
View ArticleDownload files from a Bash Shell
Introduction to the essential function of downloading files directly from a Bash script. This is a common task in any kind of backup/restore automation or in crawling scenarios to retried some kind of...
View Articlesudo: sorry, you must have a tty to run sudo
Learn what is a tty and how to solve 'sudo: sorry, you must have a tty to run sudo' error when using ssh to execute a sudo remote command.
View Article