Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

251.

Solve : FTP Configuration on linux?

Answer»

I am configuring FTP on slackware and FACING PROBLEM regarding users login.Please help.

252.

Solve : make my read only ntfs read-write in opensuse 11.0?

Answer»

i KNOW THERES a load of info about it on the net, but i don't get it at all :S
the clearest MANUAL said i had to edit my fstab file and add -rw instead of -ro in the options section, but there is no indication about an options section and -ro doesnt APPEAR in the file

how do i do this? (my ntfs with windows XP on it is automatically mounted at boot)

thanks!
Not all Linux distros have the requisite tools to write to NTFS partitions.  Which distribution are you using?

253.

Solve : using ed?

Answer»

If I use ED for a file and then do the FOLLOWING:
g/the/s/the/one/g
g/the$/s/the$/one/
g/^the/s/^the/one/
do I NEED trailing g for the second and THIRD statments ? and if not why not?
i SUGGEST awk
Code: [Select]awk '{gsub("the","one")}' file

this says to globally replace word "the" to "one"

254.

Solve : Distro Suggestion for application??

Answer»

Looking for a Linux Distro that is easy to install to USE as a dumb work station terminal on P-II and P-III CPU systems w/ 256MB RAM, in which users will work through a Citrix Terminal Window for all their activities.

Looking for a distro which will be very basic with a GUI and Mozilla or KDE Browser on it and nothing else so they can connect to the Citrix Server through the browser.

Maybe I should just use Fedora and strip everything from it but the browser and GUI. If there is a Kiosk distro this might be SORT of what I need. But I haven't seen any Kiosk like distros that are basic like this.

I have used Knoppix before also, but I dont know how to remove the programs from it and force the browser to open at our Citrix Server Link... Would be interrested in the Read-Only environment of a Live CD if this is possible. Otherwise a regular non-Live distro would work.

Thanks for your suggestions...

Dave  :-/Would *censored* SMALL Linux have enough on it to do the job?  It may already be stripped down enough for you.  Additionally, I like Ubuntu, but I am not a Linux expert.  It works well for me when I use it.Vector Linux would be right up your ALLEY.  Used Ubuntu before... Nice but full featured...

Never heard of Vector Linux... Checking into it right now.. Thanks  [smiley=thumbsup.gif]Dave, whilst you're looking into this, you might want to check out the >Linux Terminal Server Project<.

255.

Solve : viewing large file?

Answer»

hello all,

i have a very LARGE text file to OPEN (almost 4gb) ...i tried to open in windows but cant open that much big file...so i wanna know can i open in linux or if i can see some of the data from that file....if yes lemme know the procedure and the commands...

thanks & regards,
pankajuse the more command to view the file page by page. if you want to find some text in the file or do something with the file, use awk. Granted I've never tried a 4GB file, I'd imagine a more sophisticated program should still be able to open it. I've opened several HUNDRED meg to 1GB files in Textpad, my favorite Windows text editor.

Just curious what type of data is consuming 4GB?Large Text File Viewer 5.0

This program was designed for viewing large (>1GB) text files. It uses little memory and is able to open a gigabyte file instantly.

Free.

http://www.topshareware.com/Large-Text-File-Viewer-download-11000.htmNice suggestion. @OP , if you want to view a large file in *nix, you can use vim. from the vim faq
Quote

Maximum file size 2147483647 bytes (2 Gbyte) when a long integer is
32 bits. Much more for 64 bit longs. Also limited
by available disk space for the |swap-file|.
Dear All,

there's an OpenSource project allowing the display of large files. It is written in Java language: you can find it at http://sourceforge.net/projects/largefileviewer/

There's a user manual.

I tried it with a 1.8GB text file WITHOUT any problem but you have to use parameter -XmxMEMORY_SIZEm when you launch the program. For INSTANCE:

java -Xmx700m -jar LargeFileViewer.jar BigFile.txt

I never tried with a 4GB file size, in this case the -Xmx700m must be replaced by a bigger value.

I heard about some limitations with the JVM heap space (2GB, but must be checked).

Hope this will help you.


Best Regards.
gosh, Java. now i wait for the program to startup, while i sip coffee.
256.

Solve : difference between awk and sed scripting?

Answer»

the main difference is that in sed script he script is made to excute once,
but not in awk
but i am not clear with it .

can any one help me out ...........
Quote from: surekha on November 02, 2008, 12:20:29 AM

the main difference is that the script is made to excute once in sed but not in awk
but i am clear with it .

can any one help me out ...........


you have to make your question clear. Both are tools for processing text. awk is a programming language whose main purpose is processing text BUT it can be used as a general purpose programming language as well. yes both can be used as programming language
but i dont know whats the difference ,since both are used to search pattern
Although sed and awk are similar they do have different purposes.

Sed is a stream editor mainly used to change change a field. For example:

sed -e 's/oldstuff/newstuff/g' inputFileName > outputFileName

would change all OCCURENCES of oldstuff to newstuff in inputFileName, and redirect the output to outputFileName.

Awk is more usualy used to format fields. For example:

awk '/regex/ { print x }; { x=$0 }'

This would search for occurences of /regex/ and print the line FOLLOWING it.


This is not hard and fast though as there is some overlap between the two.Helo, Caleneledh and wel come to the CH forum.

This may be AWK ward, but no a criticisms of what yu just SED.

Most likely ghostdog74 will not RESPOND to your answer. Its been a year from the time he made the post. But maybe he will drop it and see it.

But anyway, I enjoyed your answer. Now I know the difference.

Here is a reference:
http://www.faqs.org/docs/abs/HTML/sedawk.html
I put that here so the search engine will have some information for the keywords AWK and SED and what is the difference between AWK and SED.
Quote from: Caleneledh on March 11, 2010, 02:03:21 PM
Although sed and awk are similar they do have different purposes.

Sed is a stream editor mainly used to change change a field. For example:

sed -e 's/oldstuff/newstuff/g' inputFileName > outputFileName

would change all occurences of oldstuff to newstuff in inputFileName, and redirect the output to outputFileName.

Awk is more usualy used to format fields. For example:

awk '/regex/ { print x }; { x=$0 }'

This would search for occurences of /regex/ and print the line FOLLOWING it.


This is not hard and fast though as there is some overlap between the two.

sadly, not true. sed is a stream editor to manipulate and change text. All it ever does is using regular expression. PLUS some buffers to hold data. that's about it. It lacks abilities to count (at least easily), or lacks arrays, and other programming constructs. While, awk on the other hand, does the job of sed more easily and more intuitively. it can ALSO REPLACE text as easily as using sed. In the end, they actually do not have different purposes in terms of text/file processing.
Code: [Select]sed 's/old/new' file

same as
Code: [Select]awk '{sub("old","new")}1' file

Now, take a csv file that is comma separated and say i want to find the value of the 3rd field. Its more easily done with awk than with sed. eg

awk
Code: [Select]awk -F"," '{print $3}' csvfile
sed
Code: [Select]sed 's/\(.[^,]*\),\(.[^,]*\),\(.[^,]*\)\(.*\)/\3/' csvfile

You can learn both sed and awk, but frankly, for all your text/file processing + programming needs, just learn awk will do.
Quote from: Geek-9pm on March 11, 2010, 02:18:29 PM
Most likely ghostdog74 will not respond to your answer. Its been a year from the time he made the post. But maybe he will drop it and see it.
well, i seldom click "New replies to your posts", but if i do, i would reply as necessary

257.

Solve : carriage return not working from command line but ok on cutecom?

Answer»

I have a device that communicates with the PC using the serial port. When communication is established I get a prompt from the device where I'm supposed to type commands and hit ENTER.
But when I do this, the cursor just goes to the next line and the command is not executed.
I'm using bash and I assume this is a problem with RECOGNITION of the "end of line" or "carriage return"... so I tried the usual shell non printing characters:
deviceprompt> ANYCOMMAND\n\r
Also, I'm using
stty -F /dev/ttyUSB0 19200 -cstopb cs8 -parenb -crtscts -ixon -ixoff onlcr
all stty options are according with the device SPECIFICATIONS and WORK fine, except onlcr... I was hopping that this option could help my problem with the carriage return but it didn't

If I connect with the device using cutecom, there is no problem at all, I just select the option "CR line end" and every thing works fine.
Any suggestions WOULD be appreciated.
Thanks;-)

258.

Solve : unix replace character?

Answer»

hi i would like to know how to REPLACE the 2nd/3rd... character in a string without knowing what value it holds.update:i CANOT use sed or awk..
for example : if i do
$ expr index "string" N
i'll get 5, as n is the fith char, so how do i replace the 5th char?
you just do a substring

Code: [Select]$ s=1234
$ echo "${s:0:2}replace${s:3}"
12replace4
THIS IS EXACTLY WHAT I'M LOOKING FOR!!!!!! THANKS MATE!!THIS IS EXACTLY WHAT I'M LOOKING FOR!!!!!! THANKS MATE!!

*sorry..didnt see that reply THING..
Quote from: ghostdog74 on March 21, 2010, 06:50:33 AM

you just do a substring

Code: [Select]$ s=1234
$ echo "${s:0:2}replace${s:3}"
12replace4

259.

Solve : Regarding Decimals in Cshell?

Answer»

Hello...

I am new to unix and I am wondering if in a C-shell script , Are we supposed to use only whole NUMBERS........ for example..if a program needs to calculate the average of some numbers........

@ avg = (($1 +$2 + $3)/3)) is returning a whole number.........How can a decimal be achieved in a CShell........

