Feed aggregator

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

nixCraft - 12 hours 18 min ago
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 - 12 hours 18 min ago
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 - 12 hours 18 min ago
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 - 12 hours 18 min ago
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 - 12 hours 18 min ago
{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 - 12 hours 18 min ago
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 - 12 hours 18 min ago
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 - 12 hours 18 min ago
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 - 12 hours 18 min ago
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

'Star Wars' Boss Kathleen Kennedy Steps Down From Lucasfilm

Slashdot.org - 13 hours 54 min ago
After more than 13 years leading Lucasfilm, Kathleen Kennedy is stepping down. "When George Lucas asked me to take over Lucasfilm upon his retirement, I couldn't have imagined what lay ahead," said Kennedy. "It has been a true privilege to spend more than a decade working alongside the extraordinary talent at Lucasfilm." The Associated Press reports: The Walt Disney Co. announced Thursday that it will now turn to Dave Filoni to steer "Star Wars," as president and chief creative officer, into its sixth decade and beyond. Filoni, who served as the chief commercial officer of Lucasfilm, will inherit the mantle of one of the movies marquee franchises, alongside Lynwen Brennan, president and general manager of Lucasfilm's businesses, who will serve as co-president. Kennedy, Lucas' handpicked successor, had presided over the ever-expanding science-fiction world of "Star Wars" since Disney acquired it in 2012. In announcing Thursday's news, Bob Iger, chief executive officer of the Walt Disney Co. called her "a visionary filmmaker." Kennedy oversaw a highly lucrative but often contentious period in "Star Wars" history that yielded a blockbuster trilogy and acclaimed streaming spinoffs such as "The Mandalorian" and "Andor," yet found increasing frustration from longtime fans. Under Kennedy's stewardship, Lucasfilm amassed more than $5.6 billion in box office and helped establish Disney+ as a streaming destination -- achievements that easily validated the $4.05 billion Disney plunked down for the company. But Kennedy also struggled to deliver the big-screen magic that Lucas captured in the original trilogy from the late 1970s and early 1980s, and her relationship with "Star Wars" loyalists became a saga of its own.

Read more of this story at Slashdot.

US Carbon Pollution Rose In 2025, a Reversal From Prior Years

Slashdot.org - 16 hours 54 min ago
In a reversal from previous years, U.S. carbon emissions rose 2.4% in 2025 compared with the year before. NBC News reports: The increase in greenhouse gas emissions is attributable to a combination of a cool winter, the explosive growth of data centers and cryptocurrency mining and higher natural gas prices, according to the Rhodium Group, an independent research firm. Environmental policy rollbacks by President Donald Trump's administration were not significant factors in the increase because they were only put in place this year, the study authors said. Heat-trapping gases from the burning of coal, oil and natural gas are the major cause of worsening global warming, scientists say. American emissions of carbon dioxide and methane had dropped 20% from 2005 to 2024, with a few one- or two-year increases in the overall downward trend. Traditionally, carbon pollution has risen alongside economic growth, but efforts to boost cleaner energy in recent years decoupled the two, so emissions would drop as gross domestic product rose. But that changed last year with pollution actually growing faster than economic activity, said study co-author Ben King, a director in Rhodium's energy group. He estimated the U.S. put 5.9 billion tons (5.35 billion metric tons) of carbon dioxide equivalent in the air in 2025, which is 139 million tons (126 million metric tons) more than in 2024. The cold 2025 winter meant more heating of buildings, which often comes from natural gas and fuel oil that are big greenhouse gas emitters, King said. A significant and noticeable jump in electricity demand from data centers and cryptocurrency mining meant more power plants producing energy. That included plants using coal, which creates more carbon pollution than other fuel sources. A rise in natural gas prices helped create an 13% increase in coal power, which had shrunk by nearly two-thirds since its peak in 2007, King said.

Read more of this story at Slashdot.

Study Finds Weak Evidence Linking Social Media Use to Teen Mental Health Problems

Slashdot.org - Thu, 01/15/2026 - 22:30
An anonymous reader quotes a report from the Guardian: Screen time spent gaming or on social media does not cause mental health problems in teenagers, according to a large-scale study. [...] Researchers at the University of Manchester followed 25,000 11- to 14-year-olds over three school years, tracking their self-reported social media habits, gaming frequency and emotional difficulties to find out whether technology use genuinely predicted later mental health difficulties. Participants were asked how much time on a normal weekday in term time they spent on TikTok, Instagram, Snapchat and other social media, or gaming. They were also asked questions about their feelings, mood and wider mental health. The study found no evidence for boys or girls that heavier social media use or more frequent gaming increased teenagers' symptoms of anxiety or depression over the following year. Increases in girls' and boys' social media use from year 8 to year 9 and from year 9 to year 10 had zero detrimental impact on their mental health the following year, the authors found. More time spent gaming also had a zero negative effect on pupils' mental health. "We know families are worried, but our results do not support the idea that simply spending time on social media or gaming leads to mental health problems -- the story is far more complex than that," said the lead author Dr Qiqi Cheng. The research, published in the Journal of Public Health, also examined whether how pupils use social media makes a difference, with participants asked how much time spent chatting with others, posting stories, pictures and videos, browsing feeds, profiles or scrolling through photos and stories. The scientists found that actively chatting on social media or passive scrolling feeds did not appear to drive mental health difficulties. The authors stressed that the findings did not mean online experiences were harmless. Hurtful messages, online pressures and extreme content could have detrimental effects on wellbeing, but focusing on screen time alone was not helpful, they said.

Read more of this story at Slashdot.

Amazon Is Making a Fallout Shelter Competition Reality TV Show

Slashdot.org - Thu, 01/15/2026 - 21:02
Amazon is expanding the Fallout universe with Fallout Shelter, a ten-episode reality competition show where contestants face survival-style challenges and moral dilemmas for a cash prize. Engadget reports: Prime Video has greenlit a unscripted reality show titled Fallout Shelter. It will be a ten-episode run with Studio Lambert, the team behind reality projects including Squid Game: The Challenge and The Traitors, as its primary producer. Bethesda Game Studios' head honcho Todd Howard is attached as an executive producer. Amazon's description of Fallout Shelter is: "Across a series of escalating challenges, strategic dilemmas and moral crossroads, contestants must prove their ingenuity, teamwork and resilience as they compete for safety, power and ultimately a huge cash prize." [...] The name echos the free-to-play mobile game Bethesda released in 2015. Fallout Shelter lets people build and improve their out Vault-Tec residence, managing the resources for a growing cadre of underground survivors. It seems pretty likely that there will be some type of tie-in between the game and the show, but any details about that might pop up closer to when the program is ready to air. It's currently casting, and no release timeline has been shared.

Read more of this story at Slashdot.

New York Introduces Legislation To Crack Down On 3D Printers That Make Ghost Guns

Slashdot.org - Thu, 01/15/2026 - 20:25
New York Governor Kathy Hochul is proposing first-of-its-kind legislation that would require 3D printers sold in the state to include built-in software designed to block the printing of gun parts used to make "ghost guns." The plan would also add criminal penalties for making 3D-printed firearms and hold printer owners or manufacturers liable if safety controls aren't in place. 3D Printing Industry reports: "From the iron pipeline to the plastic pipeline, these proposals will keep illegal ghost guns off of New York streets, and enhance measures to track and block the production of dangerous and illegal firearms in our state," Hochul said. In addition to mandating printer-level safeguards and restricting access to CAD files, the proposed legislation would require law enforcement agencies to report any recovered 3D printed firearms to a statewide database. The measure also includes a provision requiring commercial gun manufacturers to redesign pistols so they cannot be easily converted for automatic fire. "These illegal firearms are being manufactured in homes and used in crimes right now, which is why I have been working with my colleagues in Albany and the private sector over the past several years to stop their proliferation. Passing these measures will reduce crime and strengthen public safety for all New Yorkers," said Manhattan District Attorney Alvin Bragg.

Read more of this story at Slashdot.

Iran's Internet Shutdown Is Now One of the Longest Ever

Slashdot.org - Thu, 01/15/2026 - 19:45
Iran has imposed one of the longest nationwide internet shutdowns in its history, cutting more than 92 million people off from connectivity for over a week as mass anti-government protests continue. TechCrunch reports: As of this writing, Iranians have not been able to access the internet for more than 170 hours. The previous longest shutdowns in the country lasted around 163 hours in 2019, and 160 hours in 2025, according to Isik Mater, the director of research at NetBlocks, a web monitoring company that tracks internet disruptions. Mater said that the current shutdown in Iran is the third longest on record, after the internet shutdown in Sudan in mid-2021 that lasted around 35 days, followed by the outage in Mauritania in July 2024, which lasted 22 days. "Iran's shutdowns remain among the most comprehensive and tightly enforced nationwide blackouts we've observed, particularly in terms of population affected," Mater told TechCrunch. The exact ranking depends on how each organization measures a shutdown. Zach Rosson, a researcher who studies internet disruptions at the digital rights nonprofit Access Now, told TechCrunch that according to its data, the ongoing shutdown in Iran is on a path to crack the top 10 longest shutdowns in history. Further reading: Iran Shuts Down Musk's Starlink For First Time

Read more of this story at Slashdot.

Syndicate content
Comment