Feed aggregator

How to download a file with curl on Linux/Unix command line

nixCraft - Thu, 05/21/2026 - 21:35
I am a new macOS Unix user. I am writing a small bash shell script. How do I download file directly from the command-line interface using curl? How can I download file with cURL on a Linux or Unix-like systems? Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How to download a file with curl on Linux/Unix command line appeared first on nixCraft. 2024-05-12T19:41:44Z 2024-05-12T19:41:44Z Vivek Gite

Linux/Unix: pstree Command Examples: See A Tree Of Processes

nixCraft - Thu, 05/21/2026 - 21:35
I am a new Linux user. How do I display the process on the Linux based server or desktop/laptop in easy to read tree format using bash shell prompt? Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post Linux/Unix: pstree Command Examples: See A Tree Of Processes appeared first on nixCraft. 2024-05-12T19:29:49Z 2024-05-12T19:29:49Z Vivek Gite

How to enable Debian 12 Backports repository

nixCraft - Thu, 05/21/2026 - 21:35
The Debian Linux 12 backports repository offers updated versions of software packages for Debian Stable releases. These packages are sourced from Testing (and sometimes Unstable) branches of Debian, and then optimized and recompiled to function on the current Stable release, such as Bookworm. Let us see how to install and use Debian Linux 12 "Bookworm" Backports repository. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How to enable Debian 12 Backports repository appeared first on nixCraft. 2024-05-11T11:02:39Z 2024-05-11T11:02:39Z Vivek Gite

How to copy permissions from one file to another on Linux

nixCraft - Thu, 05/21/2026 - 21:35
I need to copy or clone file ownership and permissions from another file on Linux. Is there a bash command line option to clone the user, group ownership and permissions on a file from another file on Linux operating system? Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How to copy permissions from one file to another on Linux appeared first on nixCraft. 2024-05-08T22:06:06Z 2024-05-08T22:06:06Z Vivek Gite

A Bash Script to Read All Command Line Arguments into an Array: Simplify Argument Handling

nixCraft - Thu, 05/21/2026 - 21:35
If you are writing a Bash shell script, you should read command-line arguments into an array for some time. This allows us to process any number of arguments provided when the script is run. This makes the script adaptable to different use cases. Instead of dealing with fixed variables like $1, $2, $3, etc., you can work with any number of arguments more dynamically using bash for loop or bash while loop, depending upon your needs. Arrays make it simple to loop through each argument and perform operations on them, whether basic printing or complex processing. Bash provides a mapfile (readarray command) internal built-in command to read lines from a file into an array variable. Let us see how to use mapfile to read all command line arguments into an array. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post A Bash Script to Read All Command Line Arguments into an Array: Simplify Argument Handling appeared first on nixCraft. 2024-05-07T10:40:08Z 2024-05-07T10:40:08Z Vivek Gite

How to Pin Versions in Yum or Dnf for RHEL or CentOS Linux

nixCraft - Thu, 05/21/2026 - 21:35
CentOS, RHEL (Red Hat Enterprise Linux), Fedora and other clones of RHEL, such as Oracle, Alma, and Rocky, offer support for version pinning. This feature allows developers and system administrators to lock a particular package to a specific version, preventing it from being automatically updated by yum or dnf commands. Sometimes, it is necessary to protect packages from being updated to newer versions to avoid incompatibility issues with your applications. For example, you can lock down PHP version 8.3.6 and avoid using updated PHP version 8.4. Let us see how to lock a package to a specific version, only exclude a package from yum update or dnf update on a CentOS, RHEL, Fedora, and friends. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How to Pin Versions in Yum or Dnf for RHEL or CentOS Linux appeared first on nixCraft. 2024-05-07T09:01:47Z 2024-05-07T09:01:47Z Vivek Gite

How to perform find and replace operations within a visual selection in Vim

nixCraft - Thu, 05/21/2026 - 21:35
Here's a quick tip for vim users. You can perform find and replace operations within a visual selection in Vim for text or code block. Visual selection for finding and replacing text in Vim allows developers and Linux/Unix users precise and efficient text editing. It's handy when you want to change specific portions of text or code blocks within a larger file without affecting other occurrences. This method required to minimizing manual search and reducing the risk of unintended code or text modifications. Let us see how to find and replace in Vim visual mode selection. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How to perform find and replace operations within a visual selection in Vim appeared first on nixCraft. 2024-05-07T06:14:33Z 2024-05-07T06:14:33Z Vivek Gite

How to find hidden processes and ports on Linux/Unix/Windows