THANQ for your time.........first of all see here. If you want to do arithmetic, use awk , bc or dc.
eg
Code: [Select]awk 'BEGIN{ print 1+2+3/3}'
or
Code: [Select]echo "$1+$2+$3/3" | bc
The C-shell cannot do floating point (decimal) arithmetic, for example, 1.1 * 2.3. However, you can invoke the bc calculator program from within a shell script to perform decimal arithmetic. Probably the simplest WAY to do that is to define an alias, called for example, "MATH", that performs decimal arithmetic via the bc program on the variables or constants passed to the alias.

260.

Solve : Using GParted?

Answer»

How do you use GParted to resize a partition. I've been trying to figure this out for a while. I was told that I can use the disk that I installed Ubuntu on. I tried it and I could not resize. I wish I can delete the GRUB from the boot loader and start over. When I turn my laptop on it gives me six options
Ubuntu 9.04 generic
Ubuntu 9.04 recovery
Ubuntu mem test
Other Operating Systems
Windows Vista Loader (normal)
Windows Vista Loader (recovery)

There is not a problem when booting, everything loads, but when I run Ubuntu, I can't save anything because it says I do not have enough disk space. I think when I installed Ubuntu from the disk, I did not SET the partition manually and I used Wubi from the disk I created. Is there any way to fix this because I really want to use Ubuntu. I would also like to try Linux MINT. I HEARD that Mint looks better than Ubuntu. Linux Mint is pretty. I'd go ahead and download Mint and run gparted from the livecd. I recommend for you to stick to a basic partition scheme consisting only of root (/) and a GIG or two of swap.Do not use GParted with a drive that has vista installed. (Until you are fully prepared.)

Do you have a backup?
Do you have the Vista install CD?
Quote

After resizing my Vista partition,
Vista won't boot. How can I fix this?
Posts like the above are found on some Linux forums.

Before you go any further, you need to have a backup and the vista install CD. Be aware Linux utilities can erase all data on a laptop, including the recovery partition.

Now thien if you are ready, here is an excellent tutorial the tells yuou how.

http://www.howtogeek.com/howto/windows-vista/using-gparted-to-resize-your-windows-vista-partition/

Please do not ignore the warnings.



261.

Solve : Ubuntu Karmic and Fujitsu C2310 Laptop?

Answer»

Hey guys, I just installed Ubuntu a few days ago. I thought it was time to try Linux again.

Anyway, to make a long story short, I'm apparently using the generic drivers, and have no idea where to find the specific drivers or how to INSTALL them. Here is a link to the craptop, err laptop's specifications.

Any ideas?Are you having any problems with the generic drivers? Which drivers do you NEED?I'm actually not experiencing any problems, but I do prefer to have the actual hardware specific drivers.

I just have no idea where to find them or how to install them. I haven't run Linux since Mandrake 7.2(many years ago).Well, it's a lot like windows. You go the the hardware manufacturer's website. For example, You have a Intel Extreme Graphics 2 GPU so you would go here:
http://downloadcenter.intel.com/SearchResult.aspx?lang=eng&ProductFamily=Graphics&ProductLine=Desktop+grap

The fujitsu site only has XP drivers listed for your machine. You will have to find drivers from the specific component manufacturers websites. As far as I know there is no program for linux like everest, that will tell you the details of your hardware.

The best advice that i can give here is: If it aint broke don't fix it. You can cause yourself a lot of HEADACHE monkeying AROUND. Unless you have a specific reason to install a driver just leave it alone. Cool, I just thought there might be one site with a suite of drivers for my craptop.

I do tinker, and I am well aware of the grief it can cause, that's why I'm testing Linux again. Many of my friends are asking, and I can't give them an EDUCATED answer unless I screw around with it.

This is by no means my only computer and I really don't care if the software gets messed up. Format and reinstall is easy.

262.

Solve : Removed Ubuntu?

Answer»

I removed the partitions to had ubuntu installed using windows xp, now when i restart grub says disk not found then goes to Grub recover>


I want to remove the grub and go back to using xp only, i do not have a windows CD.
How do i FIX this?

Thanks Bunafireman825Quote from: bunafireman825 on January 13, 2010, 07:23:19 PM

using xp only, i do not have a windows CD.
How do i fix this?

Then you cannot get XP, unless....Quote from: bunafireman825 on January 13, 2010, 07:23:19 PM
I want to remove the grub and go back to using xp only, i do not have a windows CD.
How do i fix this?
Is this a brand name COMPUTER or a home built computer?We had a guy build it, then i have changed motherboard/ CPU but kept hard drive with xp on it.


Would creating a usb flash drive BOOT disk help, if so how do i create one?I only ASKED because if it was a brand name you could contact the manufacturer and arrange for the disks to be sent out. Alternatively you could also borrow a disk from a friend, make sure it's the same version that you had and REINSTALL it. You would want to use your own key however for activation purposes.Download the XP recovery console disk here:
http://www.thecomputerparamedic.com/files/rc.iso

