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


Possibly Related Articles

Archives: Visit the Archives for more articles.

Comments Post Yours

There are 4 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 :)

  1. Pings & Trackbacks Sites, articles & blog posts linking back to this article.

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.

Top 25 Hottest Indian Web Companies

Note: User submitted article. Personally, I would advise not to take this video seriously. 21st Nov, 2008

India gets ready for Free and Open Source Software

Over the years, FOSS.in has attracted thousands of participants, and the speaker roster reads like a "Who's Who" of FOSS contributors from across the world. FOSS.in is a non-commercial event organised and run entirely by FOSS ...21st Nov, 2008

Cooliris for the iPhone

Cooliris is the browser extension that revolutionizes the way you view media on your computer. It is now available as an application for your iPhone! Cooliris for the iPhone allows you to search the web ...22nd Oct, 2008

Adobe releases Flash Player 10 (Mac, Win & Linux)

Adobe have released the shipping version of Flash Player 10 for Mac, Windows and Linux. More about Flash Player 10 * About Flash Player 10 * Get Flash Player 10 (Official Release version 10.0.12.36) * Download Debug and Standalone ...15th Oct, 2008

What a bad team can do to a Startup?

Flash/Flex developer, Orian Marx, started his Startup with much zeal and enthusiasm but had to give-in to failures because of none other but the team - the founders involved. His article outlined the story so ...13th Oct, 2008

View the Sidenotes Archive

Play the Penguin Game

Recommended

  • Downloads All downloads, Free and Open Source.
  • 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.
  • o! Just Me Of colorful cultures, entertainment, media, life hacks, music, books and movies from hollywood & bollywood.
  • Forum Oinam’s technical discussion forum where developers and designers can discuss all technical topics.
  • 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 892 Articles and 6,074 comments, contained within 21 categories and 1,329 tags.