As I was sitting here, preparing to write this article, my mind wandered back to the day I accidentally wiped out a Windows installation with a Gutsy Gibbon CD. I thought I was in trouble. I had just knocked out my work documents, including various templates I made, along with scanner support, and my Adobe 8.0 suite.
It was at that moment I decided to make a go of it with Linux as my sole operating system. After nearly 2 years of tweaking, making mistakes, fixing those mistakes, and then making even more mistakes, I finally feel qualified to give you advice.
In light of this experience, I now present “11 Crucial Things An Ubuntu Newbie Should Know”.
Commands
1. ps -A: One of the reasons I hated Windows so much was the task manager. When a program would hang, you’d have to open task manager, tell it to kill the program, and wait 5 minutes for the system to kill the application, All the while, it would bog down the processor, hog memory, and be an overall nuisance. 50% of the time, you would have to restart the computer to get the process to clear.
Not so in Ubuntu/Linux. All you have to kill a program is open the terminal, and type “ps -A”. This will pull up a list of all the processes currently running, with the name of the program, along with a 4-5 digit number next to it. Then, type “kill -9 PN” (PN should be substituted with the actual Process Number), and hit enter. This will kill the app, no questions asked. It will not ask you any questions, or give you any excuses. That program is now dead, until the time you decide to resurrect it. This will not work with things like Apache, or other process daemons. If you’re not sure, just try to kill it. If it doesn’t die, then it is probably a daemon. You will have to find the actual documentation to stop the daemon.
Bonus tip: In Ubuntu (Gutsy and later), the command to stop Apache is: sudo /etc/init.d/apache2 stop To restart: sudo /etc/init.d/apache2 start
2. gksudo nautilus: Nautilus is the GUI-based file browser for Gnome, which is the default window manager for Ubuntu. If you are not used to the command line, this command will save you hours when it comes to file operations. Well, it will only save you hours for things that have to be done as root. Things like special system configuration, and other things where you need upgraded privileges will be much faster when you use this command.
Just open the terminal, type “gksudo nautilus”, enter your password, and magically you can do anything you want. For faster access, right click the Desktop, select “create launcher”, enter “gksudo nautilus” as the command. You can now click the shortcut on your Desktop, rather than opening the terminal and entering a command each time you need access to Nautilus.
3. dmesg: If you have managed to really mess something up, or are having trouble getting things to work, you may need someone with greater experience to take a look. Typing “dmesg” in your terminal window will call up all the messages from your system kernel. Copy and paste this into a text document, attach it to an email, and let a true expert get a look at what is going on with your hardware.
Upgrades:
4. Ubuntu’s package manager, Synaptic, is a GUI front-end for Aptitude. What you don’t know is that Synaptic is set to run in what could be called “safe-mode”. It will not go get the latest and greatest versions of the software you are running. It will get the last (often 6 months older) version of the software you want to run. You can upgrades faster by enabling optional software repositories.
To do this, open Synaptic (System > Administration > Synaptic Package Manager), then select Settings > Repositories. Once you are in the repositories window, select the “Updates” tab. The Ubuntu “security” and “recommended updates” repository have already been selected. To get the newer stuff, you need to check “backports” and “proposed” software. Apply, and reload. This should get most of your software up to date, along with the kernel.
5. The kernel: While having the latest and greatest stable kernel can improve system performance, it can also break little fixes you have made along the way. An example: I had gone through the painstaking process of editing some configuration files to get my webcam to work. The last kernel update overwrote the changes I had made, and in the process, disabled my webcam. This can get irritating, but eventually a kernel release might fix an issue on its own, so I guess it is an ok, if not completely lossless tradeoff.
6. Upgrading to the newest version of Ubuntu: Don’t do it right away. Always give a new version at least two months in regular use before you decide to upgrade. I have tried to upgrade for 3 releases now, in the first two weeks of availability for the upgrade. Each time, there has been a major failure, mostly in the area of graphics and sound. If your release is stable, there is no reason to upgrade right away, other than a few minor changes in speed and stability. You forfeit these if you upgrade on the first day of a new release. You have been warned.
Got Help?:
7. You can Google it: If you haven’t googled it, do not trounce into a forum and ask the question. People are nice, but they really can’t stand laziness. If you have searched, and can’t find it, it may be a more advanced question that really needs more expert analysis.
Here’s the search formula that reaps the best rewards for me: [manufacturer] [model] [problem] [ubuntu distribution]…(e.g. sony vaio webcam installation hardy). You can vary this formula a little bit, as sometimes it takes a few searches to get the hang of it. The one thing that you should not change is having your version of the distribution in the search. The reason is that fixes, and places where applications install can be different depending on the version you are using. This will ensure that you receive the best solution possible.
8. The Forums: Most of the time, Googling the problem will send you to the Ubuntu forums. Get a user name, log in, and be respectful. Be sure you try everything they tell you to before griping that it won’t work. The help and advice is free, and usually very helpful in nature.
9. Launchpad: This is a bug reporting service that Ubuntu users use to get bugs and various other problems fixed. You can reach the project at https://launchpad.net/ubuntu . Once you get there, click on report a bug, and follow the instructions. Be sure the problem has not been reported already, as they will ask. Provide as much information about the incident as possible. They will keep you posted on the progress as far as the problem being resolved, and assign a priority rating based on the severity of the problem. I’ve had to use it 2 or 3 times. Even the minor problems have been resolved in 2-3 weeks.
10. Don’t Be Afraid To Break It
This is the most important rule. This ain’t your Granny’s china. Stuff will break, you will be the one to break it. You will also be the one fixing it, along with your friend Google. Be patient, be persistent, and walk away for a bit if the solution just won’t come. Vindication will come, and when the fix is done properly, or you changed a variable that caused performance to increase, there will a mountaintop rush. Chances are, your significant other won’t care, but that won’t matter. Feel free to prance around in your boxers, and act like you just won the Nobel Prize.
11. Everything in Windows can be replaced with Open Source software: Really, it can. It takes a little time to find it, but when you do, a whole new world will open up. You’ll start to see how things work better than you expected. Things will play that would not on Windows, you’ll be able to open every attachment you ever wanted to. Productivity will increase, thereby giving you more time to make your system work faster, and work on your own open source program.
I can’t include everything I’ve learned over the past two years here. There are some other articles that I have written on software packages, and the pros and cons of each. Just google my name and iSnare to get a full list of what I have written on the subject. In conclusion, have fun with Ubuntu, share your knowledge with others, and fear God. Seriously.
That’s all the advice I have for you.

