today's howtos

-
How to run a command on bash script exits
Shell scripts are handy for automating tasks like backup databases, clearing log files, etc. You need to perform some tasks when the script finishes the execution. No matter at which stage the script is finished.
For example, a script that clears the log files from the system. The script first checks the size of the log file, if the log file size is lower than the specified size, the script exits. In that case, you still want to run a block of code.
-
How I use the Linux sed command to automate file edits
When I use the Linux command line, whether I'm writing a new program on my desktop computer or managing a website on my web server, I often need to process text files. Linux provides powerful tools that I leverage to get my work done. I frequently use sed, an editor that can modify text according to a pattern.
sed stands for stream editor, and it edits text in a file and prints the results. One way to use sed is to identify several occurrences of one string in a file and replace them with a different string. You can use sed to process text files to a seemingly endless degree, but I'd like to share a few ways I use sed to help me manage files.
-
Back Up Encrypted ZFS Data without Unlocking It
I recently built my first home TrueNAS server. I use it to store the bulk of my personal and work data, so I’ve been learning how to make the most of TrueNAS and its filesystem, ZFS.
Today, I want to tell you about backing up encrypted data.
-
Hunt for Better WordPress Hosting – Update
Nearly a year ago, I wrote about my hunt for better WordPress hosting and the results weren’t great. Here’s an update…
-
- Login or register to post comments
Printer-friendly version- 671 reads
PDF version
More in Tux Machines
- Highlights
- Front Page
- Latest Headlines
- Archive
- Recent comments
- All-Time Popular Stories
- Hot Topics
- New Members
today's howtos
| Open Hardware: XON/XOFF and Raspberry Pi Pico
|
Security Leftovers
| How to Apply Accent Colour in Ubuntu Desktop
A step-by-step tutorial on how to apply accent colour in Ubuntu desktop (GNOME) with tips for Kubuntu and others.
|



This section of TuxMachines will no longer have new stories in it (with some caveats, including this post). To see the latest stories go to

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


Recent comments
2 days 7 hours ago
2 days 11 hours ago
2 days 11 hours ago
3 days 18 hours ago
3 days 19 hours ago
3 days 20 hours ago
3 days 20 hours ago
3 days 21 hours ago
3 days 23 hours ago
4 days 1 hour ago