Use an image burning program, such as imgburn, to burn the image to a disk. (if you need help with this post back and I'll walk you through it.)

Now boot to the disk and press R to enter the recovery console. Then you will be asked which XP installation that you want to log onto. If you have only one XP installation on your computer, press 1 and then press enter. Then you will be asked to enter the administrator password. If there is no password, leave it blank and press enter. You should then see this prompt:
C:\Windows>

At that prompt type in:
cd\
This will take you to a standard C prompt.

At that prompt type in:
Code: [Select]fixbootand then
Code: [Select]fixmbr
Good luck!I'm not sure if the recovery console will help him if he's blown out his partitions. But I'm off to work, so I will say good luck Burnafireman825.Quote from: Quantos on January 14, 2010, 05:37:01 AM
I'm not sure if the recovery console will help him if he's blown out his partitions. But I'm off to work, so I will say good luck Burnafireman825.

no, he deleted the partitions with Ubuntu on them; the only thing left is the grub boot loader in the MBR; the recovery console should be able to rewrite the MBR back to the default. (the default being the one that looks for boot.ini and all that)Thanks to all that helped.
JJ 3000 That worked perfectly.

Thanks Bunafireman825Quote from: BC_Programmer on January 14, 2010, 06:37:16 AM
no, he deleted the partitions with Ubuntu on them; the only thing left is the grub boot loader in the MBR; the recovery console should be able to rewrite the MBR back to the default. (the default being the one that looks for boot.ini and all that)

Good catch BC, I must've read that wrong.

Good work JJ, You're the man.
263.

Solve : Chess help?

Answer»

Hello, I'm having a problem with the chess program that comes installed with Ubuntu. It has been working fine until tonight. I though that I might try the 3d mode. When I tried to switch I got: "Unable to enable 3D mode Your system does not have the required software to enable 3D mode".

So I searched the Ubuntu forum for the the solution. I found this page:
http://ubuntuforums.org/showthread.php?t=551414

KIAaze responded to the problem and suggested entering the following into the command line:
sudo apt-get install python-opengl python-gtkglext1 libgtkglext1

So I opened up the terminal and copied and pasted the code. Then I opened chess and clicked on view and chose 3d view. I got the same error as before. I thought that the problem might be that the chess program was running when I ran the code. So I exited chess and tried to open it again. This is where the problem started.

Chess crashed. When I clicked on it I could see the "starting chess" in the bottom toolbar and then It would appear for a second. Then it would just disappear.

I shut down the computer and then rebooted. Now I cant open chess at all. I'm getting really frustrated because I really like to play this game. Every time I try to launch it the game crashes.

I read the thread again and noticed that the original poster said that he had version 7.04. I have version 9.04. Does that make a difference?

Can someone please help me. I just want to play chess again.Hi,

Ever try reinstalling Chess after getting the GL Libraries?Additionally- are you using Video drivers specific to your card/card family or just the generic type installed with Ubuntu?Quote from: TheUnixGuy on December 29, 2009, 02:05:13 AM

Hi,

Ever try reinstalling Chess after getting the GL Libraries?

How do I do that? Do I use the Ubuntu CD?

Quote from: BC_Programmer on December 29, 2009, 08:08:34 AM
Additionally- are you using Video drivers specific to your card/card family or just the generic type installed with Ubuntu?

I'm using the generic drivers. The computer I'm using isn't the best. The video card is low end. It's and NVIDIA RIVA TNT2 with only 64mb of video ram. I don't think that it's capable of running the 3d mode. I went to the NVIDIA website and found the driver for my card but I've run into another problem here: I cant get the driver to install.

I followed the instructions on the NVIDIA site. Here's the link:
http://www.nvidia.com/object/linux_display_ia32_71.86.11.html

I have next to no experience with Linux, but I thought that installing a driver couldn't be too hard.

I downloaded the file and saved it to my desktop. Then I opened the terminal and typed in: sh NVIDIA-Linux-x86-71.86.11-pkg1.run

Every time I do that I get: Can't open NVIDIA_Linux-x86-71.86.11-pkg1.run
I've tried doing this several times. Also I've tried clicking on the driver and running it but that doesn't help either. Could someone please tell me what I'm doing wrong?

I'm starting to get really frustrated with this problem. Isn't there some WAY to undo the change I made when I ran that code? Could I FIND that software that I installed and delete it? If so, where would it be?Hello,

Go to Applications/Ubuntu Software Centre. Type "Chess" (you might need some manipulations to the query) and you will get relevant software available in the repos and locally installed. Just Uninstall it and after it is done, install it from the list.

You could use Synaptic Package Manager alternatively, but thought Software Centre is better for you.

Good Luck.I went to Applications -->Add/Remove and typed in chess. It found the software. It is bundled with the other games that come with Ubuntu. So, I removed games bundle, and then restarted the computer. I checked to make sure that chess was removed - it was (along with the other games). So I went back to Add/Remove and reinstalled the bundle. Chess still crashes when I try to launch it!

Isn't there some way to undo the change I made when I ran that code?

Also, I'm still having the problem with the video driver. I went to System -->Administration -->Hardware Drivers and I get: Searching for drivers and then I get a window that says No proprietary drivers are in use on this system at the top. The window is empty and I can only click on Help Or Close near the bottom of that window.

Another person suggested that I might need to make the driver an executable. He said that I might be able to get the NVIDIA driver to install by running the following code into the terminal: Code: [Select]sudo chmod +x NVIDIA_Linux-x86-71.86.11-pkg1.runDo you think that will work? I'm HESITANT to run this code because running a code started my problem with the chess program and I don't want to make things worse.

Any advice is appreciated.Hello,

I guess I see whats wrong. Try this in a terminal (Applications->Accessories->Terminal):
Code: [Select]sudo apt-get remove glchess
sudo apt-get install glchess

It would be better if you could paste the output of both the commands.Thanks for the help, Unix Guy. I really appreciate your help. I was frustrated with this issue so I decided to just reinstall Ubuntu. I wanted to upgrade to the new version ANYWAY. So I downloaded a fresh iso of version 9.10, burned a new disk and installed. I did this the night before your last RESPONSE, so I didn't have a chance to run your code.

I think I like this new version better than the previous one. It has a different look and seems more intuitive. The important thing is I can play chess on this computer again. I still can't beat it on the hard setting, but I keep trying. Hi,

Great! No reason why Chess shouldn't work now . Going to try the 3D Mode now?I don't think I want to go down that road again. Like I said: I don't think that my video card is capable of running the 3d mode.
264.

Solve : CentOS, how good is this operating system??

Answer»

How's it compare to ubuntu or fedora?

All of them are all most the same, CentOS uses recycled code made available to them from Red Hat, but Red Hat is not officially affiliated with them. Fedora is fully sponsored by Red Hat and it has the 2nd largest community after Unbuntu. But both Unbuntu and Fedora are affiliated with actual companies, Canonical for Unbuntu and Red Hat for Fedora unlike CentOS, which helps with updates and error management. I personally prefer Unbuntu because the community is larger and with my experience I had great error help from the community and because Ubuntu offers several different distributions like Kunbuntu and Xubuntu. But Linus Torvalds, author of the Linux kernel, says he uses Fedora. But it really doesn't matter because they have very similar characteristics. so basically CentOS is an independent fork of the Red Hat Linux?

I HEARD Ubuntu was one of the better linuxes if you wanted more of a GUI interface rather than having to use the terminal commands so much ....I'm fixing a laptop for my brother right now, and I decided to force him to LEARN linux by installing Linux Mint along side his XP. It seems pretty nice. It has a highly customized version of gnome, which makes it somewhat more unique looking than other distros that use standard desktop environments. Also it's based on ubuntu and supposedly one of the most user-friendly of distros along with pclinuxos.Quote from: 2x3i5x on January 06, 2010, 11:14:59 PM

so basically CentOS is an independent fork of the Red Hat Linux?

I heard Ubuntu was one of the better linuxes if you wanted more of a GUI interface rather than having to use the terminal commands so much ....

All the big distros have GUIs. Generally it comes down to KDE or Gnome. Ubuntu has GO a reputation because it has been aimed at people who are used to Windows.
Quote from: Salmon Trout on January 07, 2010, 12:39:56 AM
All the big distros have GUIs. Generally it comes down to KDE or Gnome. Ubuntu has go a reputation because it has been aimed at people who are used to Windows.


So Ubuntu would be the most windows-like linux distro out there? Quote from: 2x3i5x on January 07, 2010, 11:47:02 AM
So Ubuntu would be the most windows-like linux distro out there?

Some people say so.
I find Linux Mint and PCLinuxOS to have INDISPUTABLY the most Windows-like menu and default interfaces. They're still just gnome and kde, respectively, customized with the distributions own patchsets.Hello,

In my opinion, Ubuntu goes for novices who are used to Windows. In a professional environment, I would go for Gentoo since I control what I want.

Your distro CHOICE depends on where and how you are going to use it and how skilled you are.

CentOS is aimed towards a business environment most likely to be operated by a Sysadmin rather than a just evolved Windows user while Ubuntu is better user friendly.

265.

Solve : Ubuntu 9.10 can´t access to the system?

Answer»

I have installed Ubuntu 9.10 and when I SHUT down the PC and turn it on, the Ubuntu 9.10 can't access to the system.
How can i fix this issue. Thanks for helping.

Bye,
Carlis.Quote from: Carlis on January 05, 2010, 10:22:16 AM

Ubuntu 9.10 can't access to the system.

Can you be a bit more specific, do mean Unbuntu won't start up at all or Unbuntu can't access the HDD?I mean Ubuntu won't start up at all.
Does the hard drive show up in BIOS?The hard drive show up in Bios.
I know a trick to access to the system.
If the system is off, I turn it on and then I have to press the Esc KEY several times to access
to the system. If I don't do it, the Ubuntu 9.10 can't access to the system.
You must be more specific about what is happening.

Where are you getting this "Ubuntu can't access the system"? Are you receiving a grub error? Are you even reaching grub?

Do you have multiple hard drives? and if so, by pressing escape, is that bringing up a boot menu to select which hard drive to boot from? Otherwise, what is pressing escape accomplishing?

Also, verify that you installed grub to the mbr.I am not getting this message: "Ubuntu can't access the system"
It's my expression about the issue.
The pc is off and then I turn it on: The screen shows me the Ubuntu logo and after that
is going to be in black screen and don't do ELSE more. The pc is blocked.
The pc is off and then I turn it on and I have to press the Esc key several times and
I get the Gnu Grub version 1.97~beta4 screen and I choose:
Ubuntu , Linux 2.6.31-16-generic.
I am no receiving a grub error.
I reach the grub if I press Esc key several times when I turn on the pc.
I have one HDD.
How do i verify if I installed grub to the mbr ?

Thanks for helping.
I've been slackin and don't have any experience with grub2 yet, but if you could post the contents of /boot/grub/grub.cfg, we might find some insight there.ok.
Here, I post the contents of grub.cfg:

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s /boot/grub/grubenv ]; then
have_grubenv=true
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
saved_entry=${prev_saved_entry}
save_env saved_entry
prev_saved_entry=
save_env prev_saved_entry
fi
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set c6464e80-cdfa-4f63-8eb0-911c4917391f
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/white
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-16-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set c6464e80-cdfa-4f63-8eb0-911c4917391f
linux/boot/vmlinuz-2.6.31-16-generic root=UUID=c6464e80-cdfa-4f63-8eb0-911c4917391f ro quiet splash
initrd/boot/initrd.img-2.6.31-16-generic
}
menuentry "Ubuntu, Linux 2.6.31-16-generic (RECOVERY mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set c6464e80-cdfa-4f63-8eb0-911c4917391f
linux/boot/vmlinuz-2.6.31-16-generic root=UUID=c6464e80-cdfa-4f63-8eb0-911c4917391f ro single
initrd/boot/initrd.img-2.6.31-16-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set c6464e80-cdfa-4f63-8eb0-911c4917391f
linux/boot/vmlinuz-2.6.31-14-generic root=UUID=c6464e80-cdfa-4f63-8eb0-911c4917391f ro quiet splash
initrd/boot/initrd.img-2.6.31-14-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set c6464e80-cdfa-4f63-8eb0-911c4917391f
linux/boot/vmlinuz-2.6.31-14-generic root=UUID=c6464e80-cdfa-4f63-8eb0-911c4917391f ro single
initrd/boot/initrd.img-2.6.31-14-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
linux16/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
linux16/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
if [ ${timeout} != -1 ]; then
if keystatus; then
if keystatus --shift; then
set timeout=-1
else
set timeout=0
fi
else
if sleep --interruptible 3 ; then
set timeout=0
fi
fi
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###





Please, use code tags for presenting files.

Do both kernels boot fine from the grub menu?

Also, can you show the contents of /boot/grub/grubenv and /boot/default/grub?How do i use code tags for presenting files ?
I dont understand this:

Do both kernels boot fine from the grub menu?
Ok.
I am going to show the contents of grubenv and grub.
The content of grubenv:
# GRUB Environment BLOCK
#######################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################

I dont have default folder.

Thanks for helping.
you're going to need to edit your previous posts and put the text from the files in code tags. Use the BBC tag labeled "code". they look like [ c o d e ] [ / c o d e ]. and check for /etc/default/grub again.

EDIT: and if the code tags on this forum don't add left-right scroll bar, add some breaks denoted with a " \ " at the end of the line. Please.The content of grubenv:
Code: [Select]# GRUB Environment Block
#######################\
The content of grub:
Code: [Select]# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT="10"
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entrys
#GRUB_DISABLE_LINUX_RECOVERY="true"

266.

Solve : root file?

Answer» YO JUNK needs to look something like the attached image.

Note, /home is superfluous, but swap is recommended. Notice the /. That is your root partition. It is absolutely required.


fixed that for you unter ubermensch

note, OP, that / means "root" (which is what you were lacking).

did I do something wrong...? Directly linking to an image on a non-image hosting site? my bad. just something I saw on a google image search for "ubuntu MANUAL PARTITIONING"
Quote from: ubermensch on JANUARY 07, 2010, 12:26:30 AM
did I do something wrong...? Directly linking to an image on a non-image hosting site? my bad. just something I saw on a google image search for "ubuntu manual partitioning"

