{"id":358,"date":"2008-04-17T08:53:21","date_gmt":"2008-04-17T15:53:21","guid":{"rendered":"http:\/\/www.bspcn.com\/2008\/04\/17\/the-7-habits-of-highly-effective-linux-users\/"},"modified":"2011-03-24T13:03:03","modified_gmt":"2011-03-24T20:03:03","slug":"the-7-habits-of-highly-effective-linux-users","status":"publish","type":"post","link":"http:\/\/localhost\/wordpress\/2008\/04\/17\/the-7-habits-of-highly-effective-linux-users\/","title":{"rendered":"The 7 Habits of Highly Effective Linux Users"},"content":{"rendered":"
Written by Rami Taibah<\/a><\/p>\n Switching to Linux can be very daunting, most seasoned Linux users experienced that first hand. After all, at some point they were also “noobs”. However, the Linux community has excelled in making the switch for beginners as easy as possible by providing guides, howtos, tweaks, and general advocacy articles. When I first made the switch 3 years ago, I found the community welcoming me with open hands on forums, IRC channels, and E-mail, I was surprised how helpful these penguins were!<\/p>\n For this, I feel obliged to give back to the community that has always been there for me. To pass down the torch to newer Linux generations. Over here I compiled a list of 7 habits that I wish someone told me when I started out. I believe that getting into these habits will make the Linux experience more secure, convenient, educational, and ultimately more enjoyable.<\/p>\n If there was one habit that one should strictly abide by, it’s probably this one. Most of us come from a Windows background, and we have the notion that more power is better, so we login using our administrator accounts. Well let me tell you my friend, that this is a major reason that Windows is plagued with viruses and insecurities, half the world is currently running ‘root’<\/em><\/span> accounts!With great power comes great responsibility, and with ‘root’<\/em><\/span> powers you should be aware of the consequences of EVERYTHING you’re doing, and even then, mistakes happen<\/a>. I remember my beginnings with SUSE Linux, there were lot of administrative tasks I needed to do but had no idea how to go about them without the GUI, so I so innocently log out and login onto the ‘root<\/em><\/span>‘ GUI. The default wallpaper of the ‘root<\/em>‘ GUI on SUSE were lit fuse bombs tiled beside each other. Back then, the symbolism totally flew over my head, coming from a Windows background, I wasn’t really doing anything wrong.<\/p>\n But what are the dangers of logging in as root?<\/p>\n Generally, instead of logging onto your root GUI, use any of the following techniques:<\/p>\n In a Linux environment, you can name your files whatever you want except for, 1) the forward slash “\/” which is reserved for the root directory, and 2) a null character. Anything else is technically acceptable, however there are some best practices that you should abide by in order to avoid any future complications:<\/p>\n I personally have grown into this habit, I find myself following these guidelines even in a Windows or Mac environment.<\/p>\n <\/p>\n Doing this gives you extreme flexibility, a kind that you never imagined before. Having \/home in a separate partition enables you to reinstall your system or even change your whole distro without losing your data and personal settings. Just keep the “\/home”<\/em> partition intact and reinstall whatever you want on your “\/”<\/em>. Now you can try out distros as much as you want, without worrying about your data and personal settings, they go with you on the go ;).<\/p>\n If you weren’t lucky enough to know this before installing your system, then do not despair! Carthik<\/a> from Ubuntu Blog<\/a> takes you in a step-by-step guide titled “Move \/home to it’s own partition<\/a>”<\/p>\n Linux is very robust and stable, however every system can come down to it’s knees every once in a while. Before you head to CTRL-ALT-DEL, the restart button, or the plug, you should know how to properly handle any crash. As opposed to another un-named operating system, you should be able to easily recover your system without actually restarting! I personally go through different levels, if one doesn’t work I elevate it to next step:<\/p>\n <\/p>\n <\/p>\n You were probably recruited to your current distro by a friend, it suited you, and stuck with it. That’s great, but there is probably something better for you out there. Why not harness the flexibility and richness of Linux and Open Source? Don’t be afraid to experiment around with different distros, apps, window managers, and desktops. Experiment until you find the best fit. Think of it this way, if you are currently living in the best place on earth for you, traveling around the world wouldn’t really harm right? In fact you might find a better place to live in, but if you didn’t, the time you spent traveling would not have gone to waste, you would have learned a lot about other countries, other people and traditions, different ways of thinking, and ultimately had fun!<\/p>\n Every new thing you try out will contribute to your incremental learning, in a year’s time you will have a good grasp on Linux and the Open Source world. I personally tried out at least 10 distros, 4 desktops, and 5 window managers. My recent article Etymology of A Distro<\/a> got me interested in a couple more distros such as Zenwalk, Foresight, and Sabayon. Play the field, my friend, it will do you good.<\/p>\n But before you proceed, pay heed to these few hints:<\/p>\n Now I am not going to advocate learning the command line, there are numerous articles that emphasise on it’s importance.<\/a> What I am assuming here is that you already know it’s importance, and have a rudimentary understanding on how to do some simple administrative tasks. You are already hacking away, tweaking and configuring, following the different guides and howtos scattered all over the tubes, but don’t just copy and paste!! Meaning, instead of just headlessly executing commands some random guy half way across the world told you to execute, try to understand what every command does. Why did the guide ask you to do this, as opposed to something else? Understand the rationale of the steps you are asked to do. These commands are highly relevant to you, and will help you gain a better understanding than any 101 guide.<\/p>\n After a while you will notice that you have amassed a good deal of CLI lore.<\/p>\n At the end of the day it’s just a pseudo-language! Every command is probably just an acronym of something, or a cut down version of a real word. You expect your dog to understand “Spike fetch ball” so why don’t you expect to understand “sudo mv \/file1 \/file2??<\/p>\n Personally, I had numerous occasions when a friend asked me to do something on his\/her computer, but found myself crippled because of his\/her choice of OS. At other times I wanted to do something urgently but the only computer had another crippled OS. Spare yourself the agony, have Linux with you all the time, whether it’s on a USB pendrive<\/a>, a live CD, or even a live CD business card<\/a> ! There are dozens of good Linuces out there that are perfect for on-the-go computing. Knoppix<\/a>, DSL<\/a>, and Puppy Linux<\/a> are just a few examples.<\/p>\n I personally don’t apply this habit, which is a shame, I really need to get my act together! :p <\/publishes and heads to pendrivelinux.com><\/p>\n","protected":false},"excerpt":{"rendered":" Written by Rami Taibah Switching to Linux can be very daunting, most seasoned Linux users experienced that first hand. After all, at some point they were also “noobs”. However, the Linux community has excelled in making the switch for beginners as easy as possible by providing guides, howtos, tweaks, and general advocacy articles. When I […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/localhost\/wordpress\/wp-json\/wp\/v2\/posts\/358"}],"collection":[{"href":"http:\/\/localhost\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/localhost\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/localhost\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/localhost\/wordpress\/wp-json\/wp\/v2\/comments?post=358"}],"version-history":[{"count":2,"href":"http:\/\/localhost\/wordpress\/wp-json\/wp\/v2\/posts\/358\/revisions"}],"predecessor-version":[{"id":3767,"href":"http:\/\/localhost\/wordpress\/wp-json\/wp\/v2\/posts\/358\/revisions\/3767"}],"wp:attachment":[{"href":"http:\/\/localhost\/wordpress\/wp-json\/wp\/v2\/media?parent=358"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/localhost\/wordpress\/wp-json\/wp\/v2\/categories?post=358"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/localhost\/wordpress\/wp-json\/wp\/v2\/tags?post=358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}1-Never Login Using ‘root’<\/em><\/h3>\n
\n
\n
2-Properly Name Your Files<\/h3>\n
\n
3-Place \/home on a Different Partition<\/h3>\n
4-Proper Crash Management<\/h3>\n
\n
\n“killall firefox-bin”<\/li>\n5-Play The Field<\/h3>\n
\n
Anime image is licensed by Creative Commons BY-NC 3.0<\/a>
\nOriginal Artwork by Juzo Kun<\/a>, Modified by Wayne Richardson<\/a>.<\/h6>\n6-Nurture Your CLI Adoption<\/h3>\n
7-Always Be Ready to Unleash The Power Within<\/h3>\n