Slashdot Mirror


How To Adopt 10 'Good' Unix Habits

An anonymous reader writes to mention an article at the IBM site from earlier this week, which purports to offer good Unix 'habits' to learn. The ten simple suggestions may be common sense to the seasoned admin, but users with less experience may find some helpful hints here. From the article: "Quote variables with caution - Always be careful with shell expansion and variable names. It is generally a good idea to enclose variable calls in double quotation marks, unless you have a good reason not to. Similarly, if you are directly following a variable name with alphanumeric text, be sure also to enclose the variable name in square brackets ([]) to distinguish it from the surrounding text. Otherwise, the shell interprets the trailing text as part of your variable name -- and most likely returns a null value."

3 of 360 comments (clear)

  1. Why? by Anonymous Coward · · Score: -1, Offtopic

    I'm a former CS student. I have no job, but I can deploy Java Applications.

    What is Unix? Can I deploy more enterprise-like Java Applications with it?

    Windows sucks! I'll install Linux soon. I've heard that Linux and Unix are the same. But I'm afraid of paying $699 to SCO...

    Should I buy SuSE? I believe everyone should get SuSE Linux because it is backed by powerful Microsoft dollars.

    Please tell me about your qualifications so I can calculate the relevance of your answer in my spreadsheet.

    1. Re:Why? by Anonymous Coward · · Score: -1, Offtopic

      NO U

  2. Old News by ntsbinbash · · Score: -1, Offtopic

    This was on Digg last night