Of course if you are used to Microsoft Windows you are familiar with the concept of files. This familiarity means you won’t have to start from zero to learn about Linux files. However, you will have to relearn several concepts and techniques to work with files in the Linux environment, whether using Damn Small Linux or other versions. You can do several great things with Linux files that you can’t do easily or at all under Windows. This could be just one more reason to switch from Windows to Linux.

Files have unique names. This rule is not as simple as it may seem. There is no conflict between a hard disk file named pay12june and a file named pay12june on your removable USB flash drive. In fact, be sure to backup all your important files. Don’t worry if your hard drive file is erased or becomes corrupted and illegible, simply access the one on your flash drive. You could also have two files named pay12june on your hard drive in different directories. Directories, collections of directories and files, will be discussed in the next article in this series.

Linux distinguishes between lower-case and upper-case characters in file names. Microsoft Windows does not. For example, Linux treats pay12june and Pay12june as two different files, as different as pay12june and heighho. Windows users will have to adapt to this major difference. Even though I am a Linux fan I don’t see any advantage in the Linux way of naming files. Maybe I have spent too much time in the Windows environment.

File names should be relatively short. The allowed maximum is 255 characters but working with long file names is no fun and in fact is asking for trouble. Linux file names may not contain the character / which has a special meaning. To avoid misunderstanding don’t include special characters such as $ and & in your file names. Doing so could cause confusion and lead to hard-to-find errors. For the same reason don’t call your files by special Linux names such as etc.

Linux sometimes applies file extensions; common examples include .c to indicate a C-language program and .htm or .html to indicate one type of web page. Savvy Linux users often avoid coding the file extension but rely on the file directory to indicate the file type. Don’t give a Linux file a misleading file extension.

Use an editor to create or modify a text file. The old fashioned vi editor has been replaced by more powerful, user-friendly editors. Most versions of Linux come with several editors. Damn Small Linux, a popular version that runs under Windows, includes several editors such as Beaver that come quite close to being intuitive.

Linux provides an enormous variety of commands for processing files. Many of these commands are mnemonic; for example the command cp is used to copy files. Many commands include a wide variety of options. Consider the ls command, somewhat similar to the DIR command in the Windows environment. This seemingly simple command is quite rich and offers dozens and dozens of options many of which have no equivalent in the Windows environment.

Linux commands can be thought of as verbs. Just like most English sentences include more than a verb (go, jump) complete Linux commands contain the command itself and one or more objects. To copy a file you not only need to specify cp but also What and Where. For example, the command cp pay12june backuparea means copy the pay12june file into the backuparea directory.

