Get System and Hardware Details with uname and lscpu on Debian

Debian get Hardware details

This guide shows you how to retrieve system details of your Debian 11 or Debian 10 system, e.g. kernel name, kernel release, kernel version, hostname, hardware architecture, processor type, hardware platform and operating system information. This guide was tested with Debian 10, but the commands shown here also work with other Linux distributions.  How to … Read more

How to Customize your Ubuntu Terminal Prompt

Customize bash prompt

Most Ubuntu systems use bash or dash as their default terminal application. You type your commands at a standard command prompt, which usually displays your username, hostname, and current directory in a predefined color scheme. Bash provides many customization options for the command prompt that allow you to not only add different functions to the … Read more

How to block/allow ping using iptables in Ubuntu

Ubuntu Block Ping

What is iptables? Iptables is a command-line firewall program that allows or blocks traffic based on the policy chain used. Iptables takes a packet-based approach to monitor traffic. When a program tries to connect to your system, iptables looks for a rule from a predefined list. If a rule is not found, it falls back … Read more

Managing logs with Logrotate on Ubuntu

Ubuntu Logrotate

The performance of a computer or server environment very much depends upon the system memory and disk usage. If something is consuming more disk space then it will lead to a system error. Likewise, increasing log file size must be controlled to reduce such risk. Logrotate was introduced as a system utility that rotates, compresses … Read more

6 Methods to Generate a Strong Password in Ubuntu

Ubuntu Strong Password

We all know how important it is to use strong passwords for our systems, online accounts, and other sensitive applications. The real question is how you generate a password that you can rely on and that meets the criteria of a strong password. Ideally, a strong password must contain lowercase and uppercase letters, numbers, and … Read more

Play MP3 Files on the Ubuntu Command Line

Play MP3 Files on Ubuntu Shell

If, like me, you like to do all your Ubuntu tasks from the command line, you’ll also be looking for ways to play audio files, especially mp3s, from the command line. In this article, we’ll tell you how to install and use the famous command-line program Sox to listen to mp3s in your terminal. We … Read more

How to set up NTP Server and Client on Debian 11

NTP Server and Client on Debian

NTP stands for Network Time Protocol. It is a protocol or service used to synchronize the clock of your client computers with the clock of a server. The server’s clock is also synchronized with the Internet. In this article, I’ll show you how to set up an NTP server in your environment and synchronize the … Read more

How to Install GNU Octave on Ubuntu 20.04

GNU Octave on Ubuntu

GNU Octave is an interpreted high-level programming language with numerous software features intended mainly for numerical computations. It provides solutions for numerical linear and nonlinear problems and for performing various other numerical experiments with compatible languages such as MATLAB. Octave provides extensive graphical features for visualization and data manipulation. Typically it is used through its … Read more