No, you didn't do anything wrong, it's just that I thought it would be more useful to see the image you intended, rather than Serenux's "Don't hotlink!" png
oh haha, I had the original cached and didn't realize what was happening.

P.S. Salmon, I'm still not a Nazi, just an existentialist and an objectivist. Would it make you feel better if I created a new account, Mr Trout? I will, sir. Just for you, man. Cuz yer my buddy.
267.

Solve : Thinking of trying Ubuntu?

Answer»

I ordered a disk from Linux-UBUNTU 9.1. It was identical to the download- corrupted and unusable except when I RUN it from the removable drive. They say they come up with an updated version EVERY six months.
Maybe I'll just wait for the next version...What kind of Ubuntu is the best?

I see there's the regular Ubuntu everyone's TALKING about, but I also see there's xubuntu, kubuntu, edubuntu, etc? People, verify your md5 checksums after downloading large files. Every single distribution mirror you will ever download from INCLUDES them for a reason. Check them after download, and again after burning.

And "best" does not exist, only preference. Ubuntu utilizes the Gnome desktop environment, and Kubuntu KDE. They're the most feature rich and resource hungry. No one can say what you'll like though, so try them both.

268.

Solve : Wine for Linux?

Answer»

I currently have LINUX with a DUAL boot with Windows Vista.

I am trying to use programs via the WINE program on Linux so I can use Windows programs within Linux.

I have no idea how to set the WINE program up so I can use windows programs with it. Ive looked all over the Internet trying to find a help guide but have no look. Am help in using the WINE program would be greatly appreciated.

Thanks in advance
Seanwhy don't you try the official WINE site?I would suggest trying either WineHQ or this site for FAQ's and how-to's.Which distro are you using? Why dont you try the command line
$ wine

I have not used it for a long time but, if it is installed already just download your winprogram.exe file and save it to desktop then open it if prompted for what with select wine and it will walk you through the processWINE (Wine is Not an Emulator -- that's what it stands for) is not an emulator (if you didn't gather from my acronym definition).

It's an important point to make. Most people expect out of WINE what they would expect out of an emulator.

I am going to assume that you are using a common Linux distribution, such as Ubuntu or Debian.

Open your Package MANAGER ("Add/Remove Software", in some systems) and search for "Wine"
Double-click Wine, and the "Install" button.

When you want to run a .exe program, right click the program and "Open with WINE"

I also advise looking into PlayOnLinux for use with Microsoft Office and other games.

Best,
Jesse Zylstra
WINE is a compatibility layer. the problem is that all compatibility layers, by definition, are emulating features that otherwise are not present. So the acronym really isn't true at all, kind of like LAME (LAME Ain't an MP3 Encoder, yet that's exactly what it does).

Linux doesn't use the Win32 API. WINE emulates it for windows programs. It's not a low-level emulator, like, say, SNES or NES emulators, that have to emulate an entirely different CPU architecture, but a higher level one- it emulates the FUNCTIONS of the windows API.

It's kind of like the old unicode layer dll, UNICOWS.DLL; you packed it up with your app so that you could still call the Unicode version of API functions through the layer; if you were running on NT, the layer called the native routine. Otherwise it emulated it. the program really didn't need to know which of these occured; all it did was call the function. wether the feature was emulated or "real" was inconsequential.Quote from: BC_Programmer on December 21, 2009, 03:20:39 AM

So the acronym really isn't true at all, kind of like LAME (LAME Ain't an MP3 Encoder, yet that's exactly what it does).

It's one of the well known "recursive acronyms" beloved of 'Nix folks, like Linux — Linux Is Not UniX, GNU — GNU's Not Unix, etc



would Crossover make things easier than if you're just going from WINE straight on?One thing that has not been asked is which windows programs do you want to run on Linux because there is generally an equivalent or better linux program.Quote from: moksha on December 21, 2009, 04:05:08 PM
One thing that has not been asked is which windows programs do you want to run on Linux because there is generally an equivalent or better linux program.

good point.I read somewhere where they said Linux has the capabilities of M$ Windows NT + $5000 worth of software on it. You believe that?Quote from: 2x3i5x on January 05, 2010, 11:05:22 PM
I read somewhere where they said Linux has the capabilities of M$ Windows NT + $5000 worth of software on it. You believe that?

not really. while most commercial windows programs have freeware equivalents on Linux, there are also freeware equivalents of them for windows, so the comparison is a bit biassed in that regard. (the 5000$ software for windows could EASILY have freeware equivalents that are also for windows)
269.

Solve : Open Source security tools?

Answer»

hi, Is there any one who has worked or working on OPEN soucre SECURITY TOOLS??
I need help so please if any one in this field contact me
thankswhat are you looking for?

basic antivirus?
i use Avast! AntiVirus they have a home edition that you can download and basically its a year subscription for free, just sign up your email

adware removing?
Ad-Aware

spyware removal?
SpyBot - Search & Destroy is good

ive used Hijack This before, REALLY good toolYou may find something here.

http://dazuko.dnsalias.org/wiki/index.php/Dazuko-based_Applications

270.

Solve : Ubuntu again?

Answer»

sorry for the three topics but i have a different problem i downloaded it once but forgot the name downloaded it a second time then i figured out the name was administrator i couldn't believe i didn't think of trying that any way i tried it it started working got my 3d cube working like i wanted in compiz also i got my youtube videos to work but it wouldn't even load half of the time and it kept stoping,
What kind of media media player would you recomend downloading i can't remember what it downloaded for youtube videos to work so i deleted it and thought i would reload it again and try something else but the second time i loaded ubuntu i fell asleep and installed the rest of it when i woke up but when i started using it is was slow on the internet it was not slow before i could hardly multi task at all without it locking up are going into a dark screen and then i had to wait a minute before i could do anything i don't think it's my computer because i',m running xp proffesional I Always have alot of web pages open i got 13 now and i know i could open a calculator play a game run a windows media player video play a youtube video and surf the internet all at the same time and it doesn't lock up are skip

i Have 2,8ghz 1 gb ram computer but i only had 5 gb of free space and ubuntu asked me for a 3 gb are a 4 gb installation and i picked the 4 but later i realized that i wasn't getting anything more why is that i looked up on wubi images and saw installation sizes of 8 gbs and more why is that does it help it run faster that's what i thought but i'm not sure i managed to free up about 2 more gbs and wondering if this will help ubuntu run faster if so i think i'm going to try to get some more gbs by burning all my pictures that's what most of my computer is about 10gbs worth

and also will downloading the latest driver for my computer help anyQuote

What kind of media media player would you recomend downloading i can't remember what it downloaded for youtube videos to work...
You don't need a media player to watch youtube videos; you do need to have Flash Player installed in Firefox.

Quote
i Have 2,8ghz 1 gb ram computer but i only had 5 gb of free space and ubuntu asked me for a 3 gb are a 4 gb installation and i picked the 4 but later i realized that i wasn't getting anything more why is that i looked up on wubi images and saw installation sizes of 8 gbs and more why is that does it help it run faster that's what i thought but i'm not sure i managed to free up about 2 more gbs and wondering if this will help ubuntu run faster if so i think i'm going to try to get some more gbs by burning all my pictures that's what most of my computer is about 10gbs worth
Due to your hideous grammar, I'm not totally clear on what you're saying. If you asking whether limited hard drive space may affect Ubuntu's performance, I don't know for sure but I would guess it may be a factor. I din't say i used a media player fore my youtube videos to work that was a different question i was just wondering what is a GOOD media player i could download


And i got my youtube videos to work with gstreamer in syphatic and i'm pretty sure i just misspelled that i'm new to ubuntu and i'm using windows right now so i can't check it, but i tried to download adobe and i keep getting errors

And i did add 1gb of extra memory and that helped with the system performence alot everythings just as quick as windows was before but it didn't solve my youtube video problems the youtube videos are just the same don't even work half of the time and when it does it keeps skipping

I'm liking ubuntu alot just as quick as windows opening programs going on the internet the applications switcher and cube is pretty cool for multitasking and the background effects are really cool you can make it snow in the background and still use your computer they have a huge selections of games in sypatic i wish they would make it easier to download stuff like adobe vlc google earth and all the programs like that i keep running into problems i still don't got my google earth working i did get google desktop working though and is there any good media player for ubuntu like winamp are something like a real player i tried to upgrade to the 9.10 and it said not enough memory i needed to free up about a gb and i picked a 6 gb installation and i know i didn't download even a 1 gb worth of stuff and ubuntu is only about a 1 gb installation and by what i being reading about 9.10 it doesn't sound like there adding hardly anything but the upgrade is bigger than the hole 9.04 version

and can you load any cds to ubuntu are can you only play dvds i thought you would be able to download games of of cds are atleast programs like 3d home achitect

were can i download some SOFTWARE for this don't reccomend sypatic i mean online like i managed to download opera vlc google desktop i would like a goode media player and other software of anykind what are some good download sights that are SAFE to download from i never HEARD of any of the sights when i type in ubuntu downloads so i don't know what's safe are not.Quote from: james202428 on October 08, 2009, 11:32:33 AM
I din't say i used a media player fore my youtube videos to work that was a different question i was just wondering what is a good media player i could download

You get Rhythmbox Music Player with Ubuntu. Have you looked at it?nope will do right now

and how do skip the password i have to type in everytime i use sertin programs Quote from: james202428 on October 08, 2009, 12:04:34 PM
and how do skip the password i have to type in everytime i use sertin programs
You can change password settings at System > Administration > Login Window. Keep in mind you're really lowering system security by disabling password login requirements.
271.

Solve : Ubuntu off ebay.?

Answer»

I recently bought something LIKE this

http://cgi.ebay.com/Ubuntu-Xubuntu-Kubuntu-9-04-PC-i386-Repository-6-DVDs_W0QQitemZ230366449948QQcmdZViewItemQQptZUS_Software?hash=item35a2e9111c&_trksid=p3911.c0.m14

off eBay from the same guy. I bought it thinking that it was Ubuntu Kubunt Xubuntu all on separate discs. I have no idea what it really is now that iv tried to INSTALL it on several PCs.

Any idea?"22GB of Software for Ubuntu 9.04 and it's derivitaves"

that says it all- it is a collection of programs designed for use with Ubuntu.


Oh. Now i feel dumb .
Thanks for your help. I should have read a little closer.You know that you can download those operating systems for free right?Yeah im aware of that. Its just i plan on using these discs on several COMPUTERS and dont want to risk any corrupt files or anything, plus i tried burning them myself and im not sure what is wrong but it didnt work for me.You need to use a PROGRAM that can burn the iso files onto the CDs. Download, and install free Imgburn: http://www.imgburn.com/index.php?act=download

When you download the ISO save it to My Documents and use imgburn to burn it to a disk.

You can download Ubuntu from here
http://www.ubuntu.com/getubuntu/download

Kubuntu is here
http://www.kubuntu.org/getkubuntu/download

xubuntu here
http://www.xubuntu.org/get

Yeah i did that with Imgburn. It doesn't matter anymore simply because i ordered the ACTUALLY OS already.There are a number of sites that will sell you a disc at a fair price and tell you what you are getting. Here are a couple. Lost more out there.

http://www.distrowatch.com/

http://www.cheapbytes.com/
request a free cd from ubuntu i tried to do this the last couple days but had not luck they said they would open again in a couple days no cost for shipping either i don't even think you have you have to give a credit card number

272.

Solve : Publish PHP Side?

Answer»

Hi to all if possible to PUBLISH php side FORM a home pc with small database

only ONE or 2 PAGE............ pls help ..Maybe this might be of some help.
You will need a copy of Apache that runs on a Windows PC.

http://www.webmasterworld.com/forum88/4361.htm
273.

Solve : Dual Partition Thumb Drive FAT32/Linux?

Answer»

I was wondering if there was a WAY to create a dual-partitioned Thumb Drive, so I can take say my Xubuntu 9.04 bootable thumb drive and shrink it to say 1/2 the existing partition and then create a partition in the 50% of space that becomes available as FAT32 to have cross platform support.

The idea I have is a cross platform Linux bootable thumb drive where I can SEND files to the thumb device from a Windows system as a thumb drive for the FAT32 partition, whereas the Linux partition is unseen.

Then boot off teh thumb drive and access these files on the FAT32 partition and be able to edit them etc, then PLUG the thumb drive back intot he Windows system and grab the edited files off the FAT32 partition.

This is for a laptop that I want to take on the road with me and keep all my data on the thumb including the OS. The laptop will be driveless. Then when I get back to my office I can pop the thumb drive into my Windows system and have access to my files that I worked on while on the road.

* I am able to create the bootable thumb drive and it works well, but resizing and adding FAT32 on a bootable thumb drive is an area that I am unfamiliar with and requiring assistance.

Also the USB thumb drive is 4GB capacity and I have about 2.6GB FreeParagon Partition Manager
Hey cool, but is there a free ALTERNATIVE than paying $40...maybe a Linux utility?Quote from: FearFactory on October 03, 2009, 09:26:48 PM

Hey cool, but is there a free alternative than paying $40...maybe a Linux utility?

Windows: SwissKnife

http://www.compuapps.com/Download/swissknife/swissknife.htm

Linux: gparted live cd

http://gparted.sourceforge.net/livecd.php

Thanks...I will try GPart
274.

Solve : disk to disk cloning for ubunto?

Answer»

Is anyone here knows a free software that can do a DISK to disk cloning for ubuntu and other linux operating system? pls send me the LINK of the free software.. Thanks in advance..Partition to partition copy is on easy way to clone a disk.
http://gparted.sourceforge.net/

In runs under many distros of Linux.
thanks buddy ill TRY this one.. is it ok to ask you for an assistance of this software.?I wasn't aware that Gparted could create disk images. Ive used Partimage for Linux partitions and have found it a very useful tool. You can get it here:
http://www.partimage.org/Main_Page

Acronis is the best imaging software but it's not free. yes your right.. thanks ill try the partimage mr.. thanks for the help..i dont know how to download the partimage. could you give the ftp link of the partimage my jj 3000..look here
http://www.partimage.org/Downloadthank you again for the link mr. jj 3000..Mr jj 3000 the acronis that is in the hiren's is similar to the acronis that your referring. or can i do the same thing like creating a partition IMAGE of ubuntu in this acronis in the hiren's utilities?IME, avoid Acronis. Very over priced, even if it makes coffee.

The Gparted program I mentioned earlier can make a good backup of the windows XP OS partition and any windows data partitions. It should NOT be used on Vista and Windows 7 boot partitions.

There are some good video tutorials about how to use it for managing and making copies of Windows disk partitions.

Anybody who does not to get ripped off my the expensive partition tools should fist check out the Gpartd tutorials.

http://www.metacafe.com/tags/gparted/most_popular/

Quote from: JJ 3000 on OCTOBER 01, 2009, 10:33:01 PM

I wasn't aware that Gparted could create disk images.

It can't. but that's not what he's trying to do:

Quote
knows a free software that can do a disk to disk cloning for ubuntu and other linux operating system?


GParted does disk to disk copy.
275.

Solve : yellow dog on ps3?

Answer»

Is it possible to install LINUX onto a ps3 from a pen DRIVE or does it have to be from DISK ?

CHEERS

276.

Solve : red hat linux?

Answer»

i have change language of my linux system,now linux is booted correctly but after BOOTING i fill username and password and then it displays nothing If you are using KDE,

Click on Kmenu
go to CONTROL Center
go to REGIONAL & Accessibility
go to Keyboard Layout
Enable Keyboard Layout
choose Language and Add it to Active Layouts
click Apply
language flag will appear on your PANEL (just like in Windows).
click on it, choose your language, and you are ready to type

277.

Solve : o.s.?

Answer»

I had windows xp on a computer...computer crashed and I do not have the xp disc since the computer was purchased at a GARAGE sale.....question is, If I download a free o.s. such as a linux o.s., burn it to a cd on another system will I be able to boot up and install it on the other system?YES, I suggest you try a live CD first, something like Linux Mint.

http://www.linuxmint.com/edition.php?id=38I burned a linux o.s. to disc...I went into bios MODE to try to set the system to boot on cd...and I don't know what I am doing wrong because it just keeps trying to reboot the xp operating system...I can't get it to boot off the cd...any SUGGESTION?When you set the CD as first boot PRESS F10 to save the changes, then it should boot from the CD.
The other possibility is that you did not burn it as an ISO so the CD is not bootable.

278.

Solve : questions about raw booting a kernel?

Answer»

ok heres how it goes :
i just compiled the LINUX kernel 2.6
now i want to test it out without messing with my linux distro
is it possable to load and boot it from a FLOPPY disk(ette)
without MAKING CHANGES to the hdd mbr?
WHERES the kernel itself is on the hdd but it uses the floppy to boot it is this possable?
http://www.linfo.org/make_linux_boot_floppy.html

279.

Solve : can i have two operating systems on one computer?

Answer»

Quote from: smeezekitty on September 07, 2009, 06:02:57 PM

you dont need nothing to do it
heres how you do it
boot into windows
pop the cd in
and choose to install insde windows
you can select at boot time with no partitioning

I never got that option in Ubuntu 9.0.4 jaunty jackalope...

Quote from: 876543219 on September 07, 2009, 05:49:00 PM
Hello I REALLY can't free up that much space i already deletied of all the programs i didn't want and ran a compress disk drive to save space in c properties and i did a disk cleanup and have only 4.45 of free space most of my space about ten gbs worth are pictures which i can't get RID of because i don't have a cd burner

how safe or online storage sights like google and AMAZON to put my pictures on

i have an older computer 500mhz would it WORK on that


I would just put the pics on a flash drive, and keep the flash drive in a safe place. You can also back them up for free with Windows Live Sky Drive or the home version of Mozy.

Quote from: Geek-9pm on September 07, 2009, 06:58:26 PM

Buy a pocket computer! (Video below)
http://www.youtube.com/watch?v=UNo6pn-dnSQ



I think he wants to do this on his current PC...Quote from: smeezekitty on September 07, 2009, 06:59:44 PM
if you dont have anything useful to say
dont post

That's really rich, coming from you! If you followed that rule, your postcount would be around 5.

hi I got ubunto through wubi and so far no problems but I have 95.2 free h.d 2gb mem and a celeron e1200Quote from: Salmon Trout on September 08, 2009, 01:01:06 AM
That's really rich, coming from you! If you followed that rule, your postcount would be around 5.



hehe yeah. well said Salmon TroutQuote from: cragtom on September 07, 2009, 05:46:30 PM
Hi i am new to this and I am very interested in doing this but the wubu link will not work at my end plus will it work with vista as I do not fancy the partition route it is o.e.m vista with no backups

please start your own thread as some of the things could be differnt from his. hello i got a cd burner i think i'm going TRY to burn ubuntu to a cd and try it on one of my older computers hardrives and use it on my computer how do i load this to a wiped out hardrive is it like xp are 95

any cd burner software you would recommend tryingno, not at all. It will load the os an allow you to use it as long as the disk is there. Thing is that you have too tell it to install to the drive. Never messed with it though, probably want to ask in the linux thread.
280.

