nixCraft Linux / UNIX Newsletter

Link to nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format (RSS/FEED)

How to use htmlq to extract content from HTML files on Linux, macOS or FreeBSD

Posted: 08 Sep 2021 03:52 AM PDT

Most of us use love and use the jq command. It works on Linux or Unix-like systems to extract data from JSON documents. Recently I found htmlq, which is like jq and written in Rust lang. Imagine being able to sed or grep for HTML data. We can search, slice, and filter HTML data with htmlq. Let us see how to install and use this handy tool on Linux or Unix and play with HTML data.

Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit

The post How to use htmlq to extract content from HTML files on Linux, macOS or FreeBSD appeared first on nixCraft.

How to install Docker on Amazon Linux 2

Posted: 08 Sep 2021 02:41 AM PDT

See all Docker related FAQs/howtos

How do I install docker and docker-compose using the yum command on Amazon Linux 2 running on the EC2 or Lightsail cloud instance?

Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit

The post How to install Docker on Amazon Linux 2 appeared first on nixCraft.

Linux Execute Cron Job After System Reboot

Posted: 07 Sep 2021 10:22 PM PDT


{Updated} crontab is the program used to install, deinstall, or list the tables used to drive the cron daemon in Vixie Cron. You can run a cron job after Linux or Unix system rebooted. Handy for tasks that needs to be executed when your server comes online after kernel update and so on.
The post Linux Execute Cron Job After System Reboot appeared first on nixCraft.