Skip to content
Linux
  • Home
  • About
  • Contact Us
  • Privacy Policy

All About Linux.

Netstat Command in Linux: Check Sockets and DNS

A service that will not accept a connection can leave you checking which ports Linux is listening on. netstat shows network connections and listening ports, while nslookup queries DNS records for a hostname. This article shows how to inspect listening ports with netstat and ss, then check a hostname’s DNS answer with nslookup. TL;DR Use

Netstat Command in Linux: Check Sockets and DNS Read More »

How to Add a User to a Group in Linux

A Linux account may need access to a shared directory or device that is controlled by a group. The usermod command adds an existing account to a supplementary group, an additional membership that does not change its primary group. I’ll show how to add an account to one or more groups and check its membership

How to Add a User to a Group in Linux Read More »

How to Change the Timezone in Linux

A machine set to UTC may show a different local time than you expect. Its timezone applies regional rules to the system clock to produce local date and time. This article explains how to find a zone name and change the Linux timezone with timedatectl. TL;DR: Change the Linux timezone Use timedatectl to choose an

How to Change the Timezone in Linux Read More »

Echo Command in Linux: Usage and Examples

A short status message is often all a shell script needs to show while it runs. The Bash echo command writes its arguments to standard output and normally adds a newline. I’ll show how to print text and variables, then explain when echo behaves differently across shells. TL;DR: Echo command in Linux The Bash echo

Echo Command in Linux: Usage and Examples Read More »

cd Command in Linux: Change Directories

Moving between folders in a terminal starts with knowing which directory the shell is working in. The cd command changes the shell’s current directory to a path or a destination such as your home directory. This article explains how to choose a path to a directory and use cd’s shortcuts to move from there. TL;DR

cd Command in Linux: Change Directories Read More »

apt vs apt-get: Which Command Should You Use?

A Debian-based system can show apt and apt-get in package instructions, making it unclear which one to type. Both commands let you request package operations through APT, which uses repository information to resolve dependencies. I’ll explain where their commands differ and how upgrades and dpkg fit into the choice. TL;DR: apt vs apt-get Use apt

apt vs apt-get: Which Command Should You Use? Read More »

How to Install MariaDB on Debian and Ubuntu

Setting up a database on Debian or Ubuntu means installing its packages and confirming the server starts. MariaDB is a database server that stores structured information and answers SQL queries from applications or a client program. I’ll show you how to install MariaDB from the distribution repositories and check that its service is running. TL;DR

How to Install MariaDB on Debian and Ubuntu Read More »

How to Use the sort Command in Linux

A list of numbers in a file may look out of order when Linux compares each line as text. The sort command can compare numeric values instead and write the lines in numeric order. I’ll show how to sort numbers in either direction and save or check the result. TL;DR Use sort to order text

How to Use the sort Command in Linux Read More »

How to Install Grafana on Ubuntu/Debian

A server is ready for monitoring, and you need a place to view the measurements it collects. Grafana queries a configured data source and displays its values in dashboard panels. This article walks through installing Grafana from its signed APT repository and checking the service and sign-in page. TL;DR: Install Grafana from its APT repository

How to Install Grafana on Ubuntu/Debian Read More »

Grep Command in Linux: Search Text Files

A log file can hold more lines than you can scan by eye when you need to find an error message. grep is a command-line tool that searches text and prints the lines that match. I’ll show you how to search a file with grep and read its matches and exit status. TL;DR: Search for

Grep Command in Linux: Search Text Files Read More »

← Previous 1 … 8 9 10 … 129 Next →

Recent Posts

  • Install PhotoScape on Linux with Snap or Wine
  • Komikku manga reader on Linux: Install it and start reading
  • Install Obsidian on Linux: AppImage, Snap, Flatpak and DEB
  • CMP Meaning in Linux: Compare Files
  • Type in Linux: Find Command Types

Favorite Sites

  • Python Tutorials
  • GoLang Tutorials
  • CodeForGeek
  • VM-Help
  • MySQL Tutorials
  • Excel Tutorials
Linuxlogo

Learn everything about Linux, under a single roof. LinuxForDevices covers Linux tutorials, Open Source news, and courses to help you grow.

Copyright © 2026 · LinuxForDevices · LinuxForDevices is part of Diyansh IT Services Private Limited
Linux® is a registered trademark of Linus Torvalds.