Linux syntax (grammar rules) is quite strict and does take time to learn. But mastering Linux and associated technologies can lead to employment. The next step is mastering Linux directories.

Once upon a time Levi Reiss wrote ten computer and Internet books either alone or with a co-author. Now he has moved on to building websites, including global wine (www.theworldwidewine.com), Italian wine, Italian travel, and health and nutritional aspects of wine. He has taught various and sundry computer courses including Linux and Windows operating systems at an Ontario French-language community college for decades. His new website http://www.linux4windows.com will get you to run Linux even on that outdated Windows computer in your basement but first you must remove the dust bunnies.
science kits

Maybe domination is too strong a word. Maybe not. The market conditions for Linux are as favorable as they have ever been. Apple and Microsoft have weaknesses that are either plainly evident, or will be revealed soon.
The general public is becoming more technologically savvy in general, and beginning to understand their options. There are just a few things that stand in the way of the general public’s adoption of the operating system, in my opinion. We’ll tackle Linux’s greatest opportunities and the weaknesses that can and do slow down its adoption as a mainstream OS.
Let’s start with the favorable environment: Microsoft is really hurting with Vista. I mean badly. They’ve made an operating system that has locked itself out of all but the new PC market. Then, it nags you like a small child each time you need install a program, or download something, or sync your mp3 player. The business market will hardly touch this. Now, they’ve hired Jerry Seinfeld to fix it all. Somebody needs to tell them that just because he idolizes Superman, doesn’t mean he is Superman. Microsoft looks tired. They should probably just release an OS called XPlus( for the uninitiated, that would be XP SP4.)
Apple, while gaining market share and shooting at Microsoft, is now worth more than Google. There are problems that lie down the path of growth. Apple has always bragged about security, and the fact that you don’t need anti-virus for their systems. My computer teacher( millenia ago ) told me it wasn’t needed for one simple reason: Crackers(known to the general public as “hackers”) didn’t find it very profitable to crack a MAC. The adoption rate was too low. Now that the adoption rate has increased, the prospect of savaging bragadocious fanboys is almost irresistible. What could be better than humiliating the arrogant, artsy crowd?
Then there’s the fact that Microsoft seems a kindly old grandfather when it comes to openness. Steve Jobs holds his cards ridiculously close to his chest. While this might not bother the average user, it will get on the nerves of those who want complete control of their system. Apple has tighter DRM than Microsoft, and has recently come under fire for their invisible software upgrades. It won’t take long for the more adventurous user to download another OS and find other programs to meet her needs.
Linux has made great strides because of one flavor of their operating system: Ubuntu. Talk all you want about how Debian, Fedora, and SUSE are the pure, unadulterated nectar of the Linux gods. Mark Shuttleworth’s Canonical has made Linux palatable for the average user. The install process is simple, it’s free, and adding programs is a snap using Synaptic. Wireless support is vastly better in this distro, as is printer support. Plus, it boasts the largest Linux community.
That community tends to write programs that solve extremely specific problems. They are also writing programs that meet or exceed closed source, commercially available software. This is the most vital thing for the continued growth of Linux as an operating system.
The security problems for Linux are almost non-existent at present time. It’s pretty air tight, not to say that it can’t be done, it’s just that it is far more profitable to hack internet communications than it is to hack a Linux box. Plus, the Linux community will track you down and make you eat your hard drive if you take out one of their PC’s. This may change as well, with broader adoption, but right now I am not worried about some Windoze script kiddie hacking my box.
If all this is true, then what stands in the way of further Linux adoption?
Sound. I bet you thought I was going to say “the command line”. We’ll get to that later. Linux sound is a pain to configure, and is really horrible if you want to run more than one program that requires sound output. There are a couple of different ways to implement sound in Linux. Some of them are stable, some are not. In 50% of all cases, one application’s sound will work, while another will not. Yesterday, I ran into a case where a sound server actually kept an entire application from running. Until Linux converts to a single, common sound architecture, then it will keep the average user dependent on…
The command line. You knew it was coming, I gave you fair warning. I enjoy the command line, to a certain extent. It allows me to instantly kill a program when it hangs, no questions asked. I can edit configuration files without opening a text editor. Just today, an article came across my screen, in which the author stated that you could use Linux forever without having to touch the command line. While technically true, that assertion is misleading, at best. All help articles in Linux forums start with, or assume you have already opened the command line. If you need to fix something, you will be using the CL, or you will not be using Linux very long.
This is something that people are going to have to come to terms with, unless Linux kernels and library sources are closed. What will hopefully happen is a more accessible command line integrated into the various window managers as part of the default configuration. Predictive commands(and the ability for expert users to turn this feature off) should play a huge roll when delivering the rollout to the average user. The final holdup is…
Developers, Developers, Developers. So we laughed at Steve “MonkeyBoy” Ballmer during his outburst of “irrational exuberance”. Major developers of closed-source software will have to get on board for the full adoption of Linux. Even though I love to GIMP, and am huge devotee, I miss the incredible batch processing abilities, and clean interface of Photoshop CS3(GIMPShop doesn’t cut it). I just do. I miss Flash. I don’t want to dual boot, or use WINE. I want a natively run solution. That is what is currently missing in the Linux equation. I want a peanut butter sandwich, not a bologna sandwich. Just because you can eat it, doesn’t mean you enjoy it as much. The common Windows user feels a far greater fear than I do in this regard, and they won’t give up their familiar programs and OS without a serious fight.
For every flaw, Linux has thousands of advantages. Linux will become a major player on the OS scene, has(and will) be the greatest bridge on the path to platform independent software and cloud computing. It will. The question is, how soon will we, as the Linux community, stop arguing over whose distro is better, and have a conversation about which path it will take to domination as an operating system.

