Huge Collection of Linux Commands With Useful Examples

Manpages are great but these practical examples will help you understand the Linux commands even better.

Manpages are great but these practical examples will help you understand the Linux commands even better.

Did you know there's an easier way to mount your secondary hard drive on Linux? The process involves a few simple edits to the fstab file on your system.

A simple tutorial on how to to auto mount your drive/partition in linux at boot. (2 methods for both terminal and GUI users)

185 votes, 23 comments. 235K subscribers in the Ubuntu community. The Ubuntu community on Reddit

19 examples of apt command on Debian/Ubuntu Linux server to install/remove packages and update the system for Linux users/sysadmins/developers
rga is a line-oriented search tool that allows you to look for a regex in a multitude of file types. rga wraps the awesome ripgrep and enables it to search in pdf, docx, sqlite, jpg, zip, tar.*, movie subtitles (mkv, mp4), etc. ExamplesPDFs Say you have a large folder of papers…

Explains how to convert pdf to image or vice versa on Linux command line. Further describes how to add a border using Imagemagick.

There’s something really quite subtle about how the nproc utility from GNU coreutils works. If you look at the man page, it’s even the very first sentence: Print the number of processin…
77 votes, 16 comments. This course has been running successfully now every month since February 2020 - more detail at…
There seem be be several options to install CUDA on Ubuntu 20.10: It is pre-bundled with 20.10, there are various installers at the official NVIDIA page, etc. Question: What is a recommended way to

Most of the modern Linux Desktop systems come with Nvidia driver pre-installed in a form of the Nouveau open-source graphics device driver for Nvidia video cards. Hence depending on your needs and in…

In this article we'll discuss how to install Flask on Ubuntu 20.04 inside a Python virtual environment.

Promotion: Organize your Gmail labels as tabs tuladha...

mkfs is the command line tool in Linux to format a disk or partition in a certain filesystem of your choice.

Need to create a proper fstab entry to automatically mount a drive in Linux? Find out how here.

The chown command in Linux enables you to change the user and group ownership of a file or directory. Learn to use chown with some practical examples.
Free Introduction to Bash Scripting eBook.

- the ISO file needed: ubuntu-20.04.1-live-server-arm64.iso - apart from the ISO, using disk images is not implemented. - SimpleVM.app is only a proof-of-concept. - it is possible to SSH into the...

This Linux Command Handbook will cover 60 core Bash commands you will need as a developer. Each command includes example code and tips for when to use it. This Linux Command Handbook follows the 80/20 rule: you'll learn 80% of a topic in around 20% o...

You can easily manage service with systemd and init. Learn to start, stop and restart services in Ubuntu and other Linux Distributions.
While the Intel Extreme Tuning Utility (XTU) on Windows allows for undervolting laptop processors, currently on Linux there isn't any Intel-endorsed way for undervolting your CPU should you be interested in better thermal/power efficiency and other factors


Worried about the security of your Linux server? Learn some easy to implement tips on securing SSH and make your Linux server more secure.

In the last few posts, we looked at I/O Redirection and Piping in Linux System. Today we are going t...

Learn about useful networking commands that are pre-installed on your computer and will help you know everything about a website.

Previously, I wrote about my favorite Mac apps. But I spend half of my time in the terminal, and I ha...

A signal is one of the basic things you would have frequently encountered once you start getting familiar with a Linux system. Getting to…
I am trying to install mongodb on my Ubuntu 18.04 LTS, but it has the following error saying You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet

This article describes how you can install and manage software in Linux using Synaptic Package Manager.

UI/UX Design, Graphic Design, Photo Editing & more can now be done comfortably on Linux, without the need for expensive Adobe subscriptions

This brief guide explains how to parse and pretty print JSON with a command line tool called jq in Linux operating systems.

When you use the du command in Linux, it gives you the amount of disk space used by a file or directory, as well as its true size. Yes, these are different, and we'll explain why.
Broot, a tree oriented file manager

This is the second post in the article series about Unix utilities that you should know about. In this post I will introduce you to the netcat tool or simply nc. Netcat is often referred to as a Swiss Army knife utility, and for a good reason. Just like the multi-function…

This is the third post in the article series about Unix and Linux utilities that you should know about. In this post I will take you through the useful lsof tool. If netcat was called the Swiss Army Knife of Network Connections, then I'd call lsof the Swiss Army Knife of Unix…
The personal website of Jeffrey Paul.

Instructions for adding a directory to the PATH environment variable in Linux.
I'm using ubuntu 12.04 and trying to get things secured. I'm still pretty new to Linux so I'm not quite sure how to interpret this. I logged into my root account using mysql -u root -p and then to...
(Alternate Title: How to Shut Up the Ubuntu MOTD, the Long Way) Sometimes, the simplest questions take you on exciting journies. This was, in...

I've long been impressed by shell one-liners. They seem like magical incantations. Pipe a few terse commands together, et voilà! Out pops the solution to a problem that would seem to require pages of code. Are these one-liners real or mythology? To some extent, they're both…

Why unix pipes are awesome.