mirror of
https://github.com/LCTT/TranslateProject.git
synced 2024-12-26 21:30:55 +08:00
Translating (#5)
* Update 20220611 Don-t Be Afraid of Linux Terminal. Embrace it..md * Update 20220611 Don-t Be Afraid of Linux Terminal. Embrace it..md * Update 20220611 Don-t Be Afraid of Linux Terminal. Embrace it..md * Update 20220611 Don-t Be Afraid of Linux Terminal. Embrace it..md * Update 20220611 Don-t Be Afraid of Linux Terminal. Embrace it..md * Update 20220611 Don-t Be Afraid of Linux Terminal. Embrace it..md * Update 20220611 Don-t Be Afraid of Linux Terminal. Embrace it..md * Update 20220611 Don-t Be Afraid of Linux Terminal. Embrace it..md * Update 20220611 Don-t Be Afraid of Linux Terminal. Embrace it..md * Update 20220611 Don-t Be Afraid of Linux Terminal. Embrace it..md * Update 20220611 Don-t Be Afraid of Linux Terminal. Embrace it..md * Rename sources/tech/20220611 Don-t Be Afraid of Linux Terminal. Embrace it..md to translated/tech/20220611 Don-t Be Afraid of Linux Terminal. Embrace it..md
This commit is contained in:
parent
78a1329cb6
commit
d997827fda
@ -1,144 +0,0 @@
|
||||
[#]: subject: "Don’t Be Afraid of Linux Terminal. Embrace it."
|
||||
[#]: via: "https://itsfoss.com/love-thy-terminal/"
|
||||
[#]: author: "Ankush Das https://itsfoss.com/author/ankush/"
|
||||
[#]: collector: "lkxed"
|
||||
[#]: translator: "duoluoxiaosheng"
|
||||
[#]: reviewer: " "
|
||||
[#]: publisher: " "
|
||||
[#]: url: " "
|
||||
|
||||
Don’t Be Afraid of Linux Terminal. Embrace it.
|
||||
======
|
||||
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][1]
|
||||
|
||||
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][2].
|
||||
|
||||
Thanks to the terminal.
|
||||
|
||||
### 2. Troubleshooting Problems
|
||||
|
||||
![troubleshoting illustration][3]
|
||||
|
||||
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 quite easily. You will have to be careful here, because
|
||||
|
||||
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][4] on our portal, some examples include:
|
||||
|
||||
* [Checking network adapter manufacturer][5]
|
||||
* [Fixing long shutdown time][6]
|
||||
* [Fix no Wi-Fi with broadcom adapters][7]
|
||||
|
||||
### 3. Easily Work With a Remote Server
|
||||
|
||||
![remote server illustration][8]
|
||||
|
||||
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][9], 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][10]
|
||||
|
||||
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, they are often built for servers in mind. So, the tools do not receive frequent experience breaking updates and do not quickly fail to work.
|
||||
|
||||
### 7. More Tools for CLI
|
||||
|
||||
We do not have a GUI program for everything on Linux. However, there are several [CLI tools][11] 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][12]
|
||||
|
||||
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][13] 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 in a hassle-free manner.
|
||||
|
||||
Abhishek has written an [excellent guide on various small things that make you get more comfortable with the Linux terminal][14].
|
||||
|
||||
*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.*
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: https://itsfoss.com/love-thy-terminal/
|
||||
|
||||
作者:[Ankush Das][a]
|
||||
选题:[lkxed][b]
|
||||
译者:[译者ID](https://github.com/译者ID)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
|
||||
|
||||
[a]: https://itsfoss.com/author/ankush/
|
||||
[b]: https://github.com/lkxed
|
||||
[1]: https://itsfoss.com/wp-content/uploads/2022/06/quick-info-terminal.png
|
||||
[2]: https://itsfoss.com/linux-man-page-guide/
|
||||
[3]: https://itsfoss.com/wp-content/uploads/2022/06/troubleshoting-illustration.jpg
|
||||
[4]: https://itsfoss.com/tag/troubleshoot/
|
||||
[5]: https://itsfoss.com/find-network-adapter-ubuntu-linux/
|
||||
[6]: https://itsfoss.com/long-shutdown-linux/
|
||||
[7]: https://itsfoss.com/fix-no-wireless-network-ubuntu/
|
||||
[8]: https://itsfoss.com/wp-content/uploads/2022/06/remote-server-illustration.jpg
|
||||
[9]: https://itsfoss.com/best-linux-distributions/
|
||||
[10]: https://itsfoss.com/wp-content/uploads/2022/06/fast-illustration.jpg
|
||||
[11]: https://itsfoss.com/tag/cli-tools/
|
||||
[12]: https://itsfoss.com/wp-content/uploads/2022/06/variety-illustration.jpg
|
||||
[13]: https://itsfoss.com/linux-terminal-emulators/
|
||||
[14]: https://itsfoss.com/basic-terminal-tips-ubuntu/
|
@ -0,0 +1,143 @@
|
||||
[#]: subject: "Don’t Be Afraid of Linux Terminal. Embrace it."
|
||||
[#]: via: "https://itsfoss.com/love-thy-terminal/"
|
||||
[#]: author: "Ankush Das https://itsfoss.com/author/ankush/"
|
||||
[#]: collector: "lkxed"
|
||||
[#]: translator: "duoluoxiaosheng"
|
||||
[#]: reviewer: " "
|
||||
[#]: publisher: " "
|
||||
[#]: url: " "
|
||||
|
||||
拥抱它,它不可怕,Linux 终端。
|
||||
======
|
||||
|
||||
至少,对于熟悉图形界面的新用户来说,我们大多时候都在避免使用 Linux 终端。
|
||||
|
||||
尽管让事情变得简单和方便是好事,但还是有许多理由说明我们不应该害怕尝试 Linux 终端。
|
||||
|
||||
在这里,我将重点介绍其中的几个,以鼓励你在终端中尝试一些最终会对你有所帮助的东西。
|
||||
|
||||
### 1. 快速熟悉命令
|
||||
|
||||
![quick info terminal][1]
|
||||
|
||||
有时,你需要使用某个命令在终端中执行一些操作。当然,你可以在不知道他到底有什么用情况下复制粘贴。
|
||||
|
||||
但是,如果你想知道这条命令更多的信息,该怎么办呢?
|
||||
|
||||
你只需要输入下面的命令就可以了,
|
||||
|
||||
```
|
||||
man <command you intend to learn>
|
||||
```
|
||||
|
||||
例如:man apt
|
||||
|
||||
他会直接在屏幕上给出所有重要的细节,不需要网络连接,不需要在网上搜索他是如何工作的。你节约了时间,增长了知识。
|
||||
|
||||
而且,这使事情变得简单,使你在使用终端的时候更有信心。
|
||||
|
||||
这通常被称为 “man page”。 你可以阅读我们的课程[Learn about man on Linux][2]。
|
||||
|
||||
Linux 终端万岁。
|
||||
|
||||
### 2. 解决问题
|
||||
|
||||
![troubleshoting illustration][3]
|
||||
|
||||
当你在因特网上搜索一个问题的解决方法时,通常,解决方案中会包含几个命令。
|
||||
|
||||
因此,终端的最佳用例之一,是很容易的解决了几个系统问题。在这里你要小心,虽然图形界面可以调整一些东西,但是大部分简单的修复都是通过终端完成的。
|
||||
|
||||
我们在网站上提供了几个[故障诊断指南][4],例如:
|
||||
|
||||
* [检查网卡制造商][5]
|
||||
* [修复关机时间过长][6]
|
||||
* [修复 Broadcom 网卡没有WiFi信号的问题][7]
|
||||
|
||||
### 3. 使用远程服务器愉快工作
|
||||
|
||||
![remote server illustration][8]
|
||||
|
||||
最终,你会通过命令行(或终端)访问一个远程服务器并执行各种操作,包括文件传输。
|
||||
|
||||
与使用图形界面访问远程服务器相比,使用 Linux 终端可以让你用最小的带宽,快速的执行任何你想要的操作。
|
||||
|
||||
当然,你也可以通过终端在远程服务器上开启图形界面程序。尽管速度十分缓慢,终端还是可以让你轻松的与远程服务器进行交互。
|
||||
|
||||
### 4. 高效利用资源
|
||||
|
||||
不管你使用哪一款[Linux 发行版][9],Linux 终端永远是高效且消耗内存最小的。
|
||||
|
||||
如果你资源不足或硬件驱动和图形界面程序有冲突,那么 Linux 终端永远值得你的信赖。
|
||||
|
||||
这将帮你在不占用太多系统资源的情况下完成关键任务。
|
||||
|
||||
### 5. 快速
|
||||
|
||||
![fast illustration][10]
|
||||
|
||||
你知道吗?不仅局限于内存使用,使用终端你可以比使用图形界面更快的完成任务。
|
||||
|
||||
你可以尝试安装应用,运行程序,执行复杂的文件操作等等。
|
||||
|
||||
### 6. 稳定可靠的命令行程序
|
||||
|
||||
相比于图形界面程序,命令行程序更加稳定和可靠,为什么呢?
|
||||
|
||||
在终端中,使程序崩溃的因素很少。
|
||||
|
||||
由于终端工具大部分是为服务器构建的,很多时候不够直观。也正是由于这个原因,这些工具不会频繁的更新,也不会很快的失效。
|
||||
|
||||
### 7. 更多的命令行工具
|
||||
|
||||
没有一个图形界面程序能解决所有问题。但是,对执行各种操作,一个有趣且关键的任务来说你有多个[命令行工具][11]可供选择。
|
||||
|
||||
你需要完成一些工作,来吧,总有一款命令行工具适合你。
|
||||
|
||||
### 8. 尝试各种终端模拟器
|
||||
|
||||
![variety illustration][12]
|
||||
|
||||
尽管使用 Linux 发行版默认安装的终端模拟器对你来说没有任何困难,你仍然有更多的选择。
|
||||
|
||||
如果你有特殊的外观和性能需求,或者为某些用途特殊定制,你可以看看这些[最佳的终端模拟器][13].
|
||||
|
||||
如果你觉得使用终端是一件枯燥的事情,你必须试试这些终端模拟器。
|
||||
|
||||
### 结束语
|
||||
|
||||
就我个人来说,当我刚开始接触 Linux 时,我也对终端心存畏惧。但是当我可以熟练的使用它处理一些简单任务的时候,我才开始意识到上面所说的终端的优点。
|
||||
|
||||
你没必要放弃图形界面而使用终端处理所有的事情。尽管如此,最好还是使用终端处理一些事情,这可以节省你的时间,让你更快的完成工作,并心情愉悦。
|
||||
|
||||
Abhishek 曾经写过一篇[最佳指南,熟悉 Linux 终端的一些小事][14]
|
||||
|
||||
*你觉得,相比于图形界面,终端有哪些优点呢?是什么原因让你选择终端呢?快来告诉我们吧。*
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: https://itsfoss.com/love-thy-terminal/
|
||||
|
||||
作者:[Ankush Das][a]
|
||||
选题:[lkxed][b]
|
||||
译者:[duoluoxiaosheng](https://github.com/duoluoxiaosheng)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
|
||||
|
||||
[a]: https://itsfoss.com/author/ankush/
|
||||
[b]: https://github.com/lkxed
|
||||
[1]: https://itsfoss.com/wp-content/uploads/2022/06/quick-info-terminal.png
|
||||
[2]: https://itsfoss.com/linux-man-page-guide/
|
||||
[3]: https://itsfoss.com/wp-content/uploads/2022/06/troubleshoting-illustration.jpg
|
||||
[4]: https://itsfoss.com/tag/troubleshoot/
|
||||
[5]: https://itsfoss.com/find-network-adapter-ubuntu-linux/
|
||||
[6]: https://itsfoss.com/long-shutdown-linux/
|
||||
[7]: https://itsfoss.com/fix-no-wireless-network-ubuntu/
|
||||
[8]: https://itsfoss.com/wp-content/uploads/2022/06/remote-server-illustration.jpg
|
||||
[9]: https://itsfoss.com/best-linux-distributions/
|
||||
[10]: https://itsfoss.com/wp-content/uploads/2022/06/fast-illustration.jpg
|
||||
[11]: https://itsfoss.com/tag/cli-tools/
|
||||
[12]: https://itsfoss.com/wp-content/uploads/2022/06/variety-illustration.jpg
|
||||
[13]: https://itsfoss.com/linux-terminal-emulators/
|
||||
[14]: https://itsfoss.com/basic-terminal-tips-ubuntu/
|
Loading…
Reference in New Issue
Block a user