There are many valid reasons to switch from Microsoft Windows to Ubuntu Linux. Both the average computer user and corporations can benefit from the switch to Ubuntu. Do not worry if you have never heard of Ubuntu, I will briefly introduce you to the best free Linux distribution available.

The name of the Operating System is an African word which means,

If you have any involvement with Information Technology, you’re probably already familiar with Linux as a server operating system. Indeed, for many applications Linux is an accepted and even preferred platform. Google has built and is expanding one of the world’s largest cluster of Linux servers to host its pervasive search engine system. Major hardware vendors, including IBM and Hewlett-Packard, sell servers preloaded with Linux and provide premium support for the operating system. Oracle is the largest commercial database running on Linux with more than 80% market share. Successful commercial applications like VMware ESX are built on Linux foundations. And many of the largest Internet hosting providers run on Linux.

On the other hand, if your computer experience is limited to your own home PC, you may never have even heard of Linux and may be wondering what all the fuss is about. If that’s the case, listen up because Linux may be coming to a desktop near you!What is Linux?

Simply put, Linux is a computer operating system like the Mac OS X or Microsoft Windows. The difference is that Linux is open source; anyone can view, modify, and redistribute the underlying code. Further, while OS X is designed to run only on Apple hardware, and while Windows runs primarily on x86 processors from Intel and AMD, there are many distributions or flavors of Linux, compiled to run on a wide array of hardware, everything from high-end corporate servers and mainframes, to home PC’s, to cell phones.

Linux began as a pet project of a Finnish university student, Linus Torvalds, in 1991 as an alternative to the server operating system Unix. He made it freely available to anyone who wished to modify it and it was quickly adopted and grew. Still, it remained primarily a server-based system. Few home users would have chosen its complex command-line interface over the comfortable and easy-to-use point-and-click GUI of the Macintosh or Windows.

However, Linux now also sports a graphical front-end and a plethora of user-friendly applications.Going GUI

Since Linux is all about choice, it’s not surprising that there are a number of graphical environments available. The two most popular that come preloaded on many distributions targeted for desktop or workstation use are Gnome and KDE. Both offer features home users have come to expect: menus, icons from which to launch applications and documents, desktop wallpaper, screen savers, trash icons, and the like.

Connecting to printers is a simple process of selecting the printer type from a menu and telling the system where to find it, either on a local port or a network queue. To print from most applications simply select File, Print. No surprises there.

Sharing folders is equally simple and relies upon standard protocols that interface well with Macintosh and Windows systems.

For security, you can create multiple user accounts; each user gets their own desktop they can customize as they wish. There’s also a built-in firewall to protect you from Internet intruders.

Of course, most people are more interested in the applications they can run, rather than the underlying operating system. Here, Linux is in no way deprived.Applications

For browsing the Internet, there’s Mozilla’s Firefox and Konqueror. For e-mail there’s Thunderbird and Evolution. The popular OpenOffice.org suite provides typical office functionality including word processing, spreadsheet, database, drawing, and presentations. The Gimp and Inkscape offer advanced graphics capabilities. And there’s a variety of utilities for burning CDs and DVDs, listening to music, watching videos, and chatting via services like AOL’s Instant Messenger.

