Linux 终端，它不可怕，拥抱它
终端 Linux
![](/data/attachment/album/202206/17/144213pjobjojcnwbnd4rn.jpg)


至少，对于熟悉图形界面的新用户来说，我们大多时候都在避免使用 Linux 终端。


尽管让事情变得简单和方便是好事，但还是有许多理由说明我们不应该害怕尝试 Linux 终端。


在这里，我将重点介绍其中的几个，以鼓励你在终端中尝试一些最终会对你有所帮助的东西。


### 1、快速熟悉命令


![quick info terminal](/data/attachment/album/202206/17/144218i2l7w4q4d0wx4u2k.png)


有时，你需要使用某个命令在终端中执行一些操作。当然，你可以在不知道它到底有什么用情况下复制粘贴。


但是，如果你想知道这条命令更多的信息，该怎么办呢？


你只需要输入下面的命令就可以了，



```
man <command you intend to learn>

```

例如：`man apt`。


它会直接在屏幕上给出所有重要的细节，不需要网络连接，不需要在网上搜索它是如何工作的。你节约了时间，增长了知识。


而且，这使事情变得简单，使你在使用终端的时候更有信心。


这通常被称为 “<ruby> 手册页 <rt>  man page </rt></ruby>”。 你可以阅读我们的课程《[了解 Linux 上的手册页](https://itsfoss.com/linux-man-page-guide/)》。


Linux 终端万岁。


### 2、解决问题


![troubleshoting illustration](/data/attachment/album/202206/17/144218ebgbrbn6cwn7xfbc.jpg)


当你在互联网上搜索一个问题的解决方法时，通常，解决方案中会包含几个命令。


因此，终端的最佳用例之一，是可以毫不费力地解决几个系统问题。同时，你需要小心，因为如果你不知道你在做什么，你可能最终会破坏你的系统。


虽然图形界面可以调整一些东西，但是大部分简单的修复方法都是通过终端完成的。


我们在网站上提供了几个 [故障诊断指南](https://itsfoss.com/tag/troubleshoot/)，例如：


* [检查网卡制造商](https://itsfoss.com/find-network-adapter-ubuntu-linux/)
* [修复关机时间过长](https://itsfoss.com/long-shutdown-linux/)
* [修复博通网卡没有 WiFi 信号的问题](https://itsfoss.com/fix-no-wireless-network-ubuntu/)


### 3、使用远程服务器愉快工作


![remote server illustration](/data/attachment/album/202206/17/144218b2gnglbllgmv2lng.jpg)


最终，你会通过命令行（或终端）访问一个远程服务器并执行各种操作，包括文件传输。


与使用图形界面访问远程服务器相比，使用 Linux 终端可以让你用最小的带宽，快速的执行任何你想要的操作。


当然，你也可以通过终端在远程服务器上开启图形界面程序。尽管速度十分缓慢，终端还是可以让你轻松的与远程服务器进行交互。


### 4、高效利用资源


不管你使用哪一款 [Linux 发行版](https://itsfoss.com/best-linux-distributions/)，Linux 终端永远是高效且消耗内存最小的。


如果你资源不足或硬件驱动和图形界面程序有冲突，那么 Linux 终端永远值得你的信赖。


这将帮你在不占用太多系统资源的情况下完成关键任务。


### 5、快速


![fast illustration](/data/attachment/album/202206/17/144218e9xvx7b9xwndff7z.jpg)


你知道吗？不仅局限于内存使用，使用终端你可以比使用图形界面更快的完成任务。


你可以尝试安装应用、运行程序、执行复杂的文件操作等等。


### 6、稳定可靠的命令行程序


相比于图形界面程序，命令行程序更加稳定和可靠，为什么呢？


在终端中，使程序崩溃的因素很少。


由于终端工具大部分是为服务器构建的，很多时候不够直观。也正是由于这个原因，命令行工具通常不会得到不必要的频繁更新，使它们成为比图形界面程序更可靠的选择。


### 7、更多的命令行工具


没有一个图形界面程序能解决所有问题。但是，对执行各种操作，然而，有几个 [命令行工具](https://itsfoss.com/tag/cli-tools/) 可以执行各种操作，一些有趣和关键的任务也是如此。


你需要完成一些工作，来吧，总有一款命令行工具适合你。


### 8、尝试各种终端模拟器


![variety illustration](/data/attachment/album/202206/17/144219tgr9gb341knnetv1.jpg)


尽管使用 Linux 发行版默认安装的终端模拟器对你来说没有任何困难，你仍然有更多的选择。


如果你有特殊的外观和性能需求，或者为某些用途特殊定制，你可以看看这些 [最佳的终端模拟器](https://itsfoss.com/linux-terminal-emulators/)。


如果你觉得使用终端是一件枯燥的事情，你一定要试试这些终端模拟器。


### 结束语


就我个人来说，当我刚开始接触 Linux 时，我也对终端心存畏惧。但是当我可以熟练的使用它处理一些简单任务的时候，我才开始意识到上面所说的终端的优点。


你没必要放弃图形界面而使用终端处理所有的事情。尽管如此，最好还是使用终端处理一些事情，这可以节省你的时间，让你更快的完成工作，并心情愉悦。


Abhishek 曾经写过一篇很棒的涉及各种小事的 [指南](https://itsfoss.com/basic-terminal-tips-ubuntu/)，可以让你熟悉 Linux 终端。


*你觉得，相比于图形界面，终端有哪些优点呢？是什么原因让你选择终端呢？快来告诉我们吧。*




---


via: <https://itsfoss.com/love-thy-terminal/>


作者：[Ankush Das](https://itsfoss.com/author/ankush/) 选题：[lkxed](https://github.com/lkxed) 译者：[duoluoxiaosheng](https://github.com/duoluoxiaosheng) 校对：[wxy](https://github.com/wxy)


本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译，[Linux中国](https://linux.cn/) 荣誉推出


OK
![Warp Terminal](/assets/images/warp-terminal.webp)


![Warp Terminal](/assets/images/warp-terminal.webp)

Most of our focus goes into avoiding the Linux terminal, at least, for new users comfortable with Graphical User Interfaces (GUIs).

While it is good to make things easy and convenient, there are a few reasons why you should not be afraid of dipping your toes into the Linux terminal.

Here, I shall highlight some of them to encourage you to try a few things in the terminal that should help you eventually.

## 1. Quick Access to Information on Commands

![quick info terminal](https://itsfoss.com/content/images/wordpress/2022/06/quick-info-terminal.png)

At times, you may need to use a command in the terminal to perform something. Sure, you can just copy-paste without knowing what it actually does.

But, what if you are interested to know a bit more about the command?

Well, you just need to type in:

`man <command you intend to learn>`


For instance: man apt

It will give you all the essential details right on the same screen, without needing an internet connection or scouring the web to find out what it does. You save time, you get to know stuff.

And, that makes things convenient, giving you more confidence in using the terminal.

These are often referred to as “man pages”. You can read one of our resources to[ learn about man pages on Linux](https://itsfoss.com/linux-man-page-guide/).

Thanks to the terminal.

## 2. Troubleshooting Problems

![troubleshoting illustration](https://itsfoss.com/content/images/wordpress/2022/06/troubleshoting-illustration.jpg)

When you search for a fix on the internet, most of the solutions provide you with commands to get it fixed.

Hence, one of the best use-cases of the terminal is to resolve several system issues effortlessly. At the same time, you need to be careful because you could end up breaking your system if you do not know what you are doing.

While there are things that you can tweak around with GUI programs, the majority of the easy fixes go through the terminal.

Considering we have several [troubleshooting guides](https://itsfoss.com/tag/troubleshoot/) on our portal, some examples include:

## 3. Easily Work With a Remote Server

![remote server illustration](https://itsfoss.com/content/images/wordpress/2022/06/remote-server-illustration.jpg)

You will end up accessing the command line (or the terminal) to access a remote server and perform various operations, including file transfers.

Compared to a GUI method for a remote server, you minimize bandwidth issues and ensure that you get to perform anything you need faster using the Linux terminal.

There are also options to open a GUI program on the remote server via the terminal. Even if it is slow, the terminal gives you plenty of abilities to interact comfortably with a remote server.

## 4. Resource Efficient

It does not matter whether you use one of the [best Linux distributions](https://itsfoss.com/best-linux-distributions/), a Linux terminal is always resource-efficient and consumes the least amount of memory.

If you are low on resources or may have a graphics driver conflict with a GUI program, you can always rely on the Linux terminal.

This should help you through critical tasks without taking much system resources.

## 5. Fast

![fast illustration](https://itsfoss.com/content/images/wordpress/2022/06/fast-illustration.jpg)

Not just limited to the memory usage, but you can get things done faster with a terminal over a GUI, you know?

Some tasks you can try include installing an application, launching a program, performing complex file operations, and more.

## 6. Stable and Reliable Command-line Programs

Compared to GUI programs, terminal programs are stable and more reliable. Why?

Fewer factors influence the program with crashes/bugs when it comes to a terminal.

While the terminal tools could be unintuitive, some of them are built for servers in mind. Servers or desktop, command-line tools usually do not get unnecessary frequent updates, making them a reliable choice over GUI programs.

## 7. More Tools for CLI

We do not have a GUI program for everything on Linux. However, there are several [CLI tools](https://itsfoss.com/tag/cli-tools/) to perform a wide range of operations, some fun and critical tasks as well.

You need to get something done; chances are, you will find a command-line tool for it.

## 8. Various Terminal Emulators to Try

![variety illustration](https://itsfoss.com/content/images/wordpress/2022/06/variety-illustration.jpg)

While you should not have any trouble with the default terminal emulator installed on your Linux distribution, you have plenty of other options.

If you prefer a different look, more advanced features, or tailored for a specific use, you can look at some of the [best terminal emulators](https://itsfoss.com/linux-terminal-emulators/) available.

If you thought using the terminal was boring, you must try some of them.

## Wrapping Up

Personally, I feared the terminal when I was a new Linux user. But, as I got comfortable with it for small tasks, I got to realize the perks mentioned above.

You do not need to use the terminal over GUI for everything. Nevertheless, it is good to prefer the terminal for a few things because you might save your time and get things done faster and hassle-free.

Abhishek has written an [excellent guide on various small things that make you get more comfortable with the Linux terminal](https://itsfoss.com/basic-terminal-tips-ubuntu/).

[19 Basic But Essential Linux Terminal Tips You Must KnowLearn some small, basic but often ignored things about the terminal. With the small tips, you should be able to use the terminal with slightly more efficiency.](https://itsfoss.com/basic-terminal-tips-ubuntu/)![](https://itsfoss.com/content/images/wordpress/2021/12/ubuntu-terminal-basic-tips.png)


![](https://itsfoss.com/content/images/wordpress/2021/12/ubuntu-terminal-basic-tips.png)

Knowing the basic Linux commands also makes you more comfortable with the terminal.

[31 Linux Commands Every Ubuntu User Should KnowAn extensive list of essential Linux commands that every Ubuntu user will find helpful in their Linux journey.](https://itsfoss.com/essential-ubuntu-commands/)![](https://itsfoss.com/content/images/wordpress/2022/11/must-know-linux-commands-for-ubuntu-user.png)


![](https://itsfoss.com/content/images/wordpress/2022/11/must-know-linux-commands-for-ubuntu-user.png)

*What do you think are the benefits of a terminal over a GUI? What are your reasons to prefer the terminal? Let me know your thoughts in the comments section below.*