5 best-practices of a successful Linux user

There would have been one or more reasons which would have tempted each one of us to try Linux, and some of us just never looked back. Few would have probably turned out to be Linux professionals, while others would still be struggling with what’s good and what’s perfect.

Practice: The sole key to perfection

Photo by Gruppo Operativo Linux Empoli

PracticeThe sole key to perfection

Were you a born Linux user? I mean did you dirty your hands with Linux before you happened to stumble on any other Operating System? I doubt! I am no exception. Most of us have migrated to — part time or full time — a tux box. There would have been one or more reasons which would have tempted each one of us to try this operating system and some of us, never looked back. Few would have probably turned out to be Linux professionals, while others would still be struggling with what’s good and what’s perfect.

Today, we shall have our eyes on a few practices which are all time favorites of efficient Linux users:

  1. Do not login as root: Yes, you got it right. This is by far the best Linux practice one should build up from the very beginning. The fact that most of us would have had a lot of years spent on a Windows machine makes us biased on having an Administrator account. More than 70% of the people whom I have met log on to their Windows machine with an administrator account. Linux is different. The power a root user has is enormous it can do wonders and can tempt you do a blunder too. Thanks to the lit fuse bombs on the root-login wallpaper for making it pretty obvious!
  2. Keep /home on a different partition: There are times which you would want to switch distros, or may be un-install one for ever to get a new one. Having /home on the same drive as / would mean you losing everything on the /home directory after a format. Linux however gives you a better choice. Create a new partition and place your /home on it. This enables you to reinstall/change your Linux distro without losing your data and personal settings. Just in case you wish to do this with an already installed Linux distro, you may wait for the next post to help you move your /home to a new partition altogether! Alternately, the Internet already has an answer to it. Thankfully!
  3. File naming conventions: Ok, there is no set convention for naming a file in most of the operating systems. But, there is no harm following one. Of course Linux allows you to name files anything but a “/” (forward slash) or ” ” (null character). Try to follow a regime, which may include:
    1. Only alphanumeric characters, periods, underscores and hyphens.
    2. Avoid using spaces in filenames, this makes your job easy on terminals. Use hyphens or underscores instead.
    3. Avoid using special symbols like “%”, “$”, etc. They have special meanings on a shell prompt.
  4. Do not run away from CLI: You’ve not got hold of quite a few ways to fix things on your Linux machine. You may be happy using the GUI window to install new apps. This may be synaptic, yum, yast or whatever. But having a good hand at the terminal is never a waste. If you can accomplish some basic tasks on the terminal, I am sure you’ll be far more confident and proud than you were without this ability. Hacking into or tweaking you machine is definitely fun but do not intend to just copy-paste commands from the Internet cloud. Try using the man page to know what each of the commands do, so that next time you know what you’re doing before you hit the return key on the terminal.
  5. Handle the system crashes effectively: Linux is not Windows. Hence, CTRL+ALT+DEL is not the only solution to move on with. You can try out better ways to recover your machine to a stable state without having the need to reboot your machine. Go for options like killall, kill PID, force quit, CTRL+ALT+BACKSPACE to end your X session, etc. We’ve discussed about killing the processes previously.

These were a few guidelines which would increase your efficiency with Linux and will make you perfect. Remember, practice does that with everyone. Stay tuned for more action!

Praval, the author of this article is available as a freelance writer and technology blogger. He writes reviews and stuffs related to Wordpress, Linux, Information marketing, Open Source Software, Life hacks and technology in general. He also provides information marketing solutions to his clients. You may reach him at Praval.com


Don't like it? There are lots of published articles, pick a random one.

oCricket

Praval Singh posted this article on Wed, Sep 17th, 2008 at 5:12 am
Categorized under Featured, Linux and has the following tags

Prev Article: Dear Adobe

Next Article: Get your Other Inbox

Archives: Visit the Archives for more articles.

Comments Post Yours

