3 Ways to List Groups for a User in Linux
Okay, today's post will be the back-to-basics style, but to make it more interesting I've come up with as many (reasonable) ways to list groups of a Linux user as possible. As always, these commands...
View ArticleQuestionnaire for my upcoming Linux Administration ebook
If you're planning to acquire or expand Linux System Administration skills anytime soon, you may find my upcoming Linux Pro: How To Make a Great Career in Systems Administration ebook really useful....
View ArticleHow To Confirm Mac OS Version from Command Line
Just a very quick tip today, I stumbled upon this command a while ago and think it may be handy for someone learning the OSX command line. By using sw_vers command, you can easily confirm the exact...
View ArticleWelcome to the all new Unix Tutorial!
Hey guys, just wanted to let you know that Unix Tutorial is now sporting a modern theme that will make it even easier to find and read articles on different topics. Unix Tutorial Priorities for 2014 so...
View ArticleBook Review: Linux iptables Pocket Reference
See larger image Linux iptables Pocket Reference (Paperback) By (author): Gregor N. Purdy List Price: $9.95 USD New From: $6.49 USD In Stock Used from: $0.62 USD In Stock I've just read a really...
View ArticleUbuntu: how to clean APT cache
Ubuntu uses APT (Advanced Package Tool) for installing, removing and managing software on the system, and in doing so it keeps a cache of previously downloaded and installed packages even after they've...
View ArticleUbuntu: How To Enable SSH
Secure Shell (SSH) allows secure communication between networked computers for such purposes as logging in to a remote computer, running some commands remotely, and transferring files (with the scp...
View ArticleInstalling VLC in Ubuntu
An extremely popular and extremely powerful VLC Media Player by VideoLAN is known for its ability to play just about any media file format you can throw at it. Great news is that VLC is readily...
View ArticleHow To: Make IP Forwarding Permanent in Linux
While IP forwarding in Linux is disabled by default, as most people don't need it, there may be various reasons why you might want it enabled. Enabling IP forwarding is easy. First let's check if it is...
View ArticleHow To Create an Alias in Unix shell
When you want to save yourself from typing an unwieldy command over and over again you can create and use an alias for it. It will then act as a shortcut to the larger command, which you can type and...
View ArticleCentralized 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 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 Change tmux Meta Key to a Better One
The tmux tool, or the terminal multiplexer, is great for allowing you to run multiple terminals side by side. What's even better is that you can somewhat customize its behavior using the tmux.conf...
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 ArticleEnable Text Console Support in Ubuntu
There are three ways to access the command line interface in Ubuntu, as on any Linux and UNIX distribution. One is launching the terminal emulator program within the graphical user interface. The other...
View Article