If you have a backup and you never test that backup you do not have a backup. - Unknown
I do not remember where I read this quote but it always resonated with me. Especially sense disaster recovery was one of my major responsibilities for a globally used web application. Much …
If you want to see the exit status of a Linux shell command in bash use the variable
This will return the exit status of the last command.
Now this will only give you the right most exit code if you are piping a command.
~> ls | sort
the last command …
Require: LVM, the power of root
Skill Level:* Intermediate
Here is how to move a logical volume into a new volume group in LVM using
Lets say you want to change the volume group settings for some of your logical volumes or you just want the logical …
OS: Kali Linux
Skill Level: Intermediate
Prerequisites: Linux CLI, Basic Networking Concepts, PostgresSQL
Metasploit is the closet thing to push button security and penetration testing one can find. It is by far the most popular security testing framework. Metasploit has thousands of modules and is growing daily with a very …
Last post (Getting Started With Docker) I ended off with saying I would come back and show how to set up a mongodb docker image. If you go to https://registry.hub.docker.com/ on the first page you can find the official mongodb docker image. This is not that …
Skill Level: Beginner
Prerequisites: Basic Linux CLI and regular expression understanding
When a folder only has a few items in it this trick is not that important, but let say the folder you are looking at has 754,586 files in it? Here is a quick trick …
Want a custom banner or warning message when a user connects via SSH on your server?
Skill level: Beginner
Prerequisites: Understand how to edit a file with vim or other text editor in Linux.
Dependencies: Config files: