Grep is a small Unix program for finding matching patterns. Begun as a Unix program, it can be found on Linux as well as Mac and BSD. It can read just about any text, meaning it can read input from another commands, or it can open and look through files directly. Grep is insanely useful, especially for looking through directories from the command line.
Linux shows you no mercy when you don’t have a backup. There are several backup utilities out there, including System Restore for Windows and Time Machine for Mac OS. Timeshift is an open-source software which takes incremental snapshots of your Linux file system at regular intervals, which you can restore later if you accidentally render your system unusable.
Source: How to Take Linux System Snapshots with Timeshift (LinOxide)
This tutorial for installing macOS Sierra has been adapted for Proxmox 5 from Kholia’s GitHub project for installing into vanilla KVM. There is more documentation there which will help out with enabling extra features and diagnosing problems!
Source: Installing macOS High Sierra on Proxmox 5 (Nicholas Sherlock)
Check out these great Python tools for crawling and scraping the web, and parsing out the data you need.
Freezetab helps you save your tabs and keep them organized.
★ Tab Groups
Every time you save a bookmark the browser forces you to pick a folder to put the bookmark in. You often don’t have a folder name in mind, so all of your tabs end up in one giant unorganized folder. Freezetab doesn’t force you to create a new folder every time you save a tab. Instead it groups your tabs based on when you saved them, which keeps your tabs organized without any extra effort.
Wouldn’t it be nice if you could view a breakdown of all your saved tabs based on the websites the tabs are from? Freezetab allows you to accomplish this in just a single click.
★ Tab Calendar
Imagine you saved a tab on a certain day, but you don’t remember the title or name of the website. With Freezetab’s calendar you can click on a day to view a searchable list of every tab you saved that day.
With Freezetab sharing tabs is incredibly easy. Just click share in any folder or tab group and a text box will appear with all your links.
Unlike the browser’s bookmarking system, Freezetab starts searching as soon as you start typing. The search results update every time you type a character into the search box. Freezetab’s search is incredibly accurate. It searches based on the title of the website, the name of the website, and even the titles of your tab groups.
★ Save Tabs
Browsers only give you two options for saving tabs: the current tab, or every tab. Freezetab allows you to save all tabs, the current tab, everything except the current tab, everything to the right or left of the current tab, or specific tabs. And after you’ve saved your tabs, Freezetab asks if you’d like to close the saved tabs to get them out of the way.
★ Quick Save
Sometimes you just need to quickly save some tabs without all the extra hassle. Freezetab has a quick save feature that saves all your tabs, and then closes them. You can change the default action in the settings.
Freezetab offers six different ways of sorting your tab groups. You can sort from A-Z, Z-A, oldest to newest, newest to oldest, least to greatest, and greatest to least. You can also search for a tab group by name using the search box.
★ Close Tabs
Browsers offer a few different options for closing tabs. You can close the entire window, the current tab, everything to the right of the current tab, and everything except the current tab. Freezetab adds two additional options: you can close everything to the left of the current tab, or specific tabs. Closing specific tabs can be really useful when you have so many tabs open that the browser doesn’t display their titles.
Browsers have only one way of organizing your saved tabs: dragging and dropping from one folder to another. Before you can organize tabs with folders, you need to find the tabs you’re trying to organize. Freezetab allows you to sort your tabs based on the title or name of the website, the date you saved them, and a variety of other ways. After you’ve found the tabs you’re looking for, you can drag and drop them into folders.
Sometimes you need to quickly mark a tab or tab group as important. Freezetab has a star feature that does exactly this.
Little Snitch is a traditional software firewall for macOS. You can use it to monitor applications, preventing or permitting them to connect to attached networks through advanced rules. OpenSnitch is a GNU/Linux port of the Little Snitch application firewall written in Python.
Source: OpenSnitch: The Little Snitch application like firewall tool for Linux (nixCraft)
Previously we covered KeePassXC password manager which is also free application. Here comes another password manager called Enpass, it is free and cross-platform available for Linux, Windows, Mac, Android, Blackberry, Windows Phone and iOS.
Source: Enpass Is The Free Cross-Platform Password Manager (NoobsLab)
Raspberry Pi Pushbutton Shutdown/Startup
The attached script will install shutdown and startup capability using a SPST NO momentary pushbutton
switch connected to GPIO header pins 5 and 6. Pressing the button on a running system will initiate
a graceful shutdown (shutdown -h now). Once shut down, pressing the button will restart the system.
1. Copy install and gpio-shutdown.dtbo to the Raspberry Pi.
2. Make the install script executable:
$ chmod +x install
3. Run the install script:
$ sudo ./install
For additional info, see:
The script can be downloaded from RonR’s original post or directly from https://www.dslreports.com/r0/download/2324182~6a03744946c51bfa4876b6ecd8d4528c/PushButton.zip
You can write a bash script such that it receives arguments specified when the script is called from the command line. This method is used when a script has to perform a slightly different function depending on the values of input parameters (the arguments).
For example, you may have a script called “stats.sh” that performs a particular operation on a file, such as counting its words. If you want to be able to use that script on many files, it is best to pass the file name as an argument, so that you can use the same script for all the files to be processed.
Source: How to Pass Arguments to a Bash-Script (Lifewire)
Postfix is a mail transfer agent (MTA), an application used to send and receive email. In this tutorial, we will install and configure Postfix so that it can be used to send emails by local applications only — that is, those installed on the same server that Postfix is installed on.
Why would you want to do that?
If you’re already using a third-party email provider for sending and receiving emails, you do not need to run your own mail server. However, if you manage a cloud server on which you have installed applications that need to send email notifications, running a local, send-only SMTP server is a good alternative to using a 3rd party email service provider or running a full-blown SMTP server.
In this tutorial, you’ll learn how to install and configure Postfix as a send-only SMTP server.
Source: How to Install and Configure Postfix as a Send-Only SMTP Server on Ubuntu 16.04 (Digital Ocean)