What’s the Difference Between curl and Wget?
curl and Wget are the two most common utilities for making requests to servers from the Linux command line. If you ever find yourself swapping between the two, one is just piquing your curiosity, or you have ever just seen some good old discussion online about it, there are some differences that might be helpful to […]
2 Ways to Download Files From Linux Terminal
If you are stuck to the Linux terminal, say on a server, how do you download a file from the terminal? There is no download command in Linux but there are a couple of Linux commands for downloading file. In this terminal trick, you’ll learn two ways to download files using the command line in […]
Disk Management Commands
Your Linux system may have multiple disks (HDD or SSD). These disks may be divided into partitions. The partitions are generally called devices in Linux. The commands mentioned in this section deals with disk management, partition handling, filesystem creation and filesystem checking. You’ll learn about the following commands: Command Description Examples df Checking disk space […]
How to Resize LVM Partition Inside an Extended Partition
Resizing a logical volume in Linux is not very difficult and can be achieved through very straightforward approach. Here are the usual steps: But in this scenario, you have the root filesystem (as an LVM partition) mounted under an extended partition, not within a primary partition. You just have one primary partition which is mounted on /boot and rest […]
LVM in Linux
What is LVM in Linux? LVM stands for Logical Volume Manager. A mechanism that provides an alternative method of managing storage systems than the traditional partition-based one. In LVM, instead of creating partitions, you create logical volumes, and then you can just as easily mount those volumes in your filesystem as you’d a disk partition. […]
What happens when you type in ‘www.cnn.com’ in your browser?
What happens when you type in http://www.cnn.com in your browser? The communication between your client and a web server can be divided into the following components.Assumptions: You are on a Linux client and trying to connect from your Comcast home cable connection. – DNS– Network communication– HTTP DNS: A DNS lookup resolves http://www.cnn.com. At first the Linux client […]
How check SSD health in linux
For checking health ssd in linux we are need some programm smartmontools Let’s get it sudo apt install smartmontools And check success install sudo smartctl –version Now we need check all drive in PC lsblk Then check Overall health sudo smartctl -H /dev/pastYourDisk – like nvme0n1 For all the parameters sudo smartctl -a /dev/pastYourDisk – […]
Bluetooth error
Hard Refresh End Service (If it is running) Removes Hardware Emulation Start Service Re-Enable Hardware Emulation Unblock from rfkill
Archive Commands
How to create archive For much more files Creck file in archive Extract files Extract files to another dir Create archive Extract somefile 7z only files Extract somefile 7z full path List files 7z archive