选题: 20190304 Learn Linux with the Raspberry Pi

sources/tech/20190304 Learn Linux with the Raspberry Pi.md
This commit is contained in:
darksun 2019-03-06 12:57:43 +08:00
parent 8c5e6db11d
commit 1ded72a0b5

View File

@ -0,0 +1,53 @@
[#]: collector: (lujun9972)
[#]: translator: ( )
[#]: 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)
Learn Linux with the Raspberry Pi
======
The fourth article in our guide to getting started with the Raspberry Pi dives into the Linux command line.
![](https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/command_line_prompt.png?itok=wbGiJ_yg)
In the [third article][1] in this series on getting started with Raspberry Pi, I shared info on installing Raspbian, the official version of Linux for Raspberry Pi. Now that you've installed Raspbian and booted up your new Pi, you're ready to start learning about Linux.
It's impossible to tackle a topic as big as "how to use Linux" in a short article like this, so instead I'll give you some ideas about how you can use the Raspberry Pi to learn more about Linux in general.
Start by spending time on the command line (aka the "terminal"). Linux [window managers][2] and graphical interfaces have come a long way since the mid-'90s. Nowadays you can use Linux by pointing-and-clicking on things, just as easily as you can in other operating systems. In my opinion, there is a difference between just "using Linux" and being "a Linux user," and the latter means at a minimum being able to navigate in the terminal.
![](https://opensource.com/sites/default/files/uploads/man-terminal.png)
If you want to become a Linux user, start by trying out the following on the command line:
* Navigate your home directory with commands like **ls** , **cd** , and **pwd**.
* Create, delete, and rename directories using the **mkdir** , **rm** , **mv** , and **cp** commands.
* Create a text file with a command line editor such as Vi, Vim, Emacs, or Nano.
* Try out some other useful commands, such as **chmod** , **chown** , **w** , **cat** , **more** , **less** , **tail** , **free** , **df** , **ps** , **uname** , and **kill**
* Look around **/bin** and **/usr/bin** for other commands.
The best way to get help with a command is by reading its "man page" (short for manual); type **man <command>** on the command line to pull it up. And make sure to search the internet for Linux command cheat sheets—you should find a lot of options that will help you learn.
Raspbian, like most Linux distributions, has many commands and over time you will end up using some commands a lot more than others. I've been using Linux on the command line for over two decades, and there are still some commands that I've never used, even ones that have been around as long as I've been using Linux.
At the end of the day, you can use your graphical interface environment to get work done faster, but make sure to dive into the Linux command line, for that's where you will get the true power and knowledge of the operating system.
--------------------------------------------------------------------------------
via: https://opensource.com/article/19/3/learn-linux-raspberry-pi
作者:[Andersn Silva][a]
选题:[lujun9972][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者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