惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

人人都是产品经理
人人都是产品经理
有赞技术团队
有赞技术团队
WordPress大学
WordPress大学
月光博客
月光博客
T
Tailwind CSS Blog
阮一峰的网络日志
阮一峰的网络日志
小众软件
小众软件
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Last Week in AI
Last Week in AI
大猫的无限游戏
大猫的无限游戏
S
SegmentFault 最新的问题
罗磊的独立博客
Jina AI
Jina AI
酷 壳 – CoolShell
酷 壳 – CoolShell
宝玉的分享
宝玉的分享
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - 三生石上(FineUI控件)
量子位
雷峰网
雷峰网
Apple Machine Learning Research
Apple Machine Learning Research
美团技术团队
博客园 - 聂微东
V
V2EX

Latest news

LG G6 vs. LG G5: I compared the latest OLED TV models, and it's a surprisingly tough choice I saw the 'MacBook Pro for Linux users' for the first time, and it's a legit Windows threat I tested Surfshark's new Dausos VPN protocol - here's how it compares to WireGuard How to easily encrypt your files on an Android phone - for free I'm not giving up on DJI cameras yet - not when they can upset my GoPro like this Why I'm recommending last year's phones over 2026 models - with one exception This powerful Gemini setting made my AI results way more personal and accurate After testing this HP laptop, I get why its 'boring' design is adored by business users The best TV antenna of 2026: Expert tested Your old iPad or Android tablet can be your new smart home panel - here's how Apple's original AirTag still tracks effectively, and you can get a 4-pack for its best price ever T-Mobile will give you an iPad for $99 when you sign up for a new line - here's how How to qualify for Apple's education discount - and get a $499 MacBook Neo for school T-Mobile will give you a Samsung Galaxy Watch 8 for free - how to get yours Prolonged AI use can be hazardous to your health and work: 4 ways to stay safe Verizon will give you a free iPad or Apple Watch with your next iPhone - how the deal works The best laptops of 2026: Expert tested and reviewed I hid 4 Bluetooth trackers (including AirTags) to test their reliability - here's how Android rivals compared I stopped using my iPhone's hotspot after testing this 5G router - and that won't change The best Kindles in 2026: Expert recommended Does Best Buy price match? Everything to know about matching prices online and in-store The best WordPress hosting services of 2026: Expert tested and reviewed The best Apple Watch of 2026: Expert tested and reviewed The best TV screen cleaners of 2026: Expert recommended The best 50-inch TVs of 2026: Expert tested I traded my Sonos Era 300 for Denon's new home speaker - and see no reason to go back AI-powered website builders have come a long way - here's your best option in 2026 Amazon just slashed $250 off the Google Pixel 10 - and a Prime subscription isn't required I found the apps slowing down my PC - how to kill the biggest memory hogs These companies are actually upskilling their workers for AI - here's how they do it
7 ways AI can help with your Linux system management
Jack Wallen · 2026-06-15 · via Latest news
Linux AI terminal
Jack Wallen/ZDNET

Follow ZDNET: Add us as a preferred source on Google.


ZDNET's key takeaways

  • AI has its place in the world of Linux.
  • If you're new or über busy, AI can be a big help.
  • Employ AI in one of these areas to ease your burden.

I'm not a big fan of employing AI for everything. I strongly believe that it should have no place in creative endeavors (with some exceptions -- such as DaVinci Resolve's incredible AI voice isolation), but it does make sense to employ AI in certain areas.

For example: Linux system management. 

Before anyone gets up in arms, I'm not saying that system administrators should be replaced by machines. What I am saying is that AI can help those who are new to Linux learn how to manage (or better manage) their systems. And in cases where a single admin has to manage more machines than they have time for, AI can make for a great assistant.

But in what areas?

I've cobbled together seven uses where AI could really make a difference for those who are either very busy or who are just now learning the ins and outs of Linux.

1. Bash scripts

Although bash scripts aren't a necessity for basic desktop Linux use, anyone who's ever managed a Linux server or wanted to simply create a custom backup task for their desktops, bash scripts are essential.

For those who are just learning Linux, these scripts can be daunting, which is where AI can be handy. Using AI, you could type a prompt like, "Create a Linux bash script that backs up my ~/Documents directory to an external drive mounted at /backups on a daily basis and retains only the most recent five backups."

