Now that you have selected your hardware and put it all together, we have to properly configure your BIOS. The BIOS (Basic Input/Output System) is a low-level method to handle your hardware. It allows you to enable, disable and tweak any hardware that is connected to your motherboard. Each BIOS has different settings, so I will write about the important features that are practically universal among all BIOS's.
So you have diligently selected and purchased all the hardware you need to build your system. Before we get started we are going to need a few basic tools to install everything correctly.
At a bare minimum you are going to need a screwdriver. Although it is never wise to follow just the bare minimum. If you do not have the extra funds to go out and purchase a computer repair kit, you should at least purchase an anti-static wrist strap.
So you would like to build your own custom Linux box? Great! In this article we will be discussing hardware components. It doesn't take a genius to build your own computer from scratch, just some knowledge and elbow-grease (umm..wash your hands before touching the hardware!).
Due to the nature of the IT world and computers, I plan on leaving most hardware prices and specific hardware model numbers out of this article. My goal is to make this piece as timeless as possible. The moment I add prices and exact configurations is the moment this article will become obsolete.
The first thing we need to do is get the hardware for your new system. The rest of this page will give you some insight as to what you will need to build your own Linux computer.
Case
Without a case, you have nothing more than a bunch of disorganized computer parts. While every computer part is useful, your ambitions will be stopped short without a case to hold all of your components.
Cases can run from extremely cheap to ridiculously expensive. Personally, I don't see the need to buy a expensive case, but you may feel otherwise.
So you want to create your very first bash script? Well it's actually pretty easy, just open your favorite text editor (vi, emacs, gedit, kate) and type:
#!/bin/bash
echo "Hello World!"
Save this file under your /home directory (i.e /home/yourname), with the filename of firstscript.sh. You will then have to give the script execute permissions for yourself. In order to do this you will need to use the 'chmod' command:
[user@localhost ~]$ chmod 700 firstscript.sh
Now your script can now be executed:
Executing commands in Bash is typically the same throughout all shells. You are presented with a prompt:
[user@localhost ~]$
You simply type in the name of the command you would like executed:
[user@localhost ~]$ date
Tue Feb 24 08:48:02 EST 2009
As you can see from the above example, I executed the date command and it printed the date to the shell.
Now depending on how you log in to your system, you may have to start the shell manually. If your system loads straight to GNOME. KDE or any other GUI application, you will have to start bash via a terminial.
If you log into your system through a text-based login prompt, you should then be graced with a command prompt. You can check to see if you are using bash by typing the below command at the prompt:
Welcome to newbtopro.com's Beginner Guide To Bash Scripting. This guide's main purpose is to familiarize users to using bash in Linux.
What is Bash?
Bash is the de-facto Linux shell. A shell is a command interpreter. If you can remember back to the days of MSDOS, you would remember the popular "C:\" prompt. Bash provides an environment similar to MSDOS, although bash is far more robust, flexible and powerful than DOS is (or was).