Fedora :: Bash Hangs When Command Not Found / Sort It?
Dec 9, 2009
I've been using linux for a long time, and I just ran into a problem that has me stumped. Any time I mistype a command, it says "Command not found."... yea, I know that's normal. But it doesn't return me to my # prompt. I have to press Ctrl+C to get back. code...
I know I do have one issue with this computer, I have 2 blown caps on my motherboard. This was a dual boot system, but after a virus with winblows, I decided to switch it to strictly linux. (roommates... *grumble*) I think I was running fc10 before I wiped the hd & installed fc12. Fc12 does seem to be running slower, and I still haven't got my sound card working properly... but that issue is for another topic...
I am new to Linux and I am trying to convert image files to mpeg video I tried using this command images2mpg -o Vorticity.mpeg -i Vorticity-Magnitude0%d.jpeg I get an error as below bash: images2mpg: command not found
I'm writing a Bash script to take IPTC keywords from a text file and write them, via Exiv2, to several (first batch is 100) JPEG files in a single directory. The script has one while loop inside another while loop, both terminated, but I'm pretty sure that's not my problem. I think it's how I'm incrementing the "counter" variable, although it could also be the method of parsing the text lines from the file (using cut with delimiters that have worked fine in simpler scripts).
Here's the code as I've worked it up to this point.
And yes, "keywords" checks out in Crimson Editor, Emacs GUI and nano as an ASCII file with UNIX line endings. No issues on that score.
Feeding each line consecutively into a terminal (excepting the exiv2 command) works fine: each variable echoes with the part of the text line used as a variable value as it should, even when the b variable is incremented the quick&dirty way (up arrow three commands and hit enter).
Running the above script in eval mode (sh -x) stalls after setting the b variable to one and reading in the first line of text. I'd like to know why. I'd also like some advice on another reliable method of parsing the read-in lines.
I am having problems installing fortran g95 compiler. I followed the exact instructions listed on the website The G95 Project (click on manual tab for further details), but I am still getting this error when I try using the driver:
shamo@linux-wrws:~> g95 bash: g95: command not found
Here is what I did:
>wget -O - http://ftp.g95.org/g95-x86-linux.tgz | tar xvfz -
The program installed properly, and I was able to verify the installation in /usr/share/g95-install. All the libraries were installed, and I was able to run the actual "executable" when I cd'ed to its directory) Next I created a symbolic link to the driver so that I could run from anywhere using g95 command:
I did install a brand new debian etch on my server, update and upgrade has been done.I did installed a postfix and couple of tools ( like courier-* ).But when i want to try to sent a mail with mail command, it says command not found.I did use the method on the bottom of this thread succesfully, but any idea for this tool to be back on my server ?Did i uninstall it when installing a package ?
I am having redhat 5 linux machine running on my windwos x in vmware workstation. Today i was installing oracle software in redhat 5 after editing the bash profile for the oracle user i got the following messages
su - oracle password:***** -bash: [oracle: command not found
i am using scientific linux, fedora 12accidentaly i changed LD_LIBRARY_PATH of the root profile to a different location. so terminal cannot understand any command as i type. is there any other ways to access .bashrc file exept using editors emacs, vi, nedit. my own profile works fine but i dont have permission to access the root folder. only commands the terminal responds to are pwd, cd, echo. i dont have any clue how to restore the library because it locates here:
I'm not entirely sure how to describe this. I've got a user account set up and I've downloaded a few programs I'd like to install. When I'm in my account, I go to the terminal and type then get; $ pkgtool bash: pkgtool: command not found However, if I'm in root and do the same thing, it brings up the menu. What do I have to do to get pkgtool to work from my user account?
I am installing Fedora 15 as a guest machine on virtual box. the installation completes fine, but it gets hanged on the date and time screen during first boot. Even on clicking "Forward" button it doesn't work and just gets stuck there. I am using windows 7 as the host machine and I have given 1 GB ram and 8 GB hard disk to guest fedora OS. Before the installation, I checked the media also it was shown to be correct. The media I am using is virtual clone drive for DVD ISO image. VirtualBox version 4.1.2 was used.
While attempting to uninstall Perl (through Yast) from my SUSE installation, it ended up deleted everything important in OS compilers are gone, SVN gone. Its a dedicated server and lots of other applications were running on it. now it says "-bash: yast: command not found".
I recently installed 10.04, in the process of installing MythTV... I'm looking for installed files and find bash no longer finds updatedb or locate commands. I did change /etc/hosts and /etc/hostname to change the name of the box. Could this have hosed those commands? I tried them as root... sudo -i, same result...
I ssh to a remote server which is running in SUSE. And I want to install apache2.0 there. Then I used yast2 to install it. But after installing it, I go to the terminal and type" apache -version" to check if apache is installed there. And it said "-bash: apache: command not found". I don't if I haven't successfully installed it, or I have installed it but just haven't put it into PATH yet. So, my problem is that can anyone tell how to check if I have installed it? If I have installed it, then what is the path of the directory it locates? And if I haven't probably installed it, then can you tell me the how I can installed it? And I am asked to install apache mod_wsgi as well.
I am using rhel5 with ip 192.168.0.254.i am using rhel on vmware 7. when i run links 192.168.0.254 then i got error "bash : links : command not found" i want to know why this error is showing? when i use red hat without vmware then there is no problem.
Having a problem with my system hanging after updating Fedora 12. Here are my system specs:
Gigabyte MA770-UD3 motherboard AMD Phenom 9950 Quad Core 6 gig Corsair DDR 800 1 x 160 gig SATA (OS) 1 x 500 gig SATA (data)
I have my system configured for dual boot with Windows 7. After installing F12, I can reboot with no problem. However, after I install the kmod-nvidia drivers, my system hangs on reboot. If I press any key on the keyboard, it will start to load, the freeze until I press a key again. I have tried both Fedora 12 x64 and i386 with the same results. Here are the steps that I took to install the kmod-nvidia drivers code...
Does anyone have any suggestions as to what I am doing wrong?