This list is by no means complete. There are thousands of open source applications for Linux; you’d be hard-pressed not to find one that could do what you need. But there are also many commercial applications available.Drawbacks

If Linux offers so much of the same functionality as Windows, why isn’t it more widely used? Why do many home and corporate users reject it?

Microsoft Windows, while it has many faults, has become so widespread in its use as to be nearly ubiquitous. It has become the de facto standard by which other systems are measured. For those people already familiar with and comfortable with Windows, anything else is a step back, even if it is faster, more intuitive, more stable, and more secure.

Also, it must be admitted, there are still situations where you may need to venture into the cryptic world of the Linux command shell. For those used to living with a mouse in one hand, typing commands like awk and grep at a flashing cursor is unacceptable.

And, while there are enough applications to satisfy all but the most demanding of users, there are a few notable exceptions. Microsoft Office is not available on Linux, and likely never will be. Adobe Photoshop is also missing. In both cases, nearly all of the functionality these two giants provide is available in other applications, but for some die hards, that’s not good enough. While there are ways of running some Windows applications on Linux, they’re not usually as fast or as stable — or as easy to implement — as native Linux applications.

The situation is even dimmer for games. While the console market — PlayStation, Nintendo, and Xbox — is growing, the PC and Mac game market is shrinking. The commercial Linux game market is even smaller. Oh, there are plenty of games for Linux, but most are modest efforts, with few of the heavy hitters widely available on other platforms. Those that have been ported to Linux are not always fully supported — if they’re supported at all — by the original producer. For example, while you can purchase Quake 4 for Linux, don’t expect id Software to help you get it running, a task not for neophytes or those who shy away from the command line.Vendors

Despite any apparent drawbacks, some major vendors are actively promoting Linux on the desktop. Novell now offers the SUSE Linux Enterprise Desktop, while Red Hat offers Enterprise Linux WS, both targeted at corporations. Since users in this environment are likely to have a fixed set of applications without a heavy gaming need, Linux is often ideal. And a number of organizations are taking advantage of the potential savings offered by these open source options. Governments especially, under scrutiny for how they handle the public purse, are often quick to make the move. Among them are the cities of Largo, Florida, USA; Bristol, UK; and Bergen, Norway. They have each made their taxpayers happy with significant savings over the closed source, proprietary systems they used to use.Choices

If you’re a heavy gamer, then you’ll probably want to stick with Windows or a dedicated console. If your focus is advanced graphics and video editing, then Linux may be an option, if you’re willing to give up certain commercial applications. Otherwise, you’d be better off with a Macintosh. If you’re just surfing the Internet, sending e-mail, writing letters, and editing spreadsheets, then Linux and the open source software that comes with many distributions will do everything you need.

On the other hand, if you don’t want to ever see a command line or edit configuration files by hand, then Linux probably isn’t for you just yet. But it may be soon.

Jules Smith is the principal of LightningStrike Studios, a professional business and technical writing firm.
Link Building

As a business consultant, web designer and photographer my technical know-how around doing system administration on my Microsoft desktop is limited and sometimes I do require the assistant of my computer engineering son to get it right. In a Microsoft Environment, keeping updated with respect to potential security breaches and patches is a constant vigil. The rigor of keeping current with OS updates, Norton updates and Spyware updates is time consuming. Valuable business hours each week are spend and lost on this task of self-administration dictated by the Microsoft Operating Environment.

So with the purchase of an IBM T40 (a tough notebook), increasing system administration time was not an option. This alone forced an serious consideration of Linux as an alternative operating environment. That was five years ago. Now an established Linux user, I can clearly profess the capabilities and benefits of Linux for small and large businesses, especially, when it comes to notebook deployment.What Linux variant is best for small business and notebook deployment in your company?

As a small and medium business development manager with Sun Microsystems, exposure to Linux and the debate around its viability was a daily event. Questioning and challenging the virtues of Open Source (FREE) Linux versus Licensed Linux versions like Red Hat and Novell SuSE continues to this day . After years of personal use of Open Source (Free) Linux, I can never go back to running the Microsoft Operating Environment on my notebook. And once you can get Linux versions of Quick books, Quick Tax and Picasa (now available on Linux), there is no reason to stay in that perpetual administrative nightmare world of Microsoft.

