Centralized BASH history with timestamps
For every Unix user, there comes a point where shell history suddenly becomes very relevant. You learn to consult it, then start recovering the last command, then switch to searching past commands...
View ArticleHow to Check If Your System is Vulnerable to Shellshock
Shellshock refers to a set of vulnerabilities discovered in late summer 2014 that affects Bash (Bourne again shell), a command line shell program used on all Linux systems and almost all UNIX systems,...
View ArticleHow to Patch Bash Against Shellshock
Since you're reading this you're probably already aware of what Shellshock is; a number of vulnerabilities found in the widely used Bash shell system in the summer of 2014. The quickest and easiest way...
View ArticleHow to Confirm which Ports are Open on Your Linux System
If you wish to see which ports are open on your Linux system, perhaps to check your configuration, you can use the nmap tool. It's a powerful tool, but we'll focus on just this simple task. If you...
View ArticleUsing md5deep for Comparing Directories in Unix
You can compare the contents of two directories by their md5 hashes, which could be useful when you want to make sure that a sync operation went smoothly, for instance. By inspecting the hashes of all...
View ArticleChanging Passphrase to your SSH Private Key
If you need to change or add a passphrase to your existing SSH private key just use ssh-keygen, the same tool which creates the key in the first place. Just add the -p option to specify you want to...
View ArticleAnsible 2.0
If you're managing configuration with Puppet or Chef, chances are you've heard of Ansible as well. Just last week we got Ansible 2.0 released which brings quite a few improvents on top of a massive...
View ArticleMultiple OpenVPN Clients Sharing the Same Certificate
Traditionally I've been configuring OpenVPN in a scenario where each client would have a unique certificate. This requires a bit more time initially but is well worth it in terms of security. Sometimes...
View ArticleHow to Find Directories Larger Than 1GB in Linux
Finding out sizes of files and directories in Linux is done using the du command, which estimates their disk space usage. The du command can be used with options that allow you to customize the results...
View ArticleLinux pause process
Linux allows you to pause a running process rather than quitting or killing it. Pausing a process just suspends all of its operation so it stops using any of your processor power even while it still...
View ArticleUbuntu rar
RAR is a popular proprietary file format and software for compressing and archiving files, known for its ability to span multiple RAR files into a single archive, which is useful for compressing,...
View Article7zip ubuntu
7zip is a versatile open source file archiver that uses the high compression 7z archive format, but also supports many others including ZIP, GZIP, BZIP2, TAR, WIM, XZ for both packing and unpacking,...
View ArticleHow to install unrar in linux
The unrar program, which serves to open and extract popular .rar archives, is often available for install from repositories of a given Linux distribution. That should make installing it easy by using...
View ArticleHow to use dpkg to compare two Linux servers
While we mainly install, remove, update and otherwise manage software on Debian and Ubuntu based systems using apt-get, the lower level packaging system that apt-get actually relies on is dpkg. You can...
View ArticleHow to update grub boot loader config
GRUB boot loader starts up what's necessary for your Linux or UNIX system to boot up. You can edit its settings, like various boot options and which operating systems to select from, by editing the the...
View ArticleHow to Check If Your System is Vulnerable to Shellshock
Shellshock refers to a set of vulnerabilities discovered in late summer 2014 that affects Bash (Bourne again shell), a command line shell program used on all Linux systems and almost all UNIX systems,...
View ArticleHow to Patch Bash Against Shellshock
Since you're reading this you're probably already aware of what Shellshock is; a number of vulnerabilities found in the widely used Bash shell system in the summer of 2014. The quickest and easiest way...
View ArticleHow to Confirm which Ports are Open on Your Linux System
If you wish to see which ports are open on your Linux system, perhaps to check your configuration, you can use the nmap tool. It's a powerful tool, but we'll focus on just this simple task. If you...
View ArticleUsing md5deep for Comparing Directories in Unix
You can compare the contents of two directories by their md5 hashes, which could be useful when you want to make sure that a sync operation went smoothly, for instance. By inspecting the hashes of all...
View ArticleChanging Passphrase to your SSH Private Key
If you need to change or add a passphrase to your existing SSH private key just use ssh-keygen, the same tool which creates the key in the first place. Just add the -p option to specify you want to...
View Article