Also: 5 factors steadily fueling Linux's desktop rise

Your AI will create the bash script for you, which you can then test. If it works, cron that baby (another instance where you might need to use AI), and trust that your backups are going to be successful. Do make sure to check that they are not only working, but that the backups contain the files you want backed up. Because… you never know.

2. Parsing log files

Log files are key to understanding what's going on with your system or what's happened to your system. Most Linux log files are contained within /var/log, and some of them can be a bit challenging to understand. Here's a good example. I recently ran into a syslog entry that I'd never seen before. Each entry contained "cause font doesn't have a family name." I did some DuckDuckGo'ing and found nothing. I then opened Opera's Aria and queried it about the error. Turns out the error relates to font handling or rendering, and that the fonts in question do not have an essential attribute (in this case, a family name). Clearly, that's not an error I need to worry about, so I decided to suppress those errors by creating a blacklist file in /etc/rsyslog.d/ with the contents:

:msg, contains, "cause font doesn't have a family name" stop

I then restarted rsyslog with:

sudo systemctl restart rsyslog

Also: 5 surprisingly productive things you can do with the Linux terminal

The error was no more.

3. Understanding journalctrl output

Systemd can be a bit confusing at times, especially when it comes to errors. When you wind up with errors, you'll be pointed to the journalctl tool, which can contain some really cryptic output. Most of the time, I can understand what it's saying, but every so often, the journalctl output makes me go, "Huh?" When that happens, AI can be of assistance. 

Keep in mind that you shouldn't just tell AI, "What does this output mean?" You should also include the app or service you are troubleshooting, as in, "What does this openssh-server journalctl output mean XXX" (where XXX is the actual journalctl output. 

AI is pretty good at helping you understand what you're looking at.

4. Generating iptables firewall rules

Iptables is the foundation for all Linux firewalls, and man, can it be complex. It's not often you have to bother with iptables, because you'd mostly be interacting with simpler counterparts, such as UFW. But if there is an occasion where you have to use iptables, you'll very quickly realize how complicated it is.

Also: The first 5 Linux commands every new user should learn

I remember the first time I had to use iptables (back in the late 1990s), and I thought, "I'm never going to understand this!" Had I had AI to help me unravel the complexity of iptables, things would have been as easy as querying:

Write an IPtables rule to allow SSH connections in through port 2022 on the Ethernet device eth0.

Yeah, that's so much easier.

5. Process monitoring

Although there are plenty of tools to help you monitor your Linux processes (especially some of the amazing and user-friendly GUIs), you might run into the rare occasion that you have to figure it out with nothing more than the command line. If you understand the ps command, you should be good to go; otherwise, consider querying your favorite AI:

How do I find out which process on a Linux system is using the most system resources, and how do I stop it?

The answer should get you started on your journey of keeping Linux system processes in check.

6. Managing user accounts and permissions

What if you needed to lock a user out of their account on a Linux system that includes agentic AI? You could always query:

Lock Mary out of her account for one week.

If the AI is configured with the proper permissions, you'll most likely be asked to type your sudo password so the process can continue. After typing your sudo password, most likely your AI is going to run the command:

sudo chage -E $(date -d "+7 days" +%Y-%m-%d) Mary

Also: The best Linux distros for beginners

Because file/folder permissions can be a bit complicated to learn, you might use AI to help you out. This is especially easy on a system that includes agentic AI. With that, you could do something like:

Change the folder ownership and permissions of /data such that the group editors have full access to it.

7. Virtualization

Although you may never have to deal with virtual machines, there may come a time when you want to run a virtual machine in the background, so you have access to a particular server on your LAN, without having to have a GUI running 24/7. 

For example, you might have a virtual machine that runs Nextcloud to serve as your in-home solution for Google Workspace. Instead of running the VirtualBox GUI and then having the server GUI up and running (both GUIs take up valuable system resources), you could run it headless (which means without a GUI) so you can still access it from anywhere on your LAN. 

To that end, you could query:

How do I run a headless instance of a VirtualBox virtual machine named Nextcloud?

You'll probably see the following in the output:

VBoxManage startvm "Nextcloud" --type headless

There are plenty of other ways you can use AI to help with Linux system management, and the above will easily get you started on that journey.

Open Source