/img/me.png

Just some guy on the internet.

sudoedit /etc/blog

Working with logical volumes (part 1)

Part one of working with logical volumes will cover the basic’s involved in creating logical volumes. TL;DR For those of you who just want the order of the commands. sudo pvcreate </path/to/device> sudo vgcreate <vgname> </path/to/device> sudo lvcreate -n <lvname> -L <size> <vgname> sudo mkfs.<filesystem> </path/to/lv> What you need to follow this guide A free disk (I used an empty virtual machine disk) Any Linux distribution (In this example I’ll be using Fedora 26, but the commands are the same across the entire Linux spectrum) LVM packages (lvm2 - usually pre-installed) What is LVM?

Open multiple files with vim

There are many instances when it’s useful to have multiple files open in vim , but if you aren’t familiar with this tool you can find yourself needlessly jumping around between multiple windows. If you are not already using vim start by opening a command prompt and type vimtutor , once you’ve become familiar with how to navigate, search, and edit a document with vim this post will make more sense to you.

How to RTFM (Read the *#&@ Manual)

Finding help with Linux If you hang out in enough Linux forums asking questions sooner or later someone will tell you to read the manual (presumably they think this will help you). Fortunately, over the last few years “rtfm” has ceased being the default answer to most questions from new users. All things considered, the Linux world has become more user friendly even if the man pages haven’t. Learning to read and understand man pages will allow you to separate yourself from new, and even some intermediate, users.

RPM package queries

This post is just a quick walk-through of some basic commands to help you find information about rpm packages. These commands will work for any rpm based distribution (Red Hat, Centos, Suse, Mageia). Debian based distributions like Ubuntu or Mint use dpkg instead of rpm and I’ll cover those in a different post. Query the rpm database You can query the rpm database to find a particular installed package using the -q option.

Linux Security

Linux is not a bulletproof operating system, no doubt flaws, vulnerabilities,¬†and exploits exist at this very moment that are unidentified and unpatched. It’s also very likely that many Linux systems are running old unpatched kernels that are just waiting to be owned by some nefarious persons driven by who knows what motivations. Linux like Windows has a human flaw built into it, businesses¬†don’t want downtime for updates, users want too many permissions, and sysadmins don’t want to risk breaking an application by running an OS update.

openSUSE patch vs update

If you dig into the man pages for zypper , you will notice that zypper provides three distinct options for keeping your openSUSE system up-to-date; update (up) , patch , and dist-upgrade (dup) . If you aren’t familiar with zypper see my previous post managing packages with zypper for more information. In this post I will attempt to demonstrate the differences between each option and suggest when you may want to consider using each.