Having successfully deployed two Open Source Linux variants on my IBM T40 notebook over the last 5 years, a compelling comparison can be made between Fedora and Ubuntu. Fedora, the Open Source version of Red Hat, required the installation expertise of some Linux gurus from Belleville Ontario. It worked fine, but required some Linux ninja system administration every 6-9 months. Administration items applied during these visits included upgrades to Open Office (the open source version of Star Office), Linux OS fixes and new peripheral drivers. This, again, turned out to be a drain on my scarce time for doing real business.

Now the Linux called Ubuntu is installed on my notebook. Ubuntu by Canonical is a full Open Source Linux based on Debian Linux. Ubuntu is now available on Dell systems and Federal Governments are adding this Linux operating environment to their list of standard available OS’s for all desktop and notebook computers.

Right out of the gate, Ubuntu was simple to install. You could even bring down a trial copy to experience exactly how it would behave on your notebook before downloading and committing the Ubuntu OS environment to your machine. But the best part is that Ubuntu continuously keeps on top of OS and all related application software updates. Ubuntu has an Update Manager that magically appears in desktop tool bar. And with a simple click (and password) you are kept current on the latest versions of Ubuntu patches, any Linux application software you have installed from Canonical and Open Office upgrades.

With Linux rebooting your machine after an update is nearly non-existent.

Oh, as an added treat with Ubuntu, Ubuntu boots up on your machine in less than a minute. I still go get a coffee when my Microsoft desktop is booting up. An additional benefit of Ubuntu: there is no requirement for installing ant-virus and anti-spyware software. Ubuntu inherently repels these vial scourges of the internet.

With Ubuntu your system administration life will become simple and painless. You can spend more quality business hours selling and marketing.Want to cut hidden costs in your organization that manifest themselves as Microsoft self-administration by your end users?

Ubuntu is a must for you or your IT folks to consider. Seriously consider, test and deploy.

Carl Chesal is a business and channel development consultant, trainer, internet marketer and professional photographer. He operates BizFare Enterprise Inc, providing business development, marketing, and internet marketing services. Bizfare Enterprise also operates a number of secure on-line shopping sites.
best Spanish mortgages
Over the years Levi Reiss has authored or co-authored ten books on computers and the Internet. As you can tell from his wine websites including www.theitalianwineconnection.com he is quite a fan of fine wine, but always in moderation. He teaches various and sundry computer courses including Linux and Windows operating systems at an Ontario French-language community college. Visit his new website http://www.linux4windows.com teaching you how to download and run Damn Small Linux even on that outdated Windows computer which has been gathering dust in the basement.
phoenix web design

Windows Vista looks fantastic but I’ve always been disappointed by a somewhat lacklustre performance, especially at startup. Certain that my super quick PC could do much much more, I decided to take the plunge and install the Linux-based OS along side Windows Vista.Ubuntu Hardy Heron was released in late April, 2008 and is the best version of Ubuntu so far. The key reason I felt it was time to give it a try was the press coverage of the Wubi installer. Wubi is this neat little installation package that lets you install Ubuntu from Windows, on the same partition as your current installation. It even sets up a dual boot configuration so you can quickly and easily restart your computer and return to Vista. Ubuntu has an amazing 3d desktop option called Compiz that allows you to rotate your desktop in 3d! Want to create yourself an Ubuntu machine that can do this?Here’s a list of features available, and a basic installation guide. I’ve referenced useful guides where possible:Ubuntu

What is a BSD Unix?

BSD family of Unix systems is based upon the source code of real Unix developed in Bell Labs, which was later purchased by the University of California – “Berkeley Software Distribution”. The contemporary BSD systems stand on the source code that was released in the beginning of 1990′s (Net/2 Lite and 386/BSD release).

BSD is behind the philosophy of TCP/IP networking and the Internet thereof; it is a developed Unix system with advanced features. Except for proprietary BSD/OS, the development of which was discontinued, there are currently four BSD systems available: FreeBSD, NetBSD, OpenBSD and Mac OS X, which is derived from FreeBSD. There are also various forks of these, like PC-BSD – a FreeBSD clone, or MirOS, an OpenBSD clone. The intention of such forks is to include various characteristics missing in the above BSD systems, on which these (forks), no matter how well they are designed, only strongly depend. PC-BSD, for example, has more graphical features than FreeBSD, but there are no substantial differences between these two. PC-BSD cannot breathe without FreeBSD; FreeBSD or OpenBSD are independent of one another.What is Linux?

Albeit users like to use the term “Linux” for any Linux distro including its packages (Red Hat Linux, Mandrake Linux, etc.), for IT professionals Linux is only the kernel. Linux started in 1991, when its author, Linus Torvals, began his work on a free replacement of Minix. Developers of quite a few Linux system utilities used the source code from BSD, as both these systems started parallelly in about the same time (1992-1993) as Open Source.

