Quantcast
Channel: Unix Tutorial
Browsing all 184 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Check Config Before Restarting SSH Daemon

Super quick advice today, but one of them pearls of experience that now and then saves your day. Learn how to check and confirm your recent changes to SSH daemon config file (/etc/ssh/sshd_config)...

View Article


Image may be NSFW.
Clik here to view.

Black Friday Deals

Unix Tutorial It's Black Friday, meaning there's lots of great deals online – hardware, software and hosting. Here's just a few things I really liked: Online.net (where I rent a few dedicated hosts)...

View Article


Image may be NSFW.
Clik here to view.

How To Troubleshoot SELinux with Audit Logs

Audit Logs with SELinux Messags I'm post configuring a new RHEL 8 setup on my old PC and want to share some useful SELinux troubleshooting techniques. How To Check Audit Logs for SELinux I had a...

View Article

Image may be NSFW.
Clik here to view.

Specify User per Task in Ansible

become_user per task in Ansible Turns out, become_user directive can be used not only for privilege escalation (running Ansible playbooks as root), but also for becoming any other when you want...

View Article

Image may be NSFW.
Clik here to view.

Skip Gathering Facts in Ansible

Red Hat Ansible There are Ansible playbooks which depend on the most up-to-date information found on each node. That's where fact gathering is a much needed help. But there are also simpler more...

View Article


Image may be NSFW.
Clik here to view.

Confirm Firewall Configuration in RHEL 8

List Firewall Rules in RHEL 8 I'm fascinated by the improvements and new features in RHEL 8, plus it's a primary distro used in most corporate environments – so expect to quite a number of posts...

View Article

Image may be NSFW.
Clik here to view.

Upgrading to CentOS 7.7

CentOS CentOS 7.7 has just been released a few days ago and with any luck CentOS 8 will be released next week. I decided to quickly upgrade one of my dedicated servers from CentOS 7.6 to CentOS 7.7....

View Article

Image may be NSFW.
Clik here to view.

Hello, World in podman

RHEL 8 Turns out it's not that easy to install Docker CE in RHEL 8 just yet. Well, maybe there's no immediate need since RHEL 8 comes with its own containerization stack based on podman? Hello, World...

View Article


Image may be NSFW.
Clik here to view.

Attach Interface to Specific Firewall Zone in RHEL 8

RHEL 8 One of the first things I had to do on my recently built RHEL 8 PC was to move the primary network interface from public (default) zone to home zone – to make sure any firewall ports I open...

View Article


Image may be NSFW.
Clik here to view.

CentOS 8 and CentOS Stream Released

Great news, CentOS 8 is released now. Even better – there's now a step in between Fedora and RHEL, called CentOS Stream. Have you tried them yet? I'll be upgrading to CentOS 8 this week and am also...

View Article

Image may be NSFW.
Clik here to view.

Run Ansible Tasks Based on OS Distribution

Skipping Tasks Based on Ansible Conditionals I'm actively refreshing my Ansible setup for both servers and desktops, running mostly Red Hat Enterprise Linux and CentOS Linux. Today's quick tip is...

View Article

Image may be NSFW.
Clik here to view.

Show Process Limits Using /proc Filesystem

Show process limits with /proc filesystem I think I mentioned the special /proc filesystem before, it's available in Linux distros and helps you obtain system and process information via normal files...

View Article

Image may be NSFW.
Clik here to view.

preserve-root flag for rm command

rm will warn you instead of removing everything in / recursively rm command, the one used to delete files and directories, can be very dangerous if used with root privileges. It's comforting to know...

View Article


Image may be NSFW.
Clik here to view.

ZFS on root in Ubuntu 19.10

Ubuntu 19.10 Just read about ZFS making it into Ubuntu 19.10 installer as an experimental feature here, sounds pretty cool! What is ZFS? ZFS (originally called Zettabyte File System) is a...

View Article

Image may be NSFW.
Clik here to view.

Install Software with Homebrew in Ansible

Red Hat Ansible Pretty cool! I started automating my macOS setup and discovered that mighty Ansible ecosystem has even Homebrew automation! Example of Homebrew Cask in Ansible Here's how I can install...

View Article


Image may be NSFW.
Clik here to view.

bat – syntax highlighter

I'm back online! Have been doing a bit of reading but was too busy to publish anything, so this week should be fun with lots of content. bat command bat is a simple tool that lets you show contents of...

View Article

Image may be NSFW.
Clik here to view.

Unix Tutorial Digest – November 5th, 2019

Unix Tutorial Digest: monthly digest of Unix/Linux topics September and October 2019 have been so busy for me at work and at home that I posted less frequently than usual and also skipped the...

View Article


Image may be NSFW.
Clik here to view.

Show Mounted Filesystems of Certain Type

mount -t Pretty cool: I've just learned a very simple but rather useful trick that will certainly help with my basic home automation and shell scripting. mount command has an option to list...

View Article

Image may be NSFW.
Clik here to view.

Automating macOS Screenshots with Hazel

screenshots folder I've used a number of screenshot applications on my computers in the last few years, and it's a never ending search for the perfect balance of flexibility and performance. Today I'm...

View Article

Image may be NSFW.
Clik here to view.

brew cask vs brew formula

Homebrew for MacOS Since reinstalling certain software packages on my Linux desktop, Linux laptop and Macbook a few times in the past months, I'm positively in love with the Homebrew project. Today...

View Article
Browsing all 184 articles
Browse latest View live