There are 3 responses so far. You can follow any responses to this entry through the RSS feed. You can leave a response, or trackback from your own site.

  1. I’m a big fan of the [ctrl][alt][esc] sequence for killing an individual window; try it! Might be KDE only, not sure.

    File names can technically have a space ‘ ‘ in their names, it just makes it ugly to work at a command prompt with:

    eljefe@eljefe-desktop:~$ vim "test file"
    eljefe@eljefe-desktop:~$ cat test file
    cat: test: Is a directory
    cat: file: No such file or directory
    eljefe@eljefe-desktop:~$ cat "test file"

    This is a test!
    eljefe@eljefe-desktop:~$ cat test\ file

    This is a test!
    eljefe@eljefe-desktop:~$

    Recently I’ve started putting a similar warning sign as the wallpaper of the Windows machines Administrator account at work; even if the other accounts have admin rights, I still don’t want users in “my” account on those systems.

  2. Not much interesting..Try out something more dude

  3. awesome! bang on target. something what all new guys should cultivate as a habbit. thanks for your helpful & to the point articles sir :)

Post yours

Sidenotes

Quick notes, scribbles, somehow related to this website and to what I do. Or perhaps I'm just plain lazy to make them into a full article.

Great Indian Developer Summit 2009

I got a Press Release of the upcoming GIDS '09 and here is an excerpt. The summit's program covers Java, REST, Unit testing, Groovy, Spring, Struts 2.0, SOA, Cloud Computing, Web Services, JRuby, RoR, Ruby, JVM, ...21st Jan, 2009

The flourishing gun market in Pakistan

VICE Travel: Darra, Pakistanby Top-Notch112 (Via: Deep Green Crystals) 20th Jan, 2009

Angry Ringtone for iPhone and others

[audio:http://audio.brajeshwar.com/angry-ring-ring.mp3] The ANGRY RINGTONE for iPhone. (Click the PLAY button above!) Download * iPhone Ringtone (.m4r) * MP3 Ringtone (.mp3) * Zipped (both .m4r and .mp3) To use it as an iPhone Ringtone; just double click the file "angry-ring-ring.m4r" and it ...15th Jan, 2009

IIM Ahmedabad's Leverage 2009

Leverage, the Venture Capital and Private Equity Club of IIM Ahmedabad and the Centre for Innovation Incubation and Entrepreneurship bring to you the 1st edition of the Venture Capital and Private Equity Conference on the ...12th Jan, 2009

Fedora 10 Released

Let's talk history! Fedora was created in late 2003 as a Linux based Operating System which gives the users an admittance from anywhere in the world to the most up-to-date free and open source software ...28th Nov, 2008

View the Sidenotes Archive

Play the Penguin Game

Recommended

  • ActionScript 3.0 Reference Flash/Flex ActionScript 3.0 Reference.
  • Forum Oinam’s technical discussion forum where developers and designers can discuss all technical topics.
  • My Special Job My Special Job is a place where you can look for your weird necessities, strangely superb employees, when your need are more of those hackers, geeks, and ultimate rockstars in the Internet Technology.
  • AS 2.0 Reference Reference for ActionScript 2.0 Programming Language used in Flash. Primarily stashed here for my own personal reference.
  • oCricket oCricket is about Cricket and people enthusiastic about it.
  • Ode to Apple Dedicated to Apple - Mac, iPhone, iPod, iTunes, Quicktime, Apple TV and all the awesome softwares for the Apple Mac.
  • Not Safe for Work Ever clicked a link and felt embarrassed with the content in front of your co-workers? Ever caught unaware because the funny link your friend sent was a little beyond funny? Let’s minimize that with NSWF.

Download free Brajeshwar Wordpress Theme

Brajeshwar

Brajeshwar I firmly believe in keeping things simple, easy for users and I envison pushing the technical envelop time and again for the betterment of viable commercial and practical applications. More about me.

Brajeshwar's affinity with Adobe

My Photos

More photos on Flickr

Member of 9rules Network

Since its inception on 11th June, 2001, "Brajeshwar" has 949 Articles and 6,473 comments, contained within 22 categories and 1,497 tags.