Tag Archives: cent os

How to undefine and unset a bash environment variable on Linux or Unix

How to undefine and unset a bash environment variable on Linux or Unix

I have set the shell variable. I no longer need the variable. How do I undefine or unset a variable in bash on a Linux or Unix-like desktop system?
Halal Vitamins

Powered by WPeMatico

How to delete a single command from history on a Linux, OS X and Unix Bash shell

How to delete a single command from history on a Linux, OS X and Unix Bash shell

I‘m working in Ubuntu bash terminal application and remotely on a RHEL server in cloud platform. I typed the wrong and dangerous command. I no longer wish to remember dangerous command in the history file. How can I remove or delete a single command from bash history file?
Halal Vitamins

Powered by WPeMatico

Book Review: Tarsnap Mastery Online Backup For the Truly Paranoid

Book Review: Tarsnap Mastery Online Backup For the Truly Paranoid
Tarsnap Mastery: Online Backups for the Truly Paranoid (IT Mastery) It’s always a good idea to keep backups of all of your data in multiple places. Every Linux or Unix sysadmin must master the art of backups if you want to keep your data forever. Most sysadmin recommend and follows the 3-2-1 rule:

  1. At least three copies of data.
  2. In two different formats.
  3. With one of those copies off-site.

Tarsnap is one of such off-site backup sites. It’s a secure online backup system for UNIX-like system. This service encrypts and stores data in Amazon S3. To use Tarsnap perfectly and feel secure about your backups, you need the “Tarsnap Mastery” book by Michael W. Lucas. It is no secret that I’m a big fan of his book series. Let’s see what the book is all about.
Halal Vitamins

Powered by WPeMatico

Linux and Unix SysAdmins New Year’s Resolutions (2016)

Linux and Unix SysAdmins New Year’s Resolutions (2016)
Linux and Unix SysAdmins New Year’s Resolutions (2016)
Today is the last day of 2015 and it’s that time of year again. Here is my very own 12 resolutions for the New Year.
Halal Vitamins

Powered by WPeMatico