today's howtos

-
Df Command in Linux
The df command is used to display disk space usage of Linux filesystems as a whole. It displays the amount of disk space used and available on the mounted filesystems.
Whereas, du command is used display disk space used files and directories on the filesystem.
This tutorial shows how to use df command to check disk space usage in Linux.
-
Show Lines Before and After Match via Grep – Linux Hint
Grep has been used widely in Linux systems when working on some files, searching for some specific pattern, and many more. This time, we are using the grep command to display the lines before and after the matched keyword used in some specific file. For this purpose, we will be using the “-A”, “-B” and, “-C” flag throughout our tutorial guide. So, you have to perform each step for better understanding. Make sure you have Ubuntu 20.04 Linux system installed.
Firstly, you have to open your Linux command-line terminal to start working on grep. You are currently at the Home directory of your Ubuntu system right after the command-line terminal has been opened. So, try to list all the files and folders in the home directory of your Linux system using the below ls command, and you will get all. You can see, we have some text files and some folders listed in it.
-
How Do You Grep Case Sensitive? – Linux Hint
Global regular expression print is a versatile and powerful feature of Linux. It helps in finding words and phrases in the file such that the grep keyword is used to obtain the desired functionality. Grep is used to obtain data not only from direct searching in the text but also from directories as well, by applying the commands on it. It searches the respective data and modifies them by removing the extra space between the text, obtaining line numbers, and excluding terms from the data. The simplest feature of grep is to handle case sensitivity. Grep is case-sensitive by default hence it shows the perceptibility of both upper and lower cases in the file. This feature helps in getting the required output by removing the discrimination of the case which can all be done on the main page of grep.
-
How Do I Ignore Blank Lines in Grep? – Linux Hint
Grep stands for Global Regular Expression Print. It has many functionalities, i.e., searching in a file, searching only names of a file, grep recursively, etc. Grep is considered a powerful command in the searching sector. In many cases, we face situations where we don’t need spaces, or there is a need to remove unwanted gaps in our data. One of the most interesting ways of using grep is to ignore or remove blank lines from the text file. This procedure is accomplished through different examples. It is an operation of file editing. To undergo this purpose, we need to have existing files in our system. Through the grep command, we allow it to print data without blank lines.
-
How Do I Use Grep to Search a File on Linux? – Linux Hint
Grep is a versatile command that allows sorting input by following complex rules and regulations. It is a powerful command in a Linux environment. It is not for searching files directly on your system. It shows the file names that indicate the particular part of the string that matches your part present in the search query. In the proceeding article, we will explain some examples to let you understand searching with the help of Grep.
-
How Do I Change My Username in Linux? – Linux Hint
Linux operating system is capable of handling more than one user at a time. So, we must apply check and balance on all users of the system and their relevant details so that integrity is maintained. All information is saved in a way to reduce redundancy in data. Whenever we add a user, all information is saved in “/etc/passwd”. To change the username in Linux, you must have a user in the system. We will see in this article how the username is changed. If already user is not present, we will create a user and then modify it. Our article will cover three main aspects related to username modification and identity.
-
How to Use OneDrive on Linux [Ed: Sending one's files to Microsoft seems unnecessary if not foolish]
Cloud storage is a very secure and efficient way to store data. Cost-effectiveness and scalability make it quite useful. Cloud storage is so advantageous that every tech company offers it, such as Apple, Google, and Amazon. Similarly, Microsoft offers OneDrive, a cloud storage service to store any type of data online, that can be accessed and shared anytime from anywhere.
-
How to Install Microsoft Teams on Debian 10 [Ed: Again, not a good idea at all]
-
Optimize and Monitor Your Linux System's Performance With Stacer
As time passes by, operating systems tend to become sluggish if not updated and maintained properly. Although Linux devices perform slightly better when compared to Windows in the long run, minor degradation in performance of both the operating systems is inevitable.
This is generally due to the accumulation of unwanted cache, startup programs, an excessive number of running processes, and junk files that you no longer need.
-
Getting Started with Manjaro Linux Part-I – Linux Hint
As a rolling release distribution, Manjaor Linux continuously rolls out updated software versions. Even though it’s an Arch Linux derivative, they differ in the context of targeted audience and goals. Arch Linux is a bleeding-edge software operating system aimed at technically sound users. Manjaro updates go through layers of testing to provide a comparatively stable, fast, and lightweight system for users. That is, the packages don’t come out as fast as in Arch Linux.
Hence, Manjaro uses its official repository to get the latest updates. Another main reason for a separate repository is that Manjaro maintains its own system packages like hardware detection memory, among many others.
However, users can access new software packages via an unofficial repository. To get started, we will learn about Manjaro’s official and unofficial repositories, how they are maintained, and how to install, update, and remove required packages via these repositories.
-
How to Make Disk Images in Linux with DD Command – Linux Hint
Whenever it comes to wiping, backing up, or restoring Linux files, you have few tools. Although there is one alternative that still works, regardless of the Linux distribution you’re using, and that is the DD command. Creating an image of a partition or cloning a complete hard disk drive are simply the acts of making a copy of the whole disk or partition, and it is very simple with the dd command. The DD command is good for cloning disks, backups, and restoration, among other things. In this guide, we will see how to make a disk image using the DD command. Make sure you have the Ubuntu Linux system installed.
DD circumvents this by making an identical replica of the whole hard drive or partitions. So if you recover this backup, your machine will be restored to its original state. You’ll regain access to your folders, games, browser history, and sometimes even device settings. We’ll want another drive with more capacity than the one we’re cloning to replicate your drive. There would most probably be a big hard drive for this purpose.
-
Network Configuration in Manjaro – Linux Hint
As the Manjaro kernel boots up the machine, its Network Manager automatically connects to the DHCP server via the enabled network interface. It then provides the client with the IP address, subnet mask, lease time, DNS server, gateway, and other details.
If the machine works as an Apache server, it must be easily accessible to the clients via a static IP address. Besides, as a precaution, users also have to protect the machine from unnecessary access from outside the network. This demands the need to set the network interfaces manually via Manjaro Network Manager or through commands and configuration files.
In this article, we learn to configure the network interface via GUI and CLI manually. We also simplify the Unrestricted Firewall (ufw) configuration process for new users as a precautionary step after Manjaro installation.
-
Troubleshooting Error: Usermod: A Process Currently Uses User – Linux Hint
Sometimes, while using any Linux distribution, most of the users got the Error: “user is currently used by process”. This error could have occurred while changing the username or deleting a user. One of the reasons behind this error is that the user has been deleting or changing a user’s name while logging in. If you are looking for solutions for this particular error, this tutorial is for you. Make sure you have any of the Linux distribution installed on your system. In our case, it’s Ubuntu 20.04 Linux system.
-

- Login or register to post comments
Printer-friendly version- 2506 reads
PDF version
More in Tux Machines
- Highlights
- Front Page
- Latest Headlines
- Archive
- Recent comments
- All-Time Popular Stories
- Hot Topics
- New Members
digiKam 7.7.0 is released
After three months of active maintenance and another bug triage, the digiKam team is proud to present version 7.7.0 of its open source digital photo manager. See below the list of most important features coming with this release.
|
Dilution and Misuse of the "Linux" Brand
|
Samsung, Red Hat to Work on Linux Drivers for Future Tech
The metaverse is expected to uproot system design as we know it, and Samsung is one of many hardware vendors re-imagining data center infrastructure in preparation for a parallel 3D world.
Samsung is working on new memory technologies that provide faster bandwidth inside hardware for data to travel between CPUs, storage and other computing resources. The company also announced it was partnering with Red Hat to ensure these technologies have Linux compatibility.
|
today's howtos
|








.svg_.png)
Content (where original) is available under CC-BY-SA, copyrighted by original author/s.

Recent comments
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago