answersLogoWhite

0

Linux Ubuntu

Ubuntu is a Linux distribution from South Africa created by Mark Shuttleworth and funded by Canonical LTD. It is well-regarded among new Linux users due to its ease of use, support, and free shipping of installation CDs.

481 Questions

What is GRUB in Linux-ubuntu?

GRUB is a bootloader. Most Linux distributions use it, though with UEFI becoming more and more prevalent, some users are abandoning GRUB in favor of simply allowing UEFI to load their kernel directly.

Where is the hard drive on Ubuntu 9.10?

Ubuntu does not present logical partitions independently, but as part of a unified file system. This concept is a little hard to explain to a newcomer to Linux. Basically, things like drives or partitions are accessed transparently, just by accessing a specific directory. Lets say you have a single hard drive with a single partition. That drive would be mounted as "/", and most directories you see under "/" would be on that partition. However, files on your DVD drive or floppy drive would be elsewhere, like at /media/dvd or /media/floppy. If you wanted, you could use other partitions on your hard drive as mount points. Accessing "/home/username", for instance, could access files on the other partition if that was how you set it up, without you even thinking about the distinction between the two partitions.

You discover that a patch has just been released for your Linux distribution If and when should you install it?

Patches are released all the time. As in other operating systems, you should look at what the patch does and what it fixes, along with the relative severity of the change before deciding on applying the patch.

It is also a good idea to back up your system before applying any patches in case the patch causes the system to become unstable.

Which mirror is better to download ubuntu 12.04?

It doesn't matter. I think they both work well, but I've only ever used the default one (see link).

How do you install kid pix deluxe 4 using code on ubuntu terminal?

Kid Pix is a Windows program. To even attempt to run it in Ubuntu, you must install Wine. To install wine, enter the following into a terminal:

sudo apt-get install wine

After it is installed, you can try to run the program by using the following command

wine program.exe

substituting the name of the program file in.

Does Ubuntu support C?

Yes. Heck, that's what most of Ubuntu was written in.

Can you use Linux to boot a computer and access the hard drive?

Yes. LiveCDs can access the hard drive on a computer, though you will need to know the partition identification to mount that partition.

How do you install Photoshop on Ubuntu?

Install Crossover Office and then install Photoshop thru it.

Which is better idea to install Linux on windows 7 basic dual boot or side by side or using virtual box?

Do you know how to partion a hard drive? Are you positive about using Ubuntu? If you answered "no" to either use a virtual box until you can answer "yes" to both.

How do you write a shell script for student database?

perfect code:

create ()

{

echo "Enter the filename which you want to create"

read db

touch $db

echo "File created"

}

insert()

{

if [ -z $db ];then

echo "Database doesnt exist. Create a new database."

else

echo "Enter the number of records to be added."

read no

while [ $no -gt 0 ]

do

echo "Enter roll no: "

read rno

srno=`grep "^$rno" "$db"`

if [ -z $srno ]

then

echo "Enter Name: "

read name

echo "Subject 1: "

read sub1

echo "Subject 2: "

read sub2

echo "Subject 3: "

read sub3

avg=$((($sub1+$sub2+$sub3)/3))

echo "Average : $avg"

record=$rno":"$name":"$sub1":"$sub2":"$sub3":"$avg

echo $record >> "$db"

no=$(($no-1))

else

echo "Record already exists."

fi

done

fi

}

search()

{

echo " Enter roll no: "

read rno

record=`grep "^$rno" "$db"`

if [ $? -ne 0 ]; then

echo "Record doesnt exist. "

else

echo "Record found"

echo $record

fi

}

modify()

{

echo " Enter roll no to modify: "

read rno

grep "^$rno" $db > temp1.txt

grep -v "^$rno" $db > temp2.txt

mv temp2.txt $db

if [ $? -ne 0 ]; then

echo "Record doesnt exist. "

else

name=`cut -d ";" -f2 "temp1.txt"`

sub1=`cut -d ";" -f3 "temp1.txt"`

sub2=`cut -d ";" -f4 "temp1.txt"`

sub3=`cut -d ";" -f5 "temp1.txt"`

echo "Enter the value you want to modify"

MENU=" Values

1)Name

2)Subject 1 marks

3)Subject 2 marks

4)Subject 3 marks

"

echo "$MENU"

echo "Enter your choice"

read n1

case $n1 in

1)

echo "Enter the new name"

read name

;;

2)

echo "Enter the new marks for subject 1"

read sub1

;;

3)

echo "Enter the new marks for subject 2"

read sub2

;;

4)

echo "Enter the new marks for subject 3"

read sub3

;;

*)

echo "Enter a vaid choice"

;;

esac

avg=$((($sub1+$sub2+$sub3)/3))

record=$rno";"$name";"$sub1";"$sub2";"$sub3";"$avg

echo $record >> "$db"

fi

}

delete()

{

echo " Enter roll no: "

read rno

record=`grep "^$rno" "$db"`

if [ $? -ne 0 ]; then

echo "Record doesnt exist. "

else

echo "Record found"

echo $record

record=`grep -v "^$rno" "$db" > tmp.txt`

mv tmp.txt $db

echo "Record deleted."

fi

}

display()

{

echo " Complete database..."

cat $db

}

MENU1="***********Menu***********

1)Create

2)Insert

3)Search

4)Modify

5)Delete

6)Display

7)Exit

"

while true

do

echo $MENU1

echo "Enter the choice: "

read n

case $n in

1) create

;;

2)insert

;;

3) search

;;

4) modify

;;

5) delete

;;

6) display

;;

7) exit

;;

esac

done

#written by:Fabianski Benjamin

Where is run option in ubuntu?

Press ALT + F2. THis is the default hotkey so unless you have gone through the menus and changed it this is it.

How do you initiate a new hard drive in Linux Ubuntu 9.10 so that it is recognised in Computer?

You do not need to "initiate" a hard drive. If the hard drive is installed correctly, Ubuntu will detect it.

Need to install ubuntu driver for a logitech 9000?

The device is supported out of the box in Ubuntu; there is no need to download a separate driver.

Is ubuntu compatible with Mac?

Yes. The same CD used for PCs can also be used on any Intel Mac. A version for older PowerPC Macs is also available, but is no longer officially sponsored, so you won't be able to order a CD (but you can still download it).

What does X OPEN represent?

X Open represents a European consortium designed to develop standards for the Information Technology area. See the related link for detailed information.

Is ubuntu better than mac os x?

It is the users opinion! That is what Ubuntu stands for, too. The user has a choice, and Ubuntu wants to be that choice.

I like Ubuntu more than OSX and I think it looks a lot more professional.

How can you verify the ubuntu you are installing is authentic?

To verify the integrity of the install media, to ensure all is as it should be, one has the option to compare md5sum hashes.

How do you check a disk for errors in Ubuntu?

The same as in pretty much any other Linux or Unix distribution.

NOTE: If you wish to repair a file system, it is recommended that you dismount it first (umm, strongly recommended, in fact).

Switch user to root and issue the fsck command (dismounting the file system first if disk repairs are intended) passing the pathname of the device to be checked (and optionally repaired) with the fsck command.

Most implementations of fsck include command line interface switches that permit interactive repair or automatic repair of file systems, depending on the user's knowledge levels or personal preferences. If you aren't familiar with the particulars of file system repairs on the file system to be checked, it is recommended that fsck be allowed to make it's repairs automatically.

Lastly, if the file system was dismounted before fsck was run, remount file system on desired mount point and use as desired.

How to Connect vga monitor to ubuntu 9.1?

You have to press something like Fn+monitor symbol in your keyboard after monitor is connected.

My Curser is frozen how can I free it?

restart your computer. if you cant turn it of with the mouse just hang onto the on button for a few seconds or press the reset buton.

Laptop wants a HDD password and you forgot it?

If you've encrypted your hard drive on install and you've forgotten your password, you've few options in terms of recovering data. If recovering your data is a non-issue just reinstall.

What are the mandatory partitions at the time of installation in Linux?

For modern computers there is only one required partition: the root (/) partition.

For very ancient computers, the BIOS may only read the first few bytes to find the boot loader. In this case you should have at least the two partitions (/boot and /)

additional partitions may be suggested, but are certainly not a requirement.

SWAP partition (similar to a 'page file' from the Windows world. most people want this)

/home (contains user settings and data. most people want a separate partition for this)

/var (changable data that is still written to disk, like your print queue and things like that)

/usr (applications are generally installed here. You could separate it from the OS by partitioning it out)

How do you install a PCI card on Ubuntu?

This really depends on what you're installing (ex video, sound, modem, etc.). Once the PCI card has been physically installed the hardware should automatically be recognized by ubuntu. Ubuntu includes a wide variety of generic drivers that should allow you to use the device. If it is not detected google ubuntu and the model number of your hardware there is likely to be documentation for its installation

What is better zorin os or ubuntu?

If you are starting and new to Linux try Zorin OS.

If you are experienced and know more about and how to use Linux the get Ubuntu.