shell scripting in Fedora14I want a script"Find in curent folder for files, and it copy first file he find with name gived by user, if name already exist then echo error message and finish"command usage " bash scriptname copyASname"
smthing like Code: #!/bin/bash for files in /home/user/* do
Going from Fedora 12 to 13. Got to the point where I have to reboot to install, system reboots to 12. This is a triple boot system with Open Suse and Mint, and the grub2 bootloader from Mint is the bootloader for the whole shebang. In the "how to use preupgrade" instructions there's a line that says "dentify the drive and partition of your Fedora /boot folder." How? If that sounds odd, consider that in my set up "computer" shows 4 partitions (and with just three operating systems..?). I can mount them, but have a problem telling which sytem is Fedora, Suse or Mint. And getting the FEDORA bootloader to find the PREUPGRADE kernel ... Momma said there'd be days like this.
cat /etc/fstab just returned /dev/sda1 on /boot. I installed Fedora first, before Suse or Mint, so being on the first drive or partition sounds right, but the multiple drives throws me, and "just guessing" doesn't seem like the way to go.
After upgrading to a new release (Fedora 12, for example), I can no longer reach most of the Web through my browser (Firefox) or mail client (Thunderbird). I've tried running a Live! installation, installing clean from a DVD, and running preupgrade from my working Fedora 10 system, always with the same result -- I can reach a few of the Fedora pages (main, documentation, some others), but nothing else (Google, for example).
What's maddening is that I know I have a good connection, because I can perform a software update, install new software, etc., but only strictly Fedora-related activities; also, I can ping www.google.com and get a good response, so I know the DNS services are working to some extent. But neither Firefox nor Thunderbird can use them in any useful way.
I have recently installed Fedora 11 and I am having some trouble with it. While installing another program I get the message: make: g77: Command not found
I tied to look for the compiler to install using yum search g77
And got the following list:
I was wondering if it is in some obscure repository, which would seem odd to me. I have the following repositories available (as shown in yumex) :
My main question is must support for Dynamic Extensions be compiled during install? Specifically Mysql and Mysqli appear not to have been compiled into php despite using the prefix "--with-ysqli=/user/local/mysql/bin/mysql_config".Or can I place the needed call to mysql extension in the php.d and download the .so file adding it to the proper direectory?If I must reinstall, where on the PHP.NET site does it address reinstall? I'm shocked not to find this in the documentation
Can someone link me to get Fedora 11. I'm looking for it, but I can't find it on the site. I'm also looking for the one that is 700mb. Since the ones I keep finding also on google around 3gb. Don't want to wait that long and I remember downloading one that was around 700mb
I have Fedora 12 installed and I think that I have a problem with yum because from one month ago if I run "yum update" never get any update of none program. This is the output of the command.
Code: [root@aqua yum.repos.d]# yum update Complementos cargados:fastestmirror, presto, refresh-packagekit Loading mirror speeds from cached hostfile * fedora: mirror.uv.es * rpmfusion-free: mirror.switch.ch * rpmfusion-free-updates: mirror.switch.ch * rpmfusion-nonfree: mirror.switch.ch * rpmfusion-nonfree-updates: mirror.switch.ch * updates: mirror.uv.es Configurando el proceso de actualization No se han seleccionando paquetes para ser actualizados
I've tried installing nvidia's devdriver but I keep getting an error stating the kernel.h file isn't available. I've tried searching for it on my computer but haven't found it and haven't found a copy of it using google either.
how I can go about finding my kernel's source path or a way to getting a copy of the kernel's source so I can install nvidia's devdriver?
I recently configured NFS for home directory and NIS. NFS and NIS are running fine. I can login to the server from client but I am getting this error code...
How to find out the series (i series or z series)in redhat enterprise linux If I give uname -a it gives Linux hostname 2.6.9-55.ELsmp #1 SMP Fri Apr 20 17:03:35 EDT 2007 i686 i686 i386 GNU/Linux Does this mean that my server is in i series as it says i386..?
I would like to know if I want to vi /proc/sys/net/ipv4/ip_forward, but assume that I don't know the path of ip_forward, is there a way to tell where is it?
I am trying to install ffmpeg on an amazon linux ami (centOS red hat) and using yum with rpmforge repo added. I cant install ffmpeg because of a dependency error: and/or SDL-devel do not seem to be in the repository, any tips for resolving this dependency error would be much appreciated.
I have an Olympus VN 4100PC voice recorder. It does not work with linux. I found odvr, but the instructions on how to use it are rather general. I haven't found an rpm or a yum definition for odvr, so I'm compiling it from source. how to use it though.
I do a lot of artistic stuff, so I need a good graphics program. I think Gimp will be perfectly fine for my needs for the time being, but I can't find the layers box. When I opened it for the first time, only the toolbox and tool options were open, and I can't find anything about the layers. I checked the online manual, and that didn't help at all. I have version 2.6.
I am currently using Fedora 11 KDE as my primary operating system at work, but i am having a little bit of troubles getting an audio player to work properly.
I am trying to play music off of a separate primary FAT32 file system (which is my shared drive amongst all my operating systems), but when i attempt to load the files via JuK, i receive this error: cannot find demultiplexer plugin for MRL.
I have been playing around with other players as well, and it seems like the only other player which will actually load up the media on this separate partition is Banshee, but doesn't seem to want to play it.
I just installed Fedora 12 to my HP laptop. I installed Nero Linux 4 to it. But Nero don't find my DVD drive without root rights. At Fedora 11 Nero worked fine.Do someone know how to make Nero find the DVD drive with normal user rights?
I just tried to install Fedora 12 x_64 on a machine that is currently running Fedora 11 x_64. It's a new machine for use as a server and is running a Phenom II 4 core on a gigabyte M/B - 4GB RAM, onboard ATI graphics, an Adaptec 5405Z RAID Controller that is in the 16 lane PCIe slot, and 3 SSD SATA dives in a RAID 0.I installed Fedora 11 x_64 on this machine just last week and it went perfectly smooth. The install recognized the video hardware, controller card and the RAID, installed correctly, boots fine, runs solid.When I attempt to install Fedora 12 x_64 on the same machine, it does NOT recognize the controller, nor the RAID and doesn't seem to like the video hardware. I stuck on a floppy drive and made a driver disk from the Adaptec provided Linux drivers, but the install fails to mount the floppy when I try to add the driver during boot from DVD - although it tries. (It's possible that my floppy drive and/or disks are too old to be useful. Seriously, loading drivers from a FLOPPY? Most computers don't even HAVE one any more.Sheesh...). The video also seems squirrelly and works better using the "simple" video drivers.
Anyone got any clues on this. It seems odd that the newer version works less well than the previous one.Maybe I'll try a different .iso - CDs or a live version or something just to check - and maybe try an install on a different machine. Yes, I put the install DVD through the self-test and it passed. I have tried 2 different copies and both fail.LATER - tried with live CD - boots OK, splash screen is OK, after bootup finishes it looks like maybe it's trying to start a different video driver - then the screen goes black and stays that way. Tomorrow I may stick in a discrete video card and see if that makes any difference.
Still Later: I have tried discrete video card, tried moving the RAID controller to the 4 lane slot, tried to install a driver from floppy (still no go) and have tried noprobe on boot command line. Although the "noprobe" got the video to keep going (albeit at a low resolution) it STILL refuses to see the RAID controller. The LED indicators on the RAID card SEEM to be indicating that the card locks up during Fedora 12 boot, but I haven't checked on that just yet. Fedora 11 continues to boot and run fine on the same machine - I'm running it right now. as I type this.Later yet: Ubuntu 9.10 86_64 that was released a couple weeks ago DOES, IN FACT see the controller and the RAID when I run the install process. Looks like Fedora 12 is badly broken after all. (Damn those even numbered releases anyway.....{;>D)=) Guess I'm going to be "stuck" with either Ubuntu or Fedora 11 unless a solution appears pretty soon. I have sent an inquiry to Adaptec, but I'm guessing they are going to say, "we don't support Fedora linux except Fedora 5 and Fedora 6" as those are the only drivers they seem to have available
Friday 11/20 - I've attached a SATA drive to the same computer. By using the "basic" video driver from the install DVD I am able to install F12 to the SATA drive without issue - it installs fine, boots fine, runs fine. However, it still will NOT see the RAID controller. I tried installing the driver .rpm from the disk that came from Adaptec, but the vanilla linux driver doesn't seem to be effective. So far, Fedora 12 continues to be a big FAIL! as far as this particular machine goes.
One thing I was disappointed with Fedora 12 was the CD/DVD burning application Brasero. I used this application (version 2.6) on Fedora 11 and every time I created a video DVD, i would get an error 'You do not have the required permissions to use this drive'. Even though I was getting this message, it will burn the DVD successfully and I was able to watch the DVD on TV. But getting this error was annoying. I wrote to the developer Luis Medinas who didn't bother to reply. I posted question in Fedora forums and got no answers.
I came across a note on the internet that they have fixed this bug in version 2.8 that came with Fedora 12, so I installed a fresh copy of Fedora 12. But to my surprise this time Brasero came up with a different error.This time I wrote to another developer Philippe Rouquier and I haven't heard from him either. In next version of Fedora I would be very happy to see a "stable" CD/DVD burning application that won't throw errors.It is very annoying and a big turn off as a user. The only time I use Windows is to author DVD's TMPGEnc Authoring Works 4 simply because in Linux there is no program that is sophisticated and stable enough.
I successfully installed fedora 12 the other day, got it up and running fine. Yesterday I installed windows 7 on my second partition on the drive (dumbest thing ever, I know). What I forgot is that windows can't handle not being in control, and that it would replace my bootloader (grub). "No problem" I thought. I booted a live usb that had grub-install on it (which has worked for me in the past). The drive which needs grub on it is /dev/sda, sda1 being the partition with /boot on it.
So I do the following in the live usb:
Code: mkdir /media/fedora mount /dev/sda1 /media/fedora grub-install --root-directory=/media/fedora /dev/sda
But after a few seconds I get an error message saying that "stage1 not read correctly". When I go into the drive I can see that there is a file /media/fedora/boot/grub/stage1, and the device.map which grub creates appears to be correct (/dev/sda corresponds to hd0). Going into the grub terminal and running "root (hd0,0)" then "setup" gives a similar result (complains about not being able to find stage1).
On another forum someone mentioned tyring "depmod" before installing grub, but that didn't work for me.