Solve : cannot compile kernel need help NOW?

Answer»

when compiling the kernel i hit the problem:
BFD: .tmp_vmlinux1: invalid string offset 14510904 >= 933047
for section '.strtab'
sevrel times in a row
followed by make: *** [.tmp_kallsyms1.S] - Error 139
the os is *censored* SMALL LINUX
the gcc version is 3. (i dont exactly know)
the kernel version is 2.6
i configed it with the old question system
and typed make
i have 400 mb ram avil
I see you didn't write "need help NOW" at the end of your title when you posted this same question at linuxquestions.org...

I wondered why he'd gone quiet on here... he's found somewhere else to spend his timei thought they'd be more knowladgeable on kernel
how did you know i posted it there anyway
Quote from: smeezekitty on September 06, 2009, 12:53:59 PM


how did you know i posted it there anyway


Think about it
google?Quote from: smeezekitty on September 06, 2009, 01:10:14 PM
google?

No, I regularly read the forums at linuxquestions. I'm not telling you my username however. Why were you so surprised I saw you on there? Didi you think you were the only person in the world who had heard of that forum?
i think the best way to find you is look for an anoying teasing memberQuote from: smeezekitty on September 06, 2009, 01:18:49 PM
i think the best way to find you is look for an anoying teasing member

That's the best way to find yourself, I think.

I repeat,

Quote
Why were you so surprised I saw you on there?
i found 2 users that sound suspicious coldsalmon and troutDo you really think I am so dumb as to use an identical or similar username on multiple forums?
i really wish they had a member list like CH
anyway
you still havent addressed whats wrong the DANG kernelHave you read the README like they told you? And how the H*ll do you expect anyone to help you when you post laughably idiotic things like this:

Quote
the gcc version is 3. (i dont exactly know)

"Need help NOW" is such an autistic thing to write as a subject line.
Quote from: SALMON Trout on September 06, 2009, 03:25:58 PM
Have you read the readme like they told you? And how the h*ll do you expect anyone to help you when you post laughably idiotic things like this:

"Need help NOW" is such an autistic thing to write as a subject line.

you and me could be the useless post teamQuote from: smeezekitty on September 06, 2009, 07:09:36 PM
you and me could be the useless post team

Not you and ST... but it would definitely be a duo and whatnot.
281.

Solve : acess is denied?

Answer»

on linux:
when i am not on a root shell
if i type cd /mnt/hda3 i GET Access is denied
i DONT know why that is -- /dev/hda3 is MOUNTED as /mnt/hda3 (70MB fat16 fs)
how do i remove the Acess is denied besides loggin in as rootedit fstabheres my fstab i have no idea what it is what it does or what to edit:
Code: [Select]/dev/hda1 / ext2 DEFAULTS,errors=remount-ro 0 1
proc /proc proc defaults 0 0
/dev/fd0 /mnt/auto/floppy vfat defaults,user,noauto,showexec,umask=022 0 0
/dev/cdrom /mnt/auto/cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
/mnt/hda3/knoppix.swp swap swap defaults 0 0
/dev/hda2 /mnt/hda2 ext2 noauto,users,exec 0 0
/dev/hda3 /mnt/hda3 vfat noauto,users,exec,umask=000,uid=1001,gid=50 0 0
/dev/hdb1 /mnt/hdb1 ext2 noauto,users,exec 0 0
/dev/nul /mnt/._ ext2 noauto,users,exec
The fstab file is most commonly used by the mount command, which reads the fstab file to determine which options should be used when mounting the specified device.

Code: [Select]# device name mount point fs-type options DUMP fsck
/dev/hda3 /mnt/hda3 vfat noauto,users,exec,umask=000,uid=1001,gid=50 0 0
See here

http://www.tuxfiles.org/linuxhelp/fstab.html

Read through the excellent explanation and you should see what you need to do.

Make a copy of the fstab file first

Why don't you change noauto to auto in the options? Then it should mount at startup.

the reason its set at noauto is because the OS set it that way
what my problem is because i didnt make it clear the first time is
Code: [Select][emailprotected]#mount /dev/hda3
[emailprotected]#cd /mnt/
[emailprotected]#exit
[emailprotected]$cd hda3
Access is denied <---- whats up with this
[emailprotected]$

282.

Solve : does visual studio work on the linux or unix..?

Answer»

