How to create symbolic links in Linux step by step

Overview Hi there fellow Linux learners! Hope you’re ready to expand your knowledge about Linux. Today’s topic is how to create symlinks in Linux, which is short for symbolic links. There are two different kinds of links: soft links hard links In this article we’ll focus on soft symbolic links. Hard links will be on menu some other time. Don’t be intimidated by its name, you don’t have to write symbols, neither remember or decipher ones. Soft symbolic links is just the fancy name for shortcuts. As simple as that. To create symlink you’ll have to use ln command (short for link – makes sense, eh?). ...

December 24, 2024 · 5 min · 993 words · Marko Nisic

Linux commands to copy files and folders

Overview Hello fellow Linux enthusiasts. Hope you’re all well and ready to broaden your knowledge. Today’s topic will be about the various linux commands to copy files and folders. And no, it’s with “right-click and copy file”. We do this the cool way, with the terminal. So, without much further delay let’s get our hands dirty. We’ll be covering several different methods and tools we can utilize that will allow us to perfom the copy actions for various scenarios and use cases. ...

December 23, 2024 · 8 min · 1554 words · Marko Nisic

Convert Virtualbox VMs to QEMU/KVM[VDI to QCOW2]

Overview In the following article, we’ll go through the steps how to convert Virtualbox VMs to QEMU/KVM hypervisor, or in another words, how to convert VM files from VDI to QCOW2 extenstion. This process is useful especially when you need to migrate from virtualbox to KVM or just want to try out the KVM hypervisor without the need to create new machines from the start. What is VDI? VDI(Virtual desktop infrastructure) is an file extension of the HDD disc image file for an Virtual machines that are commonly used by hypervisor solutions such as Virtualbox. ...

December 16, 2024 · 4 min · 651 words · Marko Nisic

How to setup NFS server on Alma Linux(NFS share)

This article will act as a guide for a procedure - how to setup NFS server on Alma Linux or in another words and how to create an NFS share on Alma Linux. NFS stands for Network File System is a network file sharing protocol that allows you to share files and directories over the network. You can mount the file systems over a network and use them as your local drive. NFS server is a client-server architecture where multiple clients can mount the shared drive from the NFS server and share resources between Linux systems. By using NFS, you can save space and the cost of storage, especially when you are using cloud instances. ...

December 16, 2024 · 4 min · 766 words · Marko Nisic

Sudo vs su command differences

Sudo vs su command differences Overview Hello there fellow Linuxers. Hopefully you’re all being practicing your skills or at least learning new skills. On your journey learning or trying to master Linux you must have came across certain commands that you saw others use and you just copy-paste it? For example, I’ve noticed that new users have troubles understanding the difference in (not holy) trinity of commands sudo, su and su- so they don’t use them properly. Ergo, on today’s menu is a special about sudo vs su command differences -. Let’s get started. ...

December 14, 2024 · 4 min · 764 words · Marko Nisic

5 examples to create multiple directories in Linux

Overview Here we will show couple of ways/tips/hints on how to create multiple directories in Linux. The steps we want to cover in this article are how to create multiple directories in linux and sub-directories with the mkdir tool and for each individual example to create the directories with only one command. In other words, we want to run one mkdir command in terminal that will enables us to create multiple directories and sub-directories at once. For those are curios and keen on to learn, we also covered the steps on how to delte folders in this »>POST«<. ...

August 30, 2024 · 4 min · 649 words · Marko Nisic

How to upgrade Debian 11 to Debian 12

How to upgrade Debian 11 to Debian 12 Overview Hi there fellow Linuxers! On today’s article we’re all about how to upgrade Debian, in this case, how to upgrade Debian 11 to Debian 12. For my upgrade scenario, I’ll be using a VM that runs Debian I use for one my Docker servers for my home lab and is in dire need for an upgrade. Gathering info To check your exact version you can use: ...

August 30, 2024 · 4 min · 701 words · Marko Nisic

How to delete lines from a file using sed

How to delete lines from a file using sed Overview Today we’re looking at one of the powerfull tools you can add in your Linux toolbelt and yet underrated standard tool – sed. Sed, shortly for stream editor, is a command with which you can do various actions on a file, amongst which are search, find and replace, insert or delete. And “delete” part is what we’re focused at this time, meaning that we’re covering various methods how to delete lines from a file using sed. Without further ado, let’s get our hands busy, so you’ll see how handy sed really is. ...

August 29, 2024 · 4 min · 800 words · Marko Nisic

How to kill a process in Linux

How to kill a process in Linux Overview Hi there fellow Linuxers. Hopefully you’re all well, primed and ready for new learning adventure because this one is going to be one hell of a ride. Every Linux user that comes to age faces this so-called rite of passage. The very moment you start killing processes is very moment that you entered Linux adulthood. I’m joking of course, but it’s not far from the truth. A moment you start carrying out ‘seek and destroy’ missions on processes is a moment that you’re a on path to be an experienced Linux user. ...

August 28, 2024 · 6 min · 1183 words · Marko Nisic

Mount a network shared drive on Linux

Overview In this post we will go through the process on how to mount a network shared drive on Linux. We are going to cover the methods with cifs-utils in order to mount the network shared drive with the SMB protocol and the NFS share as well, by using the nfs tools. Also in this post, we will cover the steps how to mount the network drives permanently and to mount automatically on boot. ...

August 27, 2024 · 7 min · 1373 words · Marko Nisic

Mastering Linux file permissions: A Deep Dive

Linux file permissions Overview Hi there fellow Linux explorers! Are you ready to take another dive into the depths of Linux waters? Hopefully you’re ready for today’s topic, because we’re about to dwell in linux file permissions and try to learn and explore as much as possible of this in-depth topic in a single post. File permissions in Linux explained As a beginner you’ve probably been puzzled the first time you listed files and folders. ...

July 31, 2024 · 11 min · 2199 words · Marko Nisic

Rename files and directories in Linux

Rename files and directories in Linux Overview Hello there Linux aficionados! Today’s chapter is all about how to rename files and directories in Linux using many different tools in cli and applying various diferrent techniques. We’ll also cover some example how to rename multiple files and directories in linux, aka - batch renaming. Last time we discussed how to copy files and directories and I mentioned ‘mv’ command. Like its name suggests, it’s used primarily for moving files or directories from one destination to another, practically doing cut & paste operations. But appart from that it’s also capable of renaming the files and directories as well and we’re going to start of this post with introducing the rename files and directories in linux with ‘mv’. ...

April 4, 2024 · 8 min · 1551 words · Marko Nisic