Introduction Ubuntu is one of the widely used operating systems in the world. It is mostly used by developers and system administrators. One of the important tasks of a system administrator is to check the file size of different files in the system. In this blog post, we will discuss different ways to check file …
Posts from: February 2023
The /etc/sysctl.conf file is a configuration file that is used to modify kernel parameters in the Ubuntu operating system. This file contains a variety of different settings that can be used to improve performance, security, and networking on your system. In this blog post, we will discuss the purpose of each setting in the sysctl.conf …
There are a few different ways to check open ports in Ubuntu. In this blog post, we will discuss three of them: lsof, netstat, and ss. Each of these commands has its own advantages and disadvantages, so let’s take a look at them each one by one. ss -tlpnlsof -iTCP -sTCP:LISTEN -nPnetstat -tlpn | grep …
In Ubuntu, the home directory is where user data is stored. This can be useful for finding files that belong to a particular user, or for troubleshooting purposes. There are three main ways to find a user’s home directory in Ubuntu: by using the environment variable, the ~, or from /etc/passwd file. In this blog …
A Media Access Control (MAC) address is a unique identifier assigned to most network adapters or Network Interface Card (NIC) by the manufacturer. The MAC address consists of 6 byte hexadecimal numbers, and can be used to uniquely identify the NIC on a network. Example of MAC address: a0:b1:c2:d3:e4:f5 MAC address How does MAC address …
If you’re an Ubuntu user, there are some essential network commands that you need to know. In this blog post, I will go over the most important Ubuntu networking commands. I will also provide a brief explanation of what each command does. So whether you’re a beginner or an experienced Ubuntu user, this post is …
The /etc/hosts file is a plain text file that maps hostnames to IP addresses in the Ubuntu and Unix-like operating systems. It is used to resolve hostnames to their corresponding IP addresses before querying a DNS server. When a domain name is requested, the hosts file will be consulted first and if there is an …
If you’re using Ubuntu Linux, there are three different ways that you can change your IP address. Which method you use will depend on whether you want to change your address permanently or just temporarily. In either case, I’ll walk you through the steps so that you can get started right away. change ip address …
Recently we got some questions from our readers. In this article, I will explain how to change the hostname in Ubuntu Linux in a few different ways. Related: How to check hostname in Ubuntu understanding hostname in Ubuntu Before I jump into the question, it is necessary for you to know the hostname. The hostname …
If you’re using Ubuntu, you may need to know how to find your machine’s IP address. Here are three ways to do it. First, you can use the “ip addr” command. Second, you can use the “ifconfig” command. Third, you can use the “curl” command. Whichever method you choose, you should be able to find …