nixCraft - Thu, 05/21/2026 - 21:35
Unhide is a little handy forensic tool to find hidden processes and TCP/UDP ports by rootkits / LKMs or by another hidden technique. This tool works under Linux, Unix-like system, and MS-Windows operating systems. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How to find hidden processes and ports on Linux/Unix/Windows appeared first on nixCraft. 2024-05-07T05:05:51Z 2024-05-07T05:05:51Z Vivek Gite

How to add bash auto completion in Debian Linux

nixCraft - Thu, 05/21/2026 - 21:35
Bash is a command language interpreter compatible with sh. It can execute commands read from a file or keyboard. On Debian Linux, bash-completion is a set of shell functions that uses Bash's programmable completion feature. This page provides instructions on installing and enabling Bash auto-completion on Debian Linux versions 10, 11, and 12 to increase productivity by writing custom bash code. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How to add bash auto completion in Debian Linux appeared first on nixCraft. 2024-05-06T15:51:25Z 2024-05-06T15:51:25Z Vivek Gite

How to add cron job entry for acme.sh

nixCraft - Thu, 05/21/2026 - 21:35
Recently, I had a learning experience with cron jobs and acme.sh. acme.sh is an excellent tool that simplifies the management of Let's Encrypt TLS (SSL) certificates. It makes obtaining and renewing these essential security certificates for your web server easier. Recently, I moved my server from Linode to AWS, which was a new environment for me. Initially, everything appeared to be working correctly, and I assumed everything was running smoothly. However, I forgot to migrate the cron job that acme.sh uses to renew the certificate automatically. This oversight caused my Let's Encrypt certificates to expire, resulting in security warnings and potential disruptions for visitors to my website. Opps! Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How to add cron job entry for acme.sh appeared first on nixCraft. 2024-05-03T06:43:12Z 2024-05-03T06:43:12Z Vivek Gite

How to Upgrade Ubuntu 22.04 to 24.04 LTS: A Complete Guide

nixCraft - Thu, 05/21/2026 - 21:35
{nixCraft Patreon supporters content}Below is a sneak peek of this content! Ubuntu 24.04 LTS (Noble Numbat) was launched on April 25th, 2024. This new version will be supported for five years until June 2029. The armhf architecture now provides support for the Year 2038 problem. The upgrades include significant updates to core packages like Linux kernel, systemd, Netplan, […]The post How to Upgrade Ubuntu 22.04 to 24.04 LTS: A Complete Guide appeared first on Opensource Flare✨. 2024-04-26T18:25:08Z 2024-04-26T18:25:08Z Vivek Gite

How to Upgrade Ubuntu 22.04 to 24.04 LTS: A Complete Guide

nixCraft - Thu, 05/21/2026 - 21:35
Ubuntu 24.04 LTS (Noble Numbat) was launched on April 25th, 2024. This new version will be supported for five years until June 2029. The armhf architecture now provides support for the Year 2038 problem. The upgrades include significant updates to core packages like Linux kernel, systemd, Netplan, toolchain upgrades for better development support, enhanced security measures, and performance optimizations. It also has an updated GNOME desktop environment and other default applications. Let us see how to upgrade Ubuntu 22.04 LTS to Ubuntu 24.04 LTS using the CLI over ssh-based session. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How to Upgrade Ubuntu 22.04 to 24.04 LTS: A Complete Guide appeared first on nixCraft. 2024-04-26T08:33:21Z 2024-04-26T08:33:21Z Vivek Gite

How to configure AWS SES with Postfix MTA on Debian Linux

nixCraft - Thu, 05/21/2026 - 21:35
AWS SES (Amazon Simple Email Service) is a cloud-based email-sending service that is both reliable and cost-effective. This service is offered by Amazon Web Services. Postfix is a popular email server for Debian and Unix-like systems. It is an open-source Mail Transfer Agent (MTA) responsible for routing and delivering emails. Debian Linux is a widely used Linux distribution known for its stability and user-friendliness for server usage. Let us see how to integrate AWS SES with the Postfix MTA on Debian Linux version 11/12. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How to configure AWS SES with Postfix MTA on Debian Linux appeared first on nixCraft. 2024-04-19T07:04:06Z 2024-04-19T07:04:06Z Vivek Gite

The repository ‘http://deb.debian.org/debian buster-backports Release’ no longer has a Release file.

