Tags: command line

Batch Editing Files with ed

The other day at work I needed to edit 200 files at once. I wanted to do something pretty simple: basically, I had files that looked like this: foo: - bar - baz - bananas and I wanted to insert an extra line after the baz line that said elephant foo: - bar - baz - elephant - bananas...
Read 0 Comments

3 Useful Things You Can Do with the IP Tool in Linux

It has been more than a decade since the ifconfig command has been deprecated on Linux in favor of the iproute2 project, which contains the magical tool ip. Many online tutorial resources still refer to old command-line tools like ifconfig, route, and netstat. The goal of this tutorial is to share...
Read 0 Comments

jm-shell – A Highly Informative and Customized Bash Shell

jm-shell is a free open source, small, highly informative and customized Bash shell, that gives you a great wealth of information about your shell activity as well as certain useful system information such as system load average, battery status of laptops/computers and much more. Importantly,...
Read 0 Comments

Setting up LVM Partition on a Linux Server

Think about this situation, you have a Ubuntu server and with your home videos or movies, books and other important files that are worth having a backup. You don’t have enough space on your laptop and also on your server the available space is almost gone. You go to a shop and buy a new HDD to make...
Read 0 Comments

Blacklisting Modules on Linux

The Linux kernel is modular — composed of modules that work together but are largely independent of each other. New functionality can be added when a kernel module is loaded, but there are times when you might need to block functionality because modules interfere with each other or leave a system...
Read 0 Comments

openvpn-tunnel.jpg

OpenVPN
Learn how to build a proper virtual private network with OpenVPN in this tutorial.

Build a Real VPN with OpenVPN

Learn how to set up your own VPN in this tutorial from our archives.  A real, genuine, honest-to-gosh virtual private network (VPN) is an encrypted network-to-network virtual tunnel that connects trusted endpoints. It is not a HTTPS web portal that trusts all clients. Let us build a proper strong...
Read 0 Comments

A Beginners Guide To Cron Jobs

Cron is one of the most useful utility that you can find in any Unix-like operating system. It is used to schedule commands at a specific time. These scheduled commands or tasks are known as “Cron Jobs”. Cron is generally used for running scheduled backups, monitoring disk space, deleting files (...
Read 0 Comments

Customizing your Text Colors on the Linux Command Line

If you spend much time on the Linux command line (and you probably wouldn't be reading this if you didn't), you've undoubtedly noticed that the ls command displays your files in a number of different colors. You've probably also come to recognize some of the distinctions — directories appearing in...
Read 0 Comments

minetest.png

minetest
Learn how to make simple systemd services to manage your own game server.

Writing Systemd Services for Fun and Profit

Let's say you want to run a games server, a server that runs Minetest, a very cool and open source mining and crafting sandbox game. You want to set it up for your school or friends and have it running on a server in your living room. Because, you know, if that’s good enough for the kernel mailing...
Read 4 Comments

How to Use find in Linux

In a recent Opensource.com article, Lewis Cowles introduced the find command. find is one of the more powerful and flexible command-line programs in the daily toolbox, so it's worth spending a little more time on it. At a minimum, find takes a path to find things. For example: find /will find (and...
Read 0 Comments

Pages

Click Here!