hello folks,
i would like to know whether visual studio ASP.NET (C#) runs in linux or unix or mac......if so what is the procedure to execute the code in any of those operating systems....help me out please...
Many ASP.NET applications can run on Linux using TECHNOLOGY provided by The Mono Project."The Mono Project" who developed it and can you just give me a clear idea about it...Quote

"The Mono Project" who developed it

Miguel de Icaza wrote a C# compiler and LATER Ximian (now NOVELL) started the Mono project.

Quote
can you just give me a clear idea about it...

Mono is a free and open source project led by Novell (formerly by Ximian) to create an Ecma standard compliant, .NET-compatible set of tools, including among others a C# compiler and a Common Language Runtime. Mono can be run on Linux, BSD, UNIX, Mac OS X, Solaris and Windows operating systems.

http://www.mono-project.com/Main_Page

http://en.wikipedia.org/wiki/Mono_%28software%29



Thanks for the link..will be posting if anything is needed...Quote from: thrinath on September 04, 2009, 12:53:37 PM
Thanks for the link..will be posting if anything is needed...

I don't know anything about it; I just know how to use Google.
hmmmm..... Quote from: thrinath on September 04, 2009, 01:01:31 PM
hmmmm.....

Quote
I just know how to use Google.

Which you, APPARENTLY, do not...its like i dont have time to search as i need to develop the code and submit to my professor where my deadline is fast approaching...so..Quote from: thrinath on September 04, 2009, 01:07:01 PM
its like i dont have time to search as i need to develop the code and submit to my professor where my deadline is fast approaching...so..

But why should I do your thinking and learning for you, when you will get the falsely earned college DEGREE, the high paid job, and sexy dancing girls, and I will get nothing?
it probably takes longer to make a post asking for the info then it would have taken to find it...
283.

Solve : Dual booting..?

Answer»

you can still do that:
1 format the other hdd with NTFS and GET windows regcognize it
2 install ubuntu from withen windows on the SECOND hdd CHOOSE to install it LIKE a program
3 reboot and it will be on the os choice menu

284.

Solve : what version of linux kernel??

Answer»

what ersion of the kernel can i compile with gcc 3?
could be 3.3 but i KNOW its gcc 3
i tried kernel 2.4 bug got a boatload of errorsHere is a LINK for 2.6
http://www.cyberciti.biz/tips/compiling-linux-kernel-26.html

But if you really want 2.4 you have to follow this guide:

Kernel Rebuild Guide
by
Kwan Lowe


http://www.digitalhermit.com/linux/Kernel-Build-HOWTO.html

Short answer, don't use gcc 3.

Quote

Short answer, don't use gcc 3.
whats wrong with gcc 3?
-
thats kind of all i got right now
Quote from: smeezekitty on September 02, 2009, 01:11:02 PM
whats wrong with gcc 3?
-
thats kind of all i got right now

Nothing is wrong with it. If you want to compile the kernal you have two choices.
1. Do it just the way the Kernel Rebuild Guide recommends.
-OR-
2. Edit the source file and and the scripts so that gccc 3 does not REPORT errors.

Contrary to what they say, any C compiler is not a UNIVERSAL tool that works well on any published and proven source code. Just a fact of life. This is not a slam of the C language. This kind of problem exists in most current complied languages.

But if you do GET it to work on the 2.4 source code, please let others know how you did it.
Here is a link that refers to 2.6 and gcc 3 and implies that it may not work.
http://thomer.com/linux/migrate-to-2.6.html
285.

Solve : How to get the COMPLETE last modified DATE and TIME for files OLDER than 6 Month?

Answer»

Hi UNIX GURUs,

Please HELP me in finding a solution for the following strange question. I have a unique requirement for which I need to get the COMPLETE TIME STAMP of last modified DATE and TIME (that should include all time stamp parameters: YEAR, MONTH, DAY, HOUR and TIME) for all the files in the given folder/directory.

At present I tried different forms of LS command, but the “ls” command is not giving the YEAR information for the most recent files that are last updated recently (with in 6 months), and at the same time for the files that are last modified more than 6 months ago, it is not giving the HOURS and MINUTES information. Basically for the older files, the YEAR is replacing the HOUR and TIME information.

My requirement is that I need to get all the time stamp parameters (Year, Month, Day, Hour and Minutes) for all the files.

Thank you very much for your time and any help is much appreciated.

Sincerely,
Unix Newbie.
i am not very good with UNIX ether and i dont like it
but i think it is
Code: [Select]dir --full-time
Thank you Smeezekitty. For some reason the DIR command is not working on my system. I am getting a message "dir: command not found." I am working on SOLARIS Operating System.hmm thats funny
i dont think that WORKS on lsQuote from: Ramesh0129 on August 24, 2009, 08:38:52 AM

Thank you Smeezekitty. For some reason the DIR command is not working on my system. I am getting a message "dir: command not found." I am working on SOLARIS Operating System.

That's because he gave you a DOS command. It obviously won't work with UNIX.

Sit tight and someone that DOES know will be along.some unix systems hvae dir built in
Quote from: smeezekitty on August 24, 2009, 11:52:03 AM
some unix systems hvae dir built in


none that I've ever seen.depends on the shellQuote from: Quantos on August 24, 2009, 11:50:38 AM
That's because he gave you a DOS command. It obviously won't work with UNIX.

Sit tight and someone that DOES know will be along.
dir comes from GNU coreutils, and yes, it DEFINITELY is a linux command (as well).
basically its the same as ls -C -b. check info coreutils 'dir invocation' for more info.you could download the GNU utils or try
ls --full-timeadvice to Solaris user: "Download the GNU utils" if u comile from source they should work fineIf you are running Solaris (a kind of Unix) you don't need any "GNU utils"; you just need to write a shell script. I should have thought that an expert like you would have realised that.
@salmon, how about showing smeeze how its done then , on Solaris.
286.

Solve : Centos 5 install.?

Answer»

I have had a complete failure of a Raid that was configured with Centos 5 on it. One of the hard drives in a Raid1 configuration has FAILED along with two from a second array that had 4 drives with a RAID5 configuration!
I am attempting to rebuild this and at the moment I have installed the new hard drives I needed to and configured the Raid arrays. I now need to install Centos 5 again.
This is where I am stuck. I have a copy Centos 5 but it isn't on disk or ISO form. What I have is a folder with all the data from the software disks in it. It contains the ISO for the boot disk, which I have made and installed onto the Raid which in turn brings up the start of the install on my Raid. The Raid at the moment is stand alone and all the files are on my windows PC. Within the centos 5 folder I have another folder that is full of rpm files. I take it that this the install software as it is around 3.6GB in size. My problem is I don't know how to get this install to run from the the format I have it in.
I can start the install from the info on the boot disk up to the point where it is asking what type of media contains the packages to be installed. I have TRIED burning the packages onto a DVD but when I install the DVD, the media cant be found. I have read the installation guide but cant seem to get any further.
The system is on an Intel platform in case this is relevant. Any help would be GREATLY appreciated.

287.

Solve : problem copying files to flash drive with Live CD?

Answer»

I've got a Knoppix Live CD booted up right now, and I'm TRYING to figure out to copy directorys w/ subfolders from my hard drive with Windows XP/Vista to my flash drive... When I try to copy directorys w/subfolders it SAYS, "unable to create folder".....If I try to drag over individual files, it tells me I don't have PERMISSION... I've right clicked on the drives to try to give myself permissions but I don't know what the heck I'm doing.....could someone give any pointers? PROBLEM solved..

In CASE anyone else has an issue with this, here you go:

www.pcguide.com/vb/showthread.php?t=55674

288.

Solve : Which Linix??

Answer»

I am a windows users who wants to switch to linux or some better os which will run on my desktop
which is a amd athlon x2 dual core 2.2ghz 4200+
I have 1.5gig of ram 300gig sata hard drive
i have a nvidia 256 graphics and a ide dvd burner

IV been used to windows for so long but all i need in a os is one that is easy to install and configure just install it and the network will work as its on a LAN so the network is always online.

I need to be able to edit photos in the gimp i need firefox document editing i need a download manager
i need to be able to open winrar rar files and too be able too burn cds or dvds and if i plug in usb memory sticks and memory cards i need too be able to view the contents.

But most inportant it needs to be virus and spyware free which i am sure most linux are secure.There is atest to see what Linux distro you might like the most, Here

http://www.zegeniestudios.net/ldc/index.php?firsttime=true

My results (your results will probably be different)


100%
Linux Mint
Homepage: http://www.linuxmint.com/
Screenshots: The Coding Studio
Originally launched as a variant of Ubuntu with integrated media codecs, Linux Mint has now developed into one of the most user-friendly distributions on the market - complete with a custom desktop and menus, several unique configuration tools, a web-based package installation interface, and a number of different editions. Perhaps most importantly, this is one project where the developers and users are in constant interaction, resulting in dramatic, user-driven IMPROVEMENTS with every new release

(This distribution also has a "Live CD" you can use to test the distribution before you install it)
Get this distribution on CD/DVD at PCTech101


100%
Fedora
Homepage: http://fedora.redhat.com/
Screenshots: The Coding Studio
The goal of The Fedora Project is to work with the Linux community to build a complete, general purpose operating system exclusively from open source software. Fedora Core is built to provide choice. It includes the latest versions of many software packages, including both GNOME and KDE desktop environments. Fedora Extras, a repository built entirely by volunteers, provides thousands more packages, and is enabled for use by default.

(This distribution also has a "Live CD" you can use to test the distribution before you install it)
Get this distribution on CD/DVD at PCTech101


100%
MEPIS
Homepage: http://www.mepis.org/
Screenshots: The Coding Studio
MEPIS Linux is a desktop Linux system that is also easy to configure as a dedicated server. It is designed for both personal and business purposes. It includes cutting-edge features such as a live/installation/recovery CD, automatic hardware configuration, NTFS partition resizing, ACPI power MANAGEMENT, WiFi support, anti-aliased TrueType fonts, a personal firewall, KDE, and much more.

(This distribution also has a "Live CD" you can use to test the distribution before you install it)
Get this distribution on CD/DVD at PCTech101


100%
OpenSuSE
Homepage: http://www.opensuse.org/
Screenshots: The Coding Studio
The openSUSE project is a community program sponsored by NOVELL. Promoting the use of Linux everywhere, this program provides free, easy access to the world's most usable Linux distribution, SUSE Linux. OpenSUSE delivers everything that Linux developers and enthusiasts need to get started with Linux. Hosted at opensuse.org, the project features easy access to builds and releases. It also offers extensive community development programs for open access to the development process used to create SUSE Linux.

(This distribution also has a "Live CD" you can use to test the distribution before you install it)
Get this distribution on CD/DVD at PCTech101


100%
PCLinuxOS
Homepage: http://www.pclinuxos.com/
Screenshots: The Coding Studio
PCLinuxOS is one of the world’s up and coming providers of a Linux Desktop Solution. With a small but dedicated development team, PClinuxOS delivers Desktop Ready Software that harnesses the power of the Open Source Community.

(This distribution also has a "Live CD" you can use to test the distribution before you install it)
Get this distribution on CD/DVD at PCTech101


100%
Foresight Linux
Homepage: http://www.foresightlinux.com/
Screenshots: The Coding Studio
Foresight Linux is a Distribution which showcases some of the latest and greatest from GNOME. Some of the things that may not be mature ENOUGH for some of the other distros. Some of the more INNOVATIVE things are included, plus some nice, clean default themes and artwork.
Get this distribution on CD/DVD at PCTech101
Ubuntu.

It meets everything you want. It also has a great help fourm.
And it's a very fast OS.

Pre-installed programs:
- GIMP 2.6
- Firefox 3
- Open Office 3
and othersDSL
not security overload
very small
but still very powerfull and easy to use and still very secureWhat is DSL?

You say "DSL" to me, and I think, Digital Subscriber Line.http://www.damnsmalllinux.org/Ah, yes! Thank you for the link!

289.

Solve : Dual boot XP/Ubuntu?

Answer»

Hello all. I'm an absolute beginner with Linux and want to install Ubuntu 9.04. I have no problems using Ubuntu live cd, or installing Ubuntu on the same hard drive as XP (XP prior installed) or installing Ubuntu on a dedicated hard drive but I want to install Ubuntu on a slave drive (Pata).

I've searched for INFO but so far have only come up with options to install Ubuntu on the master drive.

Can someone direct me to instructions please.

Thanks

T.C.I do not have a copy of Ubuntu to refer to so I will be doing this from memory.
As I do not know the specifications of your computer I will try and give you all the options.
Boot from the live CD, answer the usual questions about language etc, when you come to the install to hard drive, if you have a SATA drive as WELL as a PATA drive then you are looking for a drive listed as hda1 to install to,select hda1,(the SATA drive will be listed as sda1-sda2-etc), select USE ENTIRE DISK and accept the default fomatting and away you go.
If you have two PATA DRIVES, you need to select hda2 and again use entire disk.
When it comes to the MBR you need to select either the SATA drive to install it to or if you have two PATA drives you need to install it to hda1
After struggling for three DAYS finally dual-boot is successful. It didn't quite follow your suggestions, despite the hdd's being identical Pata drives (Eide) the are referred to as Sda not Hda and I couldn't use the entire second disk as the installer kept giving the warning that a swap file had not been allocated. Then I got bogged down with the error message "No root file system is defined".

MBR was not displayed in ORDER to make a selection, the Grub loader installer seemed to auto detect the XP operating system and create the dual boot selection.

I selected / as the mount point, as yet uncertain what the various mount point possibilities are so will be doing a lot more reading.

Many thanks for your nudge in the right direction.

T.C.

290.

Solve : Running Redhat Linux and Microsoft Windows XP?

Answer»

High members!
I have Linux Os in my system(Compaq nc6120), installed in one partition. I've just installed Windows XP in the second partition and My Linux and all my files went to hiding. In XP 'Disk management I can see the partition where Linux was installed but can't enable or access it. Please can someone help me out. Can the two operating systems 'go'?. How do I enable the Linux? Looking FORWARD for help....... The normal way to install a dual boot is to put XP on first then Linux, so you need to repair the GRUB bootloader.
Reinstall GRUB by doing the FOLLOWING:
1. Boot off a rescue floppy or CD
2. Run grub and enter the following commands
3. root (hd0,0)
4. setup (hd0,0)
5. quit
6. reboot
Or, you can
1. Boot off a rescue floppy or CD
2. run: grub-install /dev/hd0
3. reboot

This will reinstall GRUB onto the first partition of the first hard drive.
Change the hard drive NUMBER as appropriate for your drive configuration,
but the above is correct for most configurations, this assumes you have an IDE drive (PATA).

291.

Solve : Linux and internet gaming?

Answer»

Here in the Philippines, on-line GAMING is very popular with the younger people at the internet cafes. I am considering buying an established internet cafe. I will have one or two pc's with Windows, but the rest I plan on using Linux. My question is are there any limits or restrictions when using Linux for the various websites for on-line gaming? SINCE ole Bill Gates is cracking down on piracy, and the Philippine government is doing inspections at the internet cafes, which is an epedemic here, I can use Linux legally without buying a BUNCH of licenses for Windows. Only a couple of Windows PC's will be available in case someone thinks they need it. How about any plugins necessary for some websites for their gaming? All input is appreciated.That shouldnt be a problem. I use Linux and Windows and play online GAMES on both. I think the only thing you need is Adobe Flash. What distro are you planning to use?Quote from: frog on August 08, 2009, 09:16:38 PM

Here in the Philippines, on-line gaming is very popular with the younger people at the internet cafes. I am considering buying an established internet cafe. I will have one or two pc's with Windows, but the rest I plan on using Linux. My question is are there any limits or restrictions when using Linux for the various websites for on-line gaming? Since ole Bill Gates is cracking down on piracy, and the Philippine government is doing inspections at the internet cafes, which is an epedemic here, I can use Linux legally without buying a bunch of licenses for Windows. Only a couple of Windows PC's will be available in case someone thinks they need it. How about any plugins necessary for some websites for their gaming? All input is appreciated.

Just make sure that you go through the licences to make sure that they allow you to run it in an environment where you are MAKING money off of the computers. There may be the odd piece of software that won't allow it. You can't be too safe when audits are the policy.
292.

Solve : Unix machine CPU model?

Answer»

How to FIND what is the CPU MODEL on a Unix/Linux machineCode: [SELECT]LESS /proc/cpuinfo

293.

Solve : OpenSSl will not update?

Answer»

Greetings,

My first post on Comp Hope. I am a Linux newb!

I am attempting to UPDATE openssl 0.9.7a to 0.9.8k. I have un-tared the contents of 0.9.8k into the /opt/OpennSSL folder and seem to successfully execute:

./config
make
make test (end of this string indicates install directory is /usr/local/ssl)
make install

Yet after all of the supposed successful install scripts run I still get 'openssl version' 0.9.7a. I have gone to the /usr/local/ssl directory and see only 0.9.7a stuff.

Two questions:

1. Why is the default install not updating?

2. Where the heck is 0.9.8k installing to?

Appreciate any HELP you can give.Ok..I get by with a little help from my FRIENDS. Fixed issue so I'll post for future use.

Downloading openssl-0.9.8k.tar.tar to the /opt folder should create an OpenSSL directory but it may not. In my case it created an OpenSSL file. I had to manually create the OpenSSL directory, remove the OpenSSL file, and copy the openssl-0.9.8k.tar.tar into the newly created OpennSSL directory. Once there I un-tared it which created the openssl-0.9.8k directory and from there re-attempted the install which was successful.

Hope this helps ANYONE who may have issue in the future

Thanks

294.

Solve : Mapping drives?

Answer»

Is it possible to map drives in Linux? I.e. home directory as C:\, disk drives as D:\ instead of /dev/sr'x'?

SUSE 11.1 KDE desktop.Linux has a single file system starting at the root "/". Everything has to be "mounted" to it. So you CREATE a directory, e.g. "/mnt/CDROM" and the CDROM is then attached to that directory. If you think about it, it makes more sense than having a logical limit of 26 different drives. In a networked environment, it's easy to exceed 26.

Look up the HowTo on MOUNTING devices for more info.Right I have successfully mounted my Windows C drive, yes it works very badly... The only thing now is how do I retain mounted drives after a shutdown or restart?Check out the file /etc/fstab. >This article< might help.

295.

Solve : Find Specific records from file and add totals into variables?

Answer»

Hi Eveyone,

I am working on ONE shell script to find the SPECIFIC records from DATA file and add the totals into variables and print them. you can find the sample data file below for more clarification.

Sample Data File:

PXSTYL00__20090803USA
CHCART00__20090803IND
SSTRAN00__20090803USA
Records Sent: 100 Sum1: 10 20090803 1234567890 1234567890 123456789 123456789 123456789
Records Sent: 200 Sum1: 20 20090803 1234567890 1234567890 123456789 123456789 123456789
Records Sent: 300 Sum1: 30 20090803 1234567890 1234567890 123456789 123456789 123456789

In the above sample data file, I want to read all Records with word Records Sent and then get the totals and sums for all records together.

Out Put Should be like this

Total Records Sent: 100+200+300 = 600
Total Sum : 10+20+30 = 60

I tried the following code:

total = 0
sum = 0
grep "Records Sent:" filename > filename.tmp
cat filename.tmp |\
while read line
do
tot = `$line | cut -f3 -d " "`
su = `$line | cut -F5 -d " "`
total ='expr $total + $total`
sum =`expr $sum +su`
done
echo $total
echo $sum

I am having some issues while running this code. Those issues are
when i am using while read line so it will try to goby line by line but basically it should go by record by record because the Record which has Records Sent: will be 2 lines.
I had another error saying cannot create. I have no idea why this error is coming.
Can anybody write above script in different way.Please advise me on this

Best Regards
try to learn awk

Code: [Select]awk '/Records Sent/{
total+=$3
sum+=5
}
END{
print sum, total
}' file

