Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Commit

Permalink
Merge pull request #12701 from qhwdw/tr0310
Browse files Browse the repository at this point in the history
Translated by qhwdw
  • Loading branch information
wxy committed Mar 10, 2019
2 parents 29a846c + 94e40aa commit e63ab7d
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 53 deletions.
53 changes: 0 additions & 53 deletions sources/tech/20190304 Learn Linux with the Raspberry Pi.md

This file was deleted.

53 changes: 53 additions & 0 deletions translated/tech/20190304 Learn Linux with the Raspberry Pi.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
[#]: collector: (lujun9972)
[#]: translator: (qhwdw)
[#]: reviewer: ( )
[#]: publisher: ( )
[#]: url: ( )
[#]: subject: (Learn Linux with the Raspberry Pi)
[#]: via: (https://opensource.com/article/19/3/learn-linux-raspberry-pi)
[#]: author: (Andersn Silva https://opensource.com/users/ansilva)

用树莓派学 Linux
======
我们的《树莓派使用入门》的第四篇文章将进入到 Linux 命令行。
![](https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/command_line_prompt.png?itok=wbGiJ_yg)

在本系列的 [第三篇文章][1] 中开始了我们的树莓派探索之旅,我分享了如何安装 `Raspbian`,它是树莓派的官方 Linux 版本。现在,你已经安装好了 `Raspbian` 并用它引导你的新树莓派,你已经具备学习 Linux 相关知识的条件了。

在这样简短的文章中去解决像“如何使用 Linux” 这样的宏大主题显然是不切实际的,因此,我只是给你提供一些如何使用树莓派来学习更多的 Linux 知识的一些创意而已。

我们花一些时间从命令行(又称“终端”)开始。自上世纪九十年代中期以来,Linux 的 [窗口管理器][2] 和图形界面已经得到长足的发展。如今,你可以在 Linux 上通过鼠标点击来做一些事情了,就如同其它的操作系统一样容易。在我看来,只是“使用 Linux”和成为“一个 Linux 用户”是有区别的,后者至少能够在终端中“遨游“。

![](https://opensource.com/sites/default/files/uploads/man-terminal.png)

如果你想成为一个 Linux 用户,从终端中尝试以下的命令行开始:

* 使用像 **ls****cd**、和 **pwd** 这样的命令导航到你的 Home 目录。
* 使用 **mkdir****rm****mv**、和 **cp** 命令创建、删除、和重命名目录。
* 使用命令行编辑器(如 Vi、Vim、Emacs 或 Nano)去创建一个文本文件。
* 尝试一些其它命令,比如 **chmod****chown****w****cat****more****less****tail****free****df****ps****uname**、和 **kill**
* 尝试一下 **/bin****/usr/bin** 目录中的其它命令。



学习命令行的最佳方式还是阅读它的 “man 手册”(简称手册);在命令行中输入 **man <command>** 就可以像上面那样打开它。并且在互联网上搜索 Linux 命令速查表可以让你更清楚地了解命令的用法 — 你应该会找到一大堆能帮你学习的资料。

Raspbian 就像主流的 Linux 发行版一样有非常多的命令,假以时日,你最终将比其他人会用更多的命令。我使用 Linux 命令行已经超过二十年了,即便这样仍然有些一些命令我从来没有使用过,即便是那些我使用的过程中一直就存在的命令。

最后,你可以使用图形环境去更快地工作,但是只有深入到 Linux 命令行,你才能够获得操作系统真正的强大功能和知识。

--------------------------------------------------------------------------------

via: https://opensource.com/article/19/3/learn-linux-raspberry-pi

作者:[Andersn Silva][a]
选题:[lujun9972][b]
译者:[qhwdw](https://github.com/qhwdw)
校对:[校对者ID](https://github.com/校对者ID)

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

[a]: https://opensource.com/users/ansilva
[b]: https://github.com/lujun9972
[1]: https://opensource.com/article/19/2/how-boot-new-raspberry-pi
[2]: https://opensource.com/article/18/8/window-manager

0 comments on commit e63ab7d

Please sign in to comment.