Feed aggregator

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

nixCraft - Wed, 11/26/2025 - 13: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 - Wed, 11/26/2025 - 13: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 - Wed, 11/26/2025 - 13: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 - Wed, 11/26/2025 - 13: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 - Wed, 11/26/2025 - 13: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 - Wed, 11/26/2025 - 13: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 - Wed, 11/26/2025 - 13: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 - Wed, 11/26/2025 - 13: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 - Wed, 11/26/2025 - 13: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

China's Dual Squeeze on European Industry Intensifies

Slashdot.org - Wed, 11/26/2025 - 13:11
European manufacturers are facing a two-front assault from China that has German industry associations warning of deindustrialisation: on one side, artificially cheap Chinese goods are flooding into Europe, and on the other, Beijing has demonstrated its willingness to abruptly cut off access to critical inputs like rare earths and semiconductors. The alarm intensified in October when China added five rare earths to its export-licensing regime and then banned exports of computer chips made by Nexperia, a Dutch-headquartered but Chinese-owned chipmaker that supplies numerous European carmakers, according to The Economist. Several European firms warned of production stoppages, and some German companies put workers on leave without pay. Germany's trade deficit with China hit $76.52 billion last year and is expected to surge to around $100.87 billion this year, The Economist reported, driven by collapsing German exports and a rush of imports in categories like cars, chemicals, and machinery that were once German specialties. Chinese brands now account for 20% of Europe's hybrid market and 11% of electric vehicle sales. German cars command just 17% of the Chinese market, down from 27% in 2020. The rare earth controls were suspended for a year after the US and China struck a trade deal on October 30th, but the EU found itself a bystander to negotiations that directly affected its economy. Writing in the Financial Times, Robin Harding argues that China's explicit goal of self-sufficiency leaves Europe with few options. "There is nothing that China wants to import, nothing it does not believe it can make better and cheaper," he wrote, concluding that large-scale protectionism may be unavoidable if Europe wants to retain any industry at all.

Read more of this story at Slashdot.

NASA Rover Makes a Shocking Discovery: Lightning on Mars

Slashdot.org - Wed, 11/26/2025 - 12:28
An anonymous reader shares a report: It is shocking but not surprising. Lightning crackles on Mars, scientists reported on Wednesday. What they observed, however, were not jagged, high-voltage bolts like those on Earth, arcing thousands of feet from cloud to ground. Rather, the phenomenon was more like the shock you feel when you scuff your feet on the carpet on a cold winter morning and then touch a metal doorknob. "This is like mini-lightning on Mars," Baptiste Chide, a scientist at the Research Institute in Astrophysics and Planetary Science in Toulouse, France, said of the centimeter-scale electrical discharges. Dr. Chide and his colleagues reported the findings in a paper published on Wednesday in the journal Nature. The electrical sparks, although not as dramatically violent as on Earth, could play an important role in chemical reactions in the Martian atmosphere.

Read more of this story at Slashdot.

Dell Says Windows 11 Transition is Far Slower Than Windows 10 Shift as PC Sales Stall

Slashdot.org - Wed, 11/26/2025 - 11:53
Dell has predicted PC sales will be flat next year, despite the potential of the AI PC and the slow replacement of Windows 10. From a report: "We have not completed the Windows 11 transition," COO Jeffrey Clarke said during Dell's Q3 earnings call on Tuesday. "In fact, if you were to look at it relative to the previous OS end of support, we are 10-12 points behind at that point with Windows 11 than we were the previous generation." Clarke said that means 500 million PCs can't run Windows 11, while the same number didn't need an upgrade to handle Microsoft's latest desktop OS. The COO therefore predicted the PC market will "flourish," but then defined the word as meaning "roughly flat" sales despite Dell chalking up mid-to high single digits PC sales growth over the last year.

Read more of this story at Slashdot.

Apple Set To Become World's Top Phone Maker, Overtaking Samsung

Slashdot.org - Wed, 11/26/2025 - 11:24
Apple will retake its crown as the world's largest smartphone maker for the first time in more than a decade, lifted by the successful debut of a new iPhone series and a rush of consumers upgrading devices, according to Counterpoint Research. From a report: The iPhone 17 models introduced in September have been a hit both domestically in the US and in Apple's other critical market, China. They've enticed more people to upgrade, leading to double-digit year-over-year sales growth in both markets, according to the researchers. The US company also is benefiting from a cooling of US-China trade tensions and a depreciating dollar that has boosted purchases in emerging markets, they added. The growth will propel Apple past longtime rival Samsung this year, according to Counterpoint's figures. Shipments of the iPhone are set to grow at 10% in 2025, compared with 4.6% for Samsung.

Read more of this story at Slashdot.

World's Central Banks Are Wary of AI and Struggling To Quit the Dollar, Survey Shows

Slashdot.org - Wed, 11/26/2025 - 10:22
An anonymous reader shares a report: AI is not a core part of operations at most of the world's central banks and digital assets are off the table, according to a survey released on Wednesday by the Official Monetary and Financial Institutions Forum. The working group of 10 central banks from Europe, Africa, Latin America and Asia managing roughly $6.5 trillion in assets also found that the institutions that have delved deepest so far into AI are the most cautious about the risks. The primary concern is that AI-driven behaviour could "accelerate future crises," the survey showed. "AI helps us see more, but decisions must remain with people," one participant was quoted as saying in the group's report. More than 60% of respondents said that AI tools - which have sparked layoffs already at technology companies and retail and investment banks - are not yet supporting core operations.

Read more of this story at Slashdot.

Syndicate content
Comment