Today, there are a few, if not many developers of their own kernels/operating systems (FreeDOS, Agnix, ReactOS, Inferno, etc.), but these guys simply missed the right train in the right hour. They did not lose anything except for the fact that they may be even better programmers, but without the public opinion acknowledging this at large. Linus built his fame also from work of many developers and he went on board in the right time. Linus deserves a credit as a software idea policy maker and he helped very much in this respect.(Open)BSD vs Linux

It is often difficult to say what is better if you compare two things without regarding the purpose of their use. Mobile Internet may appear better for someone who travels often, but for people working at home such mobility is not necessary. In this view, it is a stupid question when someone asks: “What is better, a mobile or static Internet?” It all depends…

If you compare Linux and OpenBSD in their desktop environment features, Linux offers more applications than OpenBSD; but in a server solution BSD systems are known to be robust, more stable and secure, and without so many patches distributors release soon after their new version of Linux slithered to light.

BSD systems are based upon real Unix source code contrary to Linux, which was developed from scratch (kernel).Differences between BSD and Linux

1) BSD license allows users/companies to modify a program’s source code and not to release changes to the public. In other words, BSD licenses allow commercial use and incorporation of a code into proprietary commercial products. This is how Microsoft incorporated BSD networking into their products and how Mac OS X earns money through muscles of FreeBSD.

Linux uses GPL license for most of the time (applications in Linux can also have a BSD license – or any license; it is up to developers how they decide). With a GPL-licensed program anybody can change the source code, but he or she MUST share it with the Open Source community to make sure that everybody will benefit from such a change.

2) BSD has the so-called “core system” (without packages). The core system consists of basic utilities (like ssh, fdisk, various commands like chmod or sysctl, manual pages, etc.) and anything beyond this is strictly seen as an add-on. Linux (not only the kernel, of course) is usually packaged as the whole system where this difference is not seen.

3) On BSD systems, all add-on packages are strictly installed into the /usr/local directory: documents to user/local/share/docs/application_name; themes and other things to /usr/local/share/application_name; binaries to /usr/local/bin/application_name. By application_name we mean a program’s name, so if you install IceWM, for example, its binary will be here: /usr/local/bin/icewm. With Linux, on the other hand, all applications get mostly installed into the /usr/bin directory.

4) BSD systems use the system of “ports”, which are fingerprints of applications in the /usr/ports directory, where a user may “cd” and execute a make command, which will download, via a directive contained in such a fingerprint’s code, the application’s source and the system will compile it as well. “Ports” are actually add-on packages for BSD systems and they are also packaged in packages repository of a concrete BSD system. They can be installed as binaries, too, with use of the “pkg_add” either directly from the Internet or locally. But “ports” have that advantage that if an author of any package makes a new version, a user can immediately get its newest/updated version. Packages released for a particular BSD version (like OpenBSD 4.1) are not updated and users have to wait for a new BSD release (like OpenBSD 4.2).

5) BSD systems have also their stable version. With FreeBSD, for example, you have a FreeBSD-Release (a version that can be used normally), FreeBSD-Stable (system more profoundly audited for bugs and security holes), and a development version – Current, which is not stable and not recommended for a regular use. Some Linux distributions started to imitate this philosophy, but with BSD systems this way of making distributions has become a rule.

6) Of course, the kernel is absolutely different.

7) BSD has FFS file system; it is the only file system on BSD’s contrary to Linux, where you can use dozens of file systems like ext2, ext3, ReiserFS, XFS, etc.
8) BSD systems divide their partitions internally. This means that after installing a BSD system to a hard disk, programs like fdisk, Partition Magic, Norton Ghost and many others will not see this internal division of a BSD (FFS) disk; thus, repartitioning of a disk is not such a pain when administrators require a rigorous partitioning (for /home, /tmp, /var, /etc directories). As a consequence, the naming convention also differs a little: a disk – /dev/ad0s3b in FreeBSD indicates that you deal with “slice” 3 (“s3″), which is the equivalent of Linux /dev/hda3; the internal “partition” has the name of a letter: “a”, “b”, “e”, etc. (“b” is a swap partition). BSD systems also use different naming conventions for devices (disks, etc.).

