Tag Archives: ubuntu

How to list all iptables rules with line numbers on Linux

How to list all iptables rules with line numbers on Linux

I recently added NAT rules on my RHEL 6.x system. How do I see the rules including line numbers that I just added in Linux?
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

How to secure and lock down Apple OS X 10.11 (El Capitan) with osxlockdown

How to secure and lock down Apple OS X 10.11 (El Capitan) with osxlockdown

Is there is an easy way to audit and lock down (secure) Apple OS X 10.11 (El Capitan) unix operating system?
Halal Vitamins

Powered by WPeMatico