today's howtos
-
Linux Fu: Supercharge Bash History
Having a history of shell commands is a great idea. It is, of course, enormously handy when you have to run something repetitively or you make a simple mistake that needs correction. However, as I’ve mentioned in the past, bash history isn’t without its problems. For one thing, by default, you don’t get history in one window from typing in another window. If you use a terminal multiplexer or a GUI, you are very likely to have many shells open. You can make them share history, but that comes with its own baggage. If you think about it, we have super fast computers with tons of storage compared to the “old days,” yet shell history is pretty much the same as it has been for decades. But [Rcaloras] did think about it and created Bashhub, a history database for bash, zsh, and probably some other shells, too.
-
Convert ePub file to PDF Format on Linux
Hello, friends. In this post, you will learn how to convert EPUB file to PDF on Linux easily. EPUB files are used for creating digital publications and e-books. It became an official IDPF standard in September 2007, replacing the old Open eBook standard.
-
Bash script to lock screen on Linux
In this tutorial, we are going to write a bash script that will lock the screen on linux once you execute it.
The goal of this script is to simply lock the screen when you need, it basically acts like a switch but the difference is that you wont need
-
How to Create a Wi-Fi Hotspot on Ubuntu
In this guide I show you how to create a wifi hotspot on Ubuntu 22.04 LTS and the recent Ubuntu 23.04 release. Why would you want to do this? Well, before able to share your internet connection with other people (though more commonly, other devices) is a basic feature that most operating systems (desktop and mobile) offer.
-
How to Install Clementine Music Player on Ubuntu 22.04 | 20.04
Clementine Music Player is a powerful, open-source, and versatile music player and library management tool that has captured the hearts of audiophiles around the world. This feature-rich software offers users a sleek and intuitive interface, making it easy to navigate and manage large music collections.
-
How to Install Fotoxx on Ubuntu 22.04 | 20.04
Fotoxx is a versatile and feature-rich photo editing software designed specifically for Linux users, including those who use Ubuntu. Packed with an extensive array of tools and functionalities, Fotoxx provides a comprehensive solution for all your photo editing needs.
-
How to Search and Find Files for Text Strings in Linux
You may find yourself in a situation where you remember the content of a file but not its name. Linux offers various commands to help you find files based on specific text strings within them. By utilizing these commands, you can quickly locate the desired files and retrieve the information you need.
Using the "grep" Command
The
/blockquote>grep
command is a built-in Linux command that allows you to search for lines that match a given pattern. By default, it returns all lines in a file that contain a specified string. Thegrep
command is case-sensitive, but you can use specific parameters to modify its behavior.