nixCraft - Thu, 05/21/2026 - 21:35
When you run the sudo apt update, you may see the following message or error on a Debian Linux: Err:5 http://deb.debian.org/debian buster-backports Release 404 Not Found [IP: 146.75.34.132 80] Reading package lists... Done E: The repository 'http://deb.debian.org/debian buster-backports Release' no longer has a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. Here is how to fix this issue. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post The repository ‘http://deb.debian.org/debian buster-backports Release’ no longer has a Release file. appeared first on nixCraft. 2024-04-14T20:42:01Z 2024-04-14T20:42:01Z Vivek Gite

How do I find out my timezone in Linux?

nixCraft - Thu, 05/21/2026 - 21:35
You can find the timezone in Linux using the command line. The easiest way to do this is to type the "timedatectl" command and look for the "timezone" line when using modern Linux distros with systemd. There are other commands and ways to temporarily switch to a new timezone for date calculations. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How do I find out my timezone in Linux? appeared first on nixCraft. 2024-04-06T01:06:44Z 2024-04-06T01:06:44Z Vivek Gite

Hilton Honors American Express Cards: New Limited-Time Offers

MyMoneyBlog.com - Thu, 05/21/2026 - 19:40

Updated with new limited-time offers. Hilton Hotels and American Express have co-branded credit cards with special perks for Hilton customers. Each person can typically only get one welcome offer, per card in your entire lifetime, so it’s best to apply during a temporary bump-up and/or limited-time offer. Hat tip to DoC, which has found some personal links without the once-per-lifetime language (“NLL” or “no-lifetime-language”). The business links below still include the NLL. Here’s what the “lifetime-language” looks like, and there should be a pop-up indicating that you are indeed not eligible for the bonus based on their records.

You may not be eligible to receive a welcome offer if you have or have had this Card or previous versions of this Card. You also may not be eligible to receive a welcome offer based on various factors, such as your history with credit card balance transfers, your history as an American Express Card Member, the number of credit cards that you have opened and closed and other factors. If you are not eligible for a welcome offer, we will notify you prior to processing your application so you have the option to withdraw your application.

Hilton Honors American Express Card (No Annual Fee)

  • Limited Time Offer: Earn 100,000 Bonus Points and a $100 Statement Credit after you spend $2,000 in purchases on the Card within your first 6 months of Card Membership. Offer ends 7/29/26.
  • 7X Hilton Honors Bonus Points for each dollar of eligible purchases charged on your Card directly with hotels and resorts within the Hilton portfolio.
  • 5X Hilton Honors Bonus Points per dollar on purchases at US restaurants, US supermarkets, and US gas stations.
  • 3X Hilton Honors Bonus Points for all other eligible purchases.
  • Hilton Honors(TM) Silver Status comes with this card. Spend $20,000 on eligible purchases on this card within a calendar year and upgrade this benefit to Hilton Honors(TM) Gold Status through the end of the next calendar year.
  • No foreign transaction fees.
  • No annual fee.

Hilton Honors American Express Surpass Card ($150 Annual Fee, waived first year)

  • Limited Time Offer: Limited Time Offer. Earn 130,000 Bonus Points after you spend $3,000 in purchases on the Card within your first 6 months of Card Membership. Offer ends 7/29/26.
  • 12X Hilton Honors Bonus Points for each dollar of eligible purchases charged on your Card directly with hotels and resorts within the Hilton portfolio.
  • 6X Hilton Honors Bonus Points per dollar on purchases at US restaurants, US supermarkets, and US gas stations.
  • 4X Hilton Honors Bonus Points for each dollar on U.S Online Retail Purchases.
  • 3X Hilton Honors Bonus Points for all other eligible purchases.
  • Hilton Honors(TM) Gold Status comes with this card. Spend $40,000 on eligible purchases on this card within a calendar year and upgrade this benefit to Hilton Honors(TM) Diamond Status through the end of the next calendar year.
  • Up to $200 in Hilton Credits annually. Get up to $50 in statement credits each quarter for purchases made directly with a property in the Hilton portfolio on your Hilton Honors American Express Surpass® Card. That’s up to $200 in statement credits annually.
  • No foreign transaction fees.
  • Earn an additional Free Night Reward from Hilton Honors after you spend $15,000 on eligible purchases on your Card in a calendar year.
  • $0 introductory annual fee for the first year, then $150.

