开源日报 每天推荐一个 GitHub 优质开源项目和一篇精选英文科技或编程文章原文,坚持阅读《开源日报》,保持每日学习的好习惯。
今日推荐开源项目:《命令速查 linux-command》
今日推荐英文原文:《5 Linux rookie mistakes》
开源日报第396期:《命令速查 linux-command》
今日推荐开源项目:《命令速查 linux-command》传送门:GitHub链接
推荐理由:一个用于快速查找 Linux 命令行命令的项目。当然了这不仅仅是忘记命令时用来提示的工具,对于每一个命令它都给出了语法,说明,选项和一些实例,就算是用于在刚开始使用 Linux 时熟悉命令的教程也可以。毕竟 Linux 上可是有 540 多个命令,除了常用的基本命令之外,把它们一一记全实在是不太容易。
今日推荐英文原文:《5 Linux rookie mistakes》作者:Jen Wike Huger
原文链接:https://opensource.com/article/19/4/linux-rookie-mistakes
推荐理由:一些 Linux 新手可能会犯下的错误

5 Linux rookie mistakes

It’s smart to learn new skills throughout your life—it keeps your mind nimble and makes you more competitive in the job market. But some skills are harder to learn than others, especially those where small rookie mistakes can cost you a lot of time and trouble when you’re trying to fix them.

Take learning Linux, for example. If you’re used to working in a Windows or MacOS graphical interface, moving to Linux, with its unfamiliar commands typed into a terminal, can have a big learning curve. But the rewards are worth it, as the millions and millions of people who have gone before you have proven.

That said, the journey won’t be without pitfalls. We asked some of Linux enthusiasts to think back to when they first started using Linux and tell us about the biggest mistakes they made.

“Don’t go into [any sort of command line interface (CLI) work] with an expectation that commands work in rational or consistent ways, as that is likely to lead to frustration. This is not due to poor design choices—though it can feel like it when you’re banging your head against the proverbial desk—but instead reflects the fact that these systems have evolved and been added onto through generations of software and OS evolution. Go with the flow, write down or memorize the commands you need, and (try not to) get frustrated when things aren’t what you’d expect.” —Gina Likins

“As easy as it might be to just copy and paste commands to make the thing go, read the command first and at least have a general understanding of the actions that are about to be performed. Especially if there is a pipe command. Double especially if there is more than one. There are a lot of destructive commands that look innocuous until you realize what they can do (e.g., rm, dd), and you don’t want to accidentally destroy things. (Ask me how I know.)” —Katie McLaughlin

“Early on in my Linux journey, I wasn’t as aware of the importance of knowing where you are in the filesystem. I was deleting some file in what I thought was my home directory, and I entered sudo rm -rf * and deleted all of the boot files on my system. Now, I frequently use pwd to ensure that I am where I think I am before issuing such commands. Fortunately for me, I was able to boot my wounded laptop with a USB drive and recover my files.” —Don Watkins

“Do not reset permissions on the entire file system to 777 because you think ‘permissions are hard to understand’ and you want an application to have access to something.” —Matthew Helmke

“I was removing a package from my system, and I did not check what other packages it was dependent upon. I just let it remove whatever it wanted and ended up causing some of my important programs to crash and become unavailable.” —Kedar Vijay Kulkarni
下载开源日报APP:https://openingsource.org/2579/
加入我们:https://openingsource.org/about/join/
关注我们:https://openingsource.org/about/love/