9) Unless you make a good kernel hack, BSD systems can only be installed into the primary partition. This is not the rule with Linux. However, as BSD systems offer the above-mentioned internal division of partitions, this is not any pain. PC architecture for disks (IDE) follows the rule that you can have only four primary partitions. We will illustrate this on Linux: /dev/hda1 (note: first partition on master disk on first IDE channel), /dev/hda2 (second partition), /dev/hda3 (third partition), /dev/hda4 (fourth partition). PC architecture allows creation of the so-called logical disk on a physical disk (/dev/hda5, /dev/hda6, etc.). You can have as many logical disks/partitions as you wish and you can also install Linux into these “logical disks”. On the other hand, installing a BSD OS into such a “logical partition” is not normally possible.

10) System configuration is manual for most of the time, but various clones like PC-BSD break this convention. The manual approach is a very good thing, as administrators have everything under control without being pushed to waste time in a labyrinth of bloated configuration menus. A good comparison is to imagine a car mechanic repairing the car’s engine covered by a thick blanket. To give you even a little better example – you will hardly find a Linux distro that does not have a default X startup (graphical environment). Of course, you can switch off the X environment during the installation configuration, but if you keep forgetting like me and forget to switch this off, or you have difficulties to find it in the menu somewhere, you realize that most Linux distributors do indeed impose on us only one approach – to put our fingers first on the thick blanket, then on the engine. If you are a good administrator, you do not usually trust vendors who program you how to use Linux – you are the boss and you must have your own freedom. However, in most cases you lose few hours instead by deactivating various services, which are, unfortunately, not even necessary but almost always activated by default. Linux is praised both for being a good desktop and server, but administrators of a good server do not need X. The more software is stored on your hard disk, the more security problems you will face, because it is impossible to audit every package in every unthinkable situation. Good and secure systems are always tight, light and simple.

11) All BSD systems have a Linux emulation support. Running BSD binaries on Linux is a little harder.

12) BSD systems have less support from driver vendors, thus they lag behind in this view (they are not worse, but many vendors support only Microsoft and Linux). With a BSD system you must carefully research the Internet for supported products/chipsets before purchasing any hardware.

13) BSD systems do not use the Unix System V “runlevel scripts” (initialization startup scripts) like Linux.

14) BSD kernels can be set to several security levels. This is also possible with Linux, but BSD’s have taken a very good care of this kernel-tuning feature, which makes it even impossible to change something in files in higher security levels – you cannot delete them.

15) BSD’s have everything under one ROOF. Various Linux programs are often not even compatible with other Linuces. For example, if you install a SuSE RPM package on Mandrake, it may not work. BSD’s have one solid crown of power. If you move from Linux to FreeBSD, you will soon find out that you got out of this chaos. Do you want a package? Just visit: http://www.freebsd.org/ports/ and download it. Unless its developer made some programming errors, it will always work.

16) Generally, BSD systems boot and reboot faster than Linux. Linux can do this, too, but it must be tuned. It is very surprising that Linux is shipped, on the one hand, on huge DVD’s and, on the other hand, it has a compressed kernel. BSD systems do not use (but they can) a default kernel that is compressed, thus the system boots always faster. As I mentioned earlier in this article, Linux vendors program users to use various, often unnecessary services. I do not need SAMBA (file and print services) and many other things as well. Linux reboot process takes longer because various services running on Linux need time for deactivation. Many Linux users do not even know what is the purpose of these services.

17) In comparison to BSD, most Linux distributions are overbloated. Few good users noticed this some time ago and a new trend in the Linux world started with ideas to get closer to a BSD-style use. One of such distributions is Gentoo Linux, but also Slackware Linux, which has preserved a very good shape since its first release (1993). The Gentoo “About” page (http://www.gentoo.org) says that, “Gentoo is a free operating system based on either Linux or FreeBSD…” Therefore, if you use Slackware or Gentoo, these Linuces will always reboot faster than any other Linux.

18) If you compile programs from ports, you will not stumble into compilation errors. BSD packagers prepare their packages carefully, so that users will always compile them successfully. This does not always happen with Linux.Conclusion

I am the author of One Floppy CD Audio and MP3 Player, and a single floppy OpenBSD router. I really like all BSD systems. If you are interested, look into FreeBSD documentation, which is one of the best. It will give you a very good overview of history and hard work done in the development of these robust systems. Today, BSD Unices are the only quality alternative to Linux in the Open Source world.

Copyright (c) Juraj SiposAuthor’s website about FreeBSD and OpenBSD

What is Linux?

Linux is an operating system, like Microsoft Windows, MacOS, or Unix. It was created as a hobby by Linus Torvalds, a student at the University of Helsinki in Finland. What most people don