Get the exit code of a bash command

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 …

more ...

How To Reveal The Password Hidden Behind Asterisks

How To Reveal The Password Hidden Behind Asterisks: Google Chrome, Firefox and other browsers hide passwords behind asterisks but I will show you How to See your Passwords Hidden Under Asterisks field from password to text and hence the password is revealed as the text input.

more ...

Book Review: Ready Player One

Book Series: Ready Player One

Author: Ernest Cline

Once having heard this book being described as Willie Wonka meets World of Warcraft, the description seemed very attractive.  And in no way does the description not ring true.  Ernest Cline had a lot of fun writing this novel as he did …

more ...

Book Series: Zero Day + Trojan Horse

TrojanHorse

Book Series: Jeff Aiken series

Author: Mark Russinovich

Mark Russinovich has provided an immeasurable difference in the computing world.  As a co-founder of Windows Internals and now Microsoft Azure CTO, its hard to imagine that Mark has more to give. However with these two books, he once again has given …

more ...


Book Review: Influx

Book Series: Influx

Author: Daniel Suarez

Daniel Suarez has always had my interest with the technological thrillers that hes written. When I first was introduced to Daemon, it was an adventure that caused me to read the book in a very short period of time.

In all his books, theres …

more ...

LVM: Move a logical volume into a new volume group.

OS: nix
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 vgsplit

Lets say you want to change the volume group settings for some of your logical volumes or you just want the logical …

more ...