<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"><channel><title>MagicLen</title><link>https://magiclen.org/cn/tag/bash/</link><description>多元化原创文章，内容包罗万象，有编程语言、网站应用、软件介绍、硬件介绍、操作系统、旅行游记、专题采访、益智问题、文学创作，以及作者们的知识分享和作品分享。</description><language>zh-CN</language><lastBuildDate>Sun, 22 Nov 2026 17:54:47 +0800</lastBuildDate><atom:link href="https://magiclen.org/cn/tag/bash/feed/" rel="self" type="application/rss+xml"/><sy:updatePeriod>hourly</sy:updatePeriod><sy:updateFrequency>8</sy:updateFrequency><sy:updateBase>1970-01-01T00:00+00:00</sy:updateBase><item><title>用 ShellCheck 来检查 Shell 脚本有没有什么问题</title><link>https://magiclen.org/cn/shell-check/</link><description><![CDATA[<img src="https://magiclen.org/wp-content/uploads/2022/06/shot-01-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2022/06/shot-01-220x162.png 1x, https://magiclen.org/wp-content/uploads/2022/06/shot-01-440x324.png 2x, https://magiclen.org/wp-content/uploads/2022/06/shot-01-660x486.png 3x" alt>
在写 Bash 或是其它 Shell 类型的脚本时，因为没有编译器的帮助，总是会写得心惊肉跳，深怕在运行的时候哪行出现错误，或是隔了一段时间再回来看就发现看不懂以前的自己在写什么了。ShellCheck 是一个开放源代码的 Shell 脚本检查工具，它可以找出脚本中语法错误，以及可能会出现的问题。]]></description><category>Bash</category><category>网站应用</category><category>Bash</category><category>Linux</category><guid>https://magiclen.org/cn/shell-check</guid><pubDate>Tue, 12 Jul 2022 12:00:00 +0800</pubDate><dc:creator>Magic Len</dc:creator></item><item><title>利用 Emacs 或是 Vi 的快速键来快速操作 Bash Shell 的技巧</title><link>https://magiclen.org/cn/linux-terminal-emacs-vi/</link><description><![CDATA[<img src="https://magiclen.org/wp-content/uploads/2019/03/shot-03-1-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2019/03/shot-03-1-220x162.png 1x, https://magiclen.org/wp-content/uploads/2019/03/shot-03-1-440x324.png 2x, https://magiclen.org/wp-content/uploads/2019/03/shot-03-1-660x486.png 3x" alt>
Bash 是 Linux 操作系统和 macOS 预设的 shell，在终端机上使用 Bash 来操作电脑，主要是透过从键盘输入指令来进行，因此指令的输入速度会大大地影响着操作电脑的效率。这篇文章将会介绍如何利用 Emacs 或是 Vi 的快速键来加快指令的输入。]]></description><category>Bash</category><category>Linux</category><category>研究分享</category><category>macOS</category><category>Bash</category><category>Linux</category><guid>https://magiclen.org/cn/linux-terminal-emacs-vi</guid><pubDate>Wed, 13 Mar 2019 12:00:07 +0800</pubDate><dc:creator>Magic Len</dc:creator></item><item><title>Linux 如何在开机的时候直接进入文字（命令行）界面？</title><link>https://magiclen.org/cn/linux-text/</link><description><![CDATA[<img src="https://magiclen.org/wp-content/uploads/2022/08/linux-text-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2022/08/linux-text-220x162.png 1x, https://magiclen.org/wp-content/uploads/2022/08/linux-text-440x324.png 2x, https://magiclen.org/wp-content/uploads/2022/08/linux-text-660x486.png 3x" alt>
Linux 操作系统拥有客制性极高的图形用户界面(Graphical User Interface, GUI)，以及功能强大的文字（命令行）界面(Command Line Interface, CLI)，一般 Linux 发行版会直接内置图形界面，用户安装完 Linux 操作系统后，开机即可直接进入图形界面。只是，在很多时候，我们可能不太希望使用到图形界面，像是使用性能较差的硬件时，不打开图形界面...]]></description><category>Linux</category><category>Bash</category><category>Linux</category><category>free (Unix)</category><guid>https://magiclen.org/cn/linux-text</guid><pubDate>Sat, 7 Feb 2015 22:09:38 +0800</pubDate><dc:creator>Magic Len</dc:creator></item></channel></rss>