translated

This commit is contained in:
geekpi 2023-08-18 08:48:36 +08:00
parent 5df954675c
commit 1fe0921849
2 changed files with 128 additions and 128 deletions

View File

@ -1,128 +0,0 @@
[#]: subject: "Getting Started With Linux Terminal"
[#]: via: "https://itsfoss.com/linux-terminal-basics/"
[#]: author: "Abhishek Prakash https://itsfoss.com/author/abhishek/"
[#]: collector: "lujun9972"
[#]: translator: "geekpi"
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
Getting Started With Linux Terminal
======
The Linux terminal could be intimidating. The dark screen with just commands to use. It's easy to feel lost.
The thing is that Linux command line is a vast topic. You can manage the entire system using just the commands. I mean that's the role of sysadmins, network engineers and many other jobs.
**The aim of this tutorial collection is not to make you job-ready. It intends to give you the starting point of your Linux command line journey.** It will give you enough to navigate the terminal and understand a few basic things like reading files and editing them.
Since it's just the beginning, most of the tutorials are in the 'file operation' category. That's where most Linux books and courses begin.
📋
The best way to learn is by doing it yourself. I have written the tutorials in 'hands-on mode' so you can follow the examples on your Linux system. Each chapter in the series contains some sample exercises to practice your learning. Follow, practice and you'll be getting better at Linux command line in no time.
### Chapter 0: Get familiar with the terminal and terminology
When you are absolutely new to the terminal, you'll find yourself lost even while reading the tutorials. That's because you may know always understand even the simplest of terms.
The article below will help you with some of that. While some of the tips I shared may be a little advance or not-so-useful for you at this moment, you'll find plenty of useful stuff.
![][1]
### Chapter 1: Changing directories
In the first chapter, learn to switch directories (folders) using absolute and relative paths. This way, you can navigate in the Linux command line.
![][1]
### Chapter 2: Making directories
Now that you know about switching directories, learn about creating new ones.
![][1]
### Chapter 3: List what's inside a directory
You are getting a good grasp of the directories. Learn to see inside directories and see what files and subdirectories do they have.
![][1]
### Chapter 4: Creating files
Enough about directories. Learn to create new files in the Linux command line.
![][1]
### Chapter 5: Reading files
What's inside the file? Learn to read text files in this chapter.
![][1]
### Chapter 6: Deleting files and directories
Now that you have learned to create new files and folders, it's time to delete them.
![][1]
### Chapter 7: Copying files and directories
Keep on with the file operations and learn to copy files and directories in this installment of the terminal basics series.
![][1]
### Chapter 8: Moving files and directories
Moving file operation is like cut-paste. You can use the same method for renaming files and directories as well.
![][1]
### Chapter 9: Editing files
As the last major file operation, learn to edit text files in the command line.
![][1]
### Chapter 10: Getting help
Now that you have learned plenty of the basic Linux command line operation, it's time to know how you can get help in the terminal itself.
![][1]
### Where to go from here?
Now that you are more comfortable with the terminal and know the basic file operations in the command line, you may wonder what comes next.
I will suggest getting a Linux book like How Linux Works. However, you can start with any Linux book you come across. Here are a [few Linux books I love][2].
![][1]
Don't want to spend money on books yet? No worries! Here are some [free Linux ebooks you can download][3].
![][1]
Bash scripting is also an integral part of Linux learning. Even if you don't have to write shell scripts, if you know the basics, you should be able to understand scripts you come across while using Linux.
![][1]
There is no limit to learning. It's impossible to know it all. Yet, if you know at least the basics, it helps you in using the system more effectively.
_🗨 I hope you like this Linux terminal tutorial series. Do share your feedback in the comments section._
--------------------------------------------------------------------------------
via: https://itsfoss.com/linux-terminal-basics/
作者:[Abhishek Prakash][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://itsfoss.com/author/abhishek/
[b]: https://github.com/lujun9972
[1]: https://itsfoss.com/content/images/size/w256h256/2022/12/android-chrome-192x192.png
[2]: https://itsfoss.com/best-linux-books/
[3]: https://itsfoss.com/learn-linux-for-free/

View File

@ -0,0 +1,128 @@
[#]: subject: "Getting Started With Linux Terminal"
[#]: via: "https://itsfoss.com/linux-terminal-basics/"
[#]: author: "Abhishek Prakash https://itsfoss.com/author/abhishek/"
[#]: collector: "lujun9972"
[#]: translator: "geekpi"
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
Linux 终端入门
======
Linux 终端可能令人生畏。黑屏只有可使用的命令。很容易感到失落。
问题是 Linux 命令行是一个很大的话题。你只需使用命令即可管理整个系统。我的意思是,这就是系统管理员、网络工程师和许多其他工作的角色。
**本教程集的目的不是让你做好工作准备。它旨在为你提供 Linux 命令行之旅的起点。** 它将为你提供足够的能力来使用终端并了解一些基本知识,例如读取文件和编辑文件。
由于这只是开始,所以大部分教程都属于“文件操作”类别。这是大多数 Linux 书籍和课程的起点。
📋
最好的学习方法就是自己动手。我以“实践模式”编写了这些教程,以便你可以在 Linux 系统上参照这些示例。本系列的每一章都包含一些示例练习来锻炼。跟着学、多练习,你很快就能熟练掌握 Linux 命令行。
### 第 0 章:熟悉终端和术语
当你对终端完全陌生时,即使在阅读教程时你也会发现自己迷失了方向。那是因为你可能知道即使是最简单的术语也总是能理解。
下面的文章将帮助你解决其中的一些问题。虽然我分享的一些技巧可能对你来说有点超前或不太有用,但你会发现很多有用的东西。
![][1]
### 第 1 章:更改目录
在第一章中,学习使用绝对路径和相对路径切换目录(文件夹)。这样,你就可以在 Linux 命令行中切换。
![][1]
### 第 2 章:创建目录
现在你已经了解了如何切换目录,接下来了解如何创建新目录。
![][1]
### 第 3 章:列出目录中的内容
你已经很好地掌握了目录。学习查看目录内部并查看它们有哪些文件和子目录。
![][1]
### 第 4 章:创建文件
关于目录已经足够了。了解在 Linux 命令行中创建新文件。
![][1]
### 第 5 章:读取文件
文件里面有什么? 在本章中学习阅读文本文件。
![][1]
### 第 6 章:删除文件和目录
现在你已经学会了创建新文件和文件夹,是时候删除它们了。
![][1]
### 第 7 章:复制文件和目录
在终端基础知识系列的本期中,继续进行文件操作并学习复制文件和目录。
![][1]
### 第 8 章:移动文件和目录
移动文件操作就像剪切粘贴一样。你也可以使用相同的方法重命名文件和目录。
![][1]
### 第 9 章:编辑文件
作为最后一个主要的文件操作,学习在命令行中编辑文本文件。
![][1]
### 第 10 章:获取帮助
现在你已经了解了大量基本的 Linux 命令行操作,是时候了解如何在终端本身中获取帮助了。
![][1]
### 从这往哪儿走?
现在你已经更熟悉终端并了解命令行中的基本文件操作,你可能想知道接下来要怎么做。
我建议你购买一本 Linux 书籍,例如 How Linux Works。不过你可以从你遇到的任何 Linux 书籍开始。这里有一些[我喜欢的几本 Linux 书籍][2]。
![][1]
还不想花钱买书吗? 不用担心! 这里有一些[你可以下载的免费 Linux 电子书][3]。
![][1]
Bash 脚本也是 Linux 学习中不可或缺的一部分。即使你不必编写 shell 脚本,如果你了解基础知识,你也应该能够理解使用 Linux 时遇到的脚本。
![][1]
学无止境。不可能面面俱到。但是,如果你至少了解基础知识,就能帮助你更有效地使用系统。
_🗨 希望你喜欢这个 Linux 终端教程系列。请在评论部分分享你的反馈。_
--------------------------------------------------------------------------------
via: https://itsfoss.com/linux-terminal-basics/
作者:[Abhishek Prakash][a]
选题:[lujun9972][b]
译者:[geekpi](https://github.com/geekpi)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://itsfoss.com/author/abhishek/
[b]: https://github.com/lujun9972
[1]: https://itsfoss.com/content/images/size/w256h256/2022/12/android-chrome-192x192.png
[2]: https://itsfoss.com/best-linux-books/
[3]: https://itsfoss.com/learn-linux-for-free/