Hilton Honors American Express Aspire Card ($550 Annual Fee)

  • Limited Time Offer: Earn 175,000 Bonus Points after you spend $6,000 in purchases on the Card within your first 6 months of Card Membership. Offer ends 7/29/26.
  • 14X Hilton Honors Bonus Points for each dollar of eligible purchases charged on your Card directly with hotels and resorts within the Hilton portfolio.
  • 7X Bonus Points for eligible purchases: on flights booked directly with airlines or amextravel.com; on car rentals booked directly from select car rental companies; & at U.S. restaurants.
  • 3X Hilton Honors Bonus Points for all other eligible purchases.
  • Hilton Honors(TM) Diamond Status comes with this card.
  • $400 Hilton Resort Credit. Get up to $200 in statement credits semi-annually for eligible purchases made directly with participating Hilton Resorts on your Hilton Honors Aspire Card. That’s up to $400 back annually.
  • $200 Flight Credit. Get up to $50 in statement credits each quarter, for a total of up to $200 back each year, on flight purchases made directly with an airline or through amextravel.com using your Hilton Honors American Express Aspire Card.
  • $209 CLEAR+ Credit. CLEAR+ helps get you to your gate faster by using your face to verify you are you at 55+ airports nationwide. Receive up to $209 per calendar year in statement credits, when you pay for a CLEAR+ Membership (subject to auto-renewal) with the Hilton Honors American Express Aspire Card.
  • No foreign transaction fees.
  • Multiple Free Night Reward Opportunities. Enjoy an Annual Free Night Reward from Hilton Honors in your first year of Card Membership and every year upon Card renewal. Earn another Free Night Reward from Hilton after you spend $30,000 in purchases on your Card in a calendar year. Plus, you can earn an additional Free Night Reward from Hilton after you spend a total of $60,000 in purchases on the Card within the same calendar year.
  • $550 annual fee.

Hilton Honors American Express Business Card ($195 Annual Fee, waived first year)

  • Earn 130,000 Hilton Honors Bonus Points after you spend $8,000 in purchases on the Card within your first 6 months of Card Membership. $0 Intro Annual Fee for the first year, then $195. Offer ends July 29, 2026.
  • 12X Hilton Honors Bonus Points on eligible purchases made directly with hotels and resorts within the Hilton portfolio.
  • 5X Hilton Honors Bonus Points on other purchases made using the Hilton Honors Business Card on the first $100,000 in purchases each calendar year, 3X Points thereafter.
  • Up to $240 in Hilton credits annually (Up to $60 per quarter). Get up to $60 in statement credits each quarter for purchases made with this card directly with a Hilton portfolio property.
  • Complimentary Hilton Honors(TM) Gold Status (free breakfast, room upgrades based on availability, 5th standard reward night free).
  • Upgrade this benefit to Hilton Honors(TM) Diamond Status through the end of the calendar year if the total eligible purchases that you spend on your Card Account during a calendar year reach $40,000 or more.
  • $0 introductory annual fee for the first year, then $195.

What are Hilton Honor points worth? The best value is from booking free hotel nights or using their “Points & Money” option where you pay with a combination of Hilton points and cash. Hilton has some really nice properties, but the value varies from hotel to hotel. I just ran a search and for the same 60,000 Hilton points, I could book rooms that cost $320 or $532 cash. I’ve seen some valuations around 0.6 cents per point, which I think is fair on average, but I would be more conservative at 0.5 cents a point. That would make 150,000 points = $750 value and 100,000 points = $500 value towards Hilton hotel stays.

The good part of Hilton points is that they have so many different hotel brands, from business-class DoubleTree to luxury Waldorf Astoria. Hilton also lets you transfer and pool points with other with other family or household members. As long as you are able to keep them active (once every 12 months), I do like to keep some around. These credit cards are handy for creating activity.

Free Night Award details. When it is offered (not all the time), the Free Night Award is valid for a one-night standard room at eligible Hilton properties, and also covers resort fees and taxes. There are many great and valuable options to redeem, but importantly read about the property exclusions here. Here are the full terms. To redeem the Free Night Reward, you must call 1-800-446-6677 (1-800-HHONORS). It’s quite easy and I’ve found the agents to be very helpful if you want to combine multiple certificates, combine a paid stay and a Free Night Award, etc. Free Night Rewards will expire 12 months from date of issuance.

I’ve used this Free Night Award at the Grand Wailea in Maui, and that standard room would have cost 110,000 Hilton Points otherwise. Other fancy possibilities include Conrad New York, Conrad London, Waldorf Astoria Park City, and Waldorf Astoria Beverly Hills.

Bottom line. Hilton American Express cards offer regular Hilton customers a good opportunity to earn additional points towards free Hilton hotel stays as well as additional perks like status upgrades. The best time to apply for a Hilton co-branded American Express card is during a limited-time increase to their welcome offers. This is because American Express has changed their standard policy to only allow each person to get a welcome offer once per card.

Also see: Top 10 Best Credit Card Bonus Offers and Top 10 Best Business Card Offers.

Categories: Finance

Syndicate content
Comment