(info) Linux Rookie mistakes
1 message · started by Devi Garcia on Apr 09, 2019
(info) Linux Rookie mistakes
From Devi Garcia · Apr 09, 2019
"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 777because 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