How to delete files and folders in linux

Overview Hi fellow Linux users! I hope you are you’re ready for some new lessons about Linux. This time we’ll turn to dark side right away, because this article will be devoted to destruction. We’ll learn how to destroy… I meant, how to delete files and folders in Linux. How to delete files in Linux Deleting files in Linux terminal is fairly easy. You’ve been already introduced to command in last article when we needed to delete symbolic links....

December 3, 2022 · 4 min · 803 words · MarkoN

How to create symlinks in Linux

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....

December 1, 2022 · 4 min · 777 words · MarkoN

How to set a static IP address in Linux

Overview Hi! I hope you’re all well and prepared to learn some new stuff. This time we’ll go through the basics of how to set a static IP address in Linux. In case that this stirs a question is there another type (let’s say dynamic, perhaps?), answer is yes, there is! There is a protocol for assigning dynamic IP addresses called Dynamic Host Configuration Protocol or DHCP shortly. Most likely that you have a dynamic IP address assigned by your router in home environment!...

December 1, 2022 · 6 min · 1201 words · MarkoN

How to change password in Linux

Overview This article will be about the first line of defense against unauthorized access to your computer and personal information – passwords, meaning that we’ll explaining the process on how to change password in Linux for an existing user and for other users too. Main point about the passwords - The stronger your password is the more protected your computer will be. So be sure NOT to use your first or last name, date or place of birth, names of your children, pets or spouses, your home address, words from dictionary etc....

October 28, 2022 · 5 min · 872 words · MarkoN

Create multiple files in Linux with one command

Overview Last time I showed you how to create a file in Linux, both ways – using text editors and using almighty terminal(link to »>POST«<). But, did you know that you can create multiple files at once? No, I don’t mean by repeating the same command over and over. I mean creating multiple files at once, with a single command. So that’s, what are going to cover in this article - how to create multiple files in Linux with one command....

October 27, 2022 · 3 min · 560 words · MarkoN

How to create a file in Linux using terminal

Overview In this article we will be looking at various methods on how to create a file in Linux using terminal. We’ll be demonstrating file creation using text editors and also with some in-built commands and tools. If you’re new to the world of Linux, you probably heard (or even witnessed with your own eyes) that experienced and seasoned users use command line interface (CLI) rather than graphic user interface (GUI), harnessing the power of Linux....

October 27, 2022 · 4 min · 808 words · MarkoN

Setup a passwordless SSH connection on Linux

Overview Previously we have covered a process on how to change SSH port on your remote server(POST). Next in this article, we will show you how to setup a passwordless SSH connection on Linux. To setup a passwordless SSH connection is very secure and a good practice for hardening your server. It is more secure than any other strong password, really difficult to hack and effortless to set up. This guide will help you to set up a passwordless SSH authentication on Linux with a help of SSH keypair that are located on any Linux or Unix-base operating systems....

August 30, 2022 · 6 min · 1136 words · MarkoN

Change hostname on Linux using Ansible

Overview This article is intended to be a tutorial for the steps on how to change hostname on Linux using Ansible. This means that we’ll be demonstrating how we to set a hostname on a Linux server using Ansible playbook. The end goal of this procedure is to automate the process changing hostname on our remote Linux server. Overall this process is simple when executed manually but this playbook can have it’s uses too....

July 22, 2022 · 2 min · 387 words · MarkoN

How to change SSH port on Linux server

Overview In the following article we’ll be going through the steps on how to change SSH port on Linux and establish the connection from the Linux SSH client(openssh) by using the port number we changed. In another words we want to change the default SSH port on Linux(port number 22) and using an uncommon port number for the SSH connection in order to tighten the security access on our Linux server....

July 20, 2022 · 4 min · 650 words · MarkoN

Configure IPtables rules using Ansible

Overview The following article will act as a guide and to demonstrate the process how to configure IPtables rules using Ansible. What does this means is - by using Ansible we will create a playbook that we’re going to use to automatically set IPtables firewall rules on a remote Linux server. This solution may prove to be a good option since not only it will do the job automatically but also enables to perform the same procedure on multiple different hosts at once....

July 14, 2022 · 4 min · 641 words · MarkoN

How to change hostname on Linux

How to change hostname on Linux Overview In this post we will cover the steps on how to change hostname on Linux. We’ll go through the basics on how to change a hostname on a Linux machine and why we do it and all the steps will be demonstrated using the terminal. Additionally, we’ll showcase a couple of different methods on how to do it. The options we’ll demonstrate can be applied on almost any Linux and can be used for an example to change hostname on Ubuntu/Debian or to change hostname on Fedora/RedHat....

July 14, 2022 · 4 min · 819 words · MarkoN

How to setup a cron job in Linux

How to setup a cron job in Linux Overview The following article will cover the basics of cron scheduler and showcase couple of examples on how to setup a cron job in Linux. Periodically, you want to perform certain task at specific time, like sending disk space report of server or take database backup every night. It will be really wonderful if you can perform such kind of task automatically rather than repeat it and doing it manually, right?...

June 28, 2022 · 6 min · 1136 words · MarkoN