296.

Solve : When I click on 'Network Center', nothing happens?

Answer»

Hi EVERYONE!

I have had an Acer Aspire One for about six months. The first four months I was able to access the internet, but for the last couple of months it has stopped working.

When I go into 'settings' and click on 'network center' NOTHING happens. When I click on other options such as 'power center', 'audio' ETC it works as normal.

Sorry if it's a bad explanation - I'm TERRIBLE with computers.

Can anybody help?You've posted this in the Linux/Unix forum. Are you running Linux on this machine?Also may we know what Linux distro are you USING?

297.

Solve : Can anyone help me to get Java on my Ubuntu 9.04?

Answer»

I am a beginner in using the Pc and trying to Install Java on my Ubuntu 9.04 so I can PLAY games on my Pc. is anyone able to help me so I can start playing games on my Pc. I have tried some links that came up in google but was badly unsessful in doing so.

My email address is [emailprotected], if anyone is able to give a detailed description in installing this that would be great.

Regards

DaveWow, my commendations, most people that are NEW to the pc don't go STRAIGHT for LINUX. What games are you trying to play?Here is a recent article:
https://help.ubuntu.com/community/Java

298.

Solve : Install Linux to VPC2007 Virtual Environment issues?

Answer»

Anyone have any tips on how to get a GUI Based Linux to install to a Virtual Environment successfully? I tried to install Ubuntu Desktop, Fedore Core 6, and Knoppix to a virtual installation in Virtual PC 2007 and it crashes or hangs on the installation.

I tried Ubuntu and Fedora, then said lets try Knoppix that runs on anything ( but VPC2007 virt environments as I found out)

Tried to use the Safe Graphics Mode as well with no success.

Anyone get Linux to work in a Virtual Environment and if so...how...what am I missing?

Google searches SHOW people claiming to have Ubuntu running on VPC2007 and suggest using the Safe Graphics Mode, but it hangs at a blinking cursor and has issues DETECTING the "virtual hardware". Knoppix seems to get hung just after detecting the virtual Network adapter.

Hardware is a Pentium 4 ( 2.8 Ghz ) HT with 2GB Ram running XP Pro SP3 and VPC2007. I have virtual environments of other Microsoft OS such as ( DOS, WIN 3.1, Win 95, 98, me, 2000 pro, XP Home & Pro, and Vista that run happy on VPC2007, so I know that VPC is running correctly.

Is this one of Bills tricks to keep Linux from running on Micro$oft$ product$???

Hello DAVE!
I found this on Wikipedia:

http://en.wikipedia.org/wiki/Microsoft_Virtual_PC

Have you tried installing a Linux Guest OS in text mode?Cool I will give that a try Hope, it would be successful.
Im trying Virtualization myself but on a Linux box using Virtualbox OSE. Cool... I will have to CHECK into that Virtualbox OSE never heard of it before.

299.

Solve : Substring Unix Command : Help?

Answer»

Hi,

To REMOVE the DATE and TIME from the below data which is in a FILE abc.txt

29 Jul 2009 04:36:53,956 [ajp-0.0.0.0-8310-140] ERROR 1
29 Jul 2009 04:36:58,335 [ajp-0.0.0.0-8310-239] ERROR 2
29 Jul 2009 05:37:24,746 [ajp-0.0.0.0-8310-125] ERROR 3

I want the output as

ERROR 1
ERROR 2
ERROR 3


As, In the above data time have different seconds . I am not getting how to do that .

Kindly let me know how to do the same.Code: [Select]awk '{print $NF}' file

Next STOP, try to pick up tutorials on unix scripting.......

300.

Solve : fedora 10 user screen?

Answer»

so.. i just loaded up the fedora core 10 OS on a IBM think CENTRE and it loads the user screen and lets me log on.. but go to black screen and WONT go any farther... help..type startxi have nothing to type it into.. all i have is a black screen and my curser in loading form..after you log int your machine, you would see something like:

[emailprotected]_machine:~$

then type startxor is the problem is that Mr_Mister is able to get past login screen but computer is never showing the "[emailprotected]_machine:~$" thing.
If that's the case then there's an ERROR in the installation of FCI suspect it's trying to display at the wrong screen resolution - HENCE completely black screen. Try Ctrl-Alt-+(plus) to cycle through available screen resolution settings. Failing that, Ctrl-Alt-F1 will get you to a terminal screen where you can (in theory) log on and edit the config files. There's bound to be DOCUMENTATION concerning this on Fedora's wiki.