Red Hat / Fedora :: Eval Command Not Installed?
Mar 8, 2010
I have Redhat ES4 installed and am trying to run the following commands
set CMD="ksh - eval $Pfile -csh"
$CMD
$Pfile is a script
and it get the error
ksh: eval: No such file or directory
also, there are no man pages for eval
View 3 Replies
ADVERTISEMENT
Jun 18, 2010
Code: cmd='date | wc'
$cmd If this script is executed, an error is generated. The reason written was that "The execution fails because the pipe is not expanded and is passed to date as an argument".What is meant by expansion of pipe. When we execute date | wc on the command line, it goes fine.then | is not treated as an argument. Why?
View 4 Replies
View Related
Jul 7, 2010
Here is the block of code : (The red part is the code that doesn't work) The file is not created and see the output after the code. # i loop create environment structure and k loop create std procedure sub structure.
for i in TRAX2 TRAX BENCH PROD
do
eval mkdir $"acsayul02501_${i}"
eval chmod 2770 $"acsayul02501_${i}"
[code]....
View 3 Replies
View Related
May 3, 2011
I installed openjdk version of Java using yum what is the openjdk Home directory?
Is there a command to find it?
View 10 Replies
View Related
Mar 6, 2009
Currently i am using mapserver 5.0.3 , AGG 2.5-6 on fedora 9. I need some help with mapserver and AGG support. I am trying to use AGG/PNG outformat in the mapfile as well as i added precisely. When i call the link through browser i recieved the following error:
loadOutputFormat(): General error message. OUTPUTFORMAT clause references driver AGG/PNG, but this driver isn't configured. It is clearly evident that from the error, the driver is not configured. since all the mapserver version 5 suppotrs AGG rendering backend, so i checked whether mapserver supports AGG or not.
[kapil@localhost cgi-bin]$ mapserv -v
MapServer version 5.0.3 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=THREADS SUPPORTS=GEOS INPUT=TIFF INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=MYGIS INPUT=SHAPEFILE
[kapil@localhost cgi-bin]$
I found that my mapserver doesn't support AGG means SUPPORTS = AGG is missing in the above output. But i have already installed AGG in my system. In order to clear this issue i gone through many threads in forums, but i was not satisfied with the answers. Atlast i came to know that, i have to recompile the mapserver with AGG. The following link gives you some idea about compiling mapserver with AGG in linux [URL] But the problem now i am facing is i have installed both the mapserver and AGG through YUM INSTALL command so i dont know how to recompile mapserver with AGG support. I think, there will be no configuration file normally when installing through Yum insatll command.
View 2 Replies
View Related
Apr 20, 2011
Recently I have installed FC 14, I need to know how many packages installed through YUM command prompt in local system.
View 2 Replies
View Related
Nov 23, 2010
Having a problem with an unwanted redirection in in a function call. Although this isn't the function it does illustrate the problem:
Code:
#!/bin/bash
doat () {
ALL="sys1 sys2"
for Sys in $ALL;do
echo "---> $Sys <---";
echo $(eval echo $1);
[Code]...
figure out how to get the variable into the command without outputting to the file in the eval statement? So that ssh line that gets executed would look like the following to each iteration of the for loop:
Code:
ssh root@$Sys rpm -qa|sort > /trans/${Sys}-rpm-list.txt;
doat works when the incoming argument doesn't have any redirection in the command.
View 3 Replies
View Related
Jun 21, 2010
I am using bash. My question is :
Code:
eval echo \h
eval echo \h
both give output as h, but
Code:
eval echo \\h
gives output as h Why ?
Does eval here just remove backslashes (I know the use of eval in the case where substitutions occur)
View 1 Replies
View Related
Mar 10, 2011
So far failed to get either RHEL 6.0 Eval or Centos to install on Virtual Box.
Should it really be that difficult?
View 14 Replies
View Related
Feb 14, 2011
Errors received when trying to use drop shadow plugin..
"Error while executing script-fu-drop-shadow:
Error: eval: unbound variable: gimp-image-insert-layer"
"Plug-In 'Drop Shadow' left image undo in inconsistent state, closing open undo groups"
View 5 Replies
View Related
Jul 20, 2010
i am downloaded some e-books in the format .rar. when i am extracting them i am getting error as There is no command installed for RAR archive files. Do you want to search for a command to open this file?
View 3 Replies
View Related
Aug 29, 2011
When playing around with compiling optimized src.rpms, I came across this description of how to pass optflags:
[URL]
I created a file ~/.rcfile that contains:
Code:
optflags: i686 -g
When I run :
Code:
rpm --rcfile $HOME/.rcfile --eval "%{optflags}"
the output is always
Code:
-O2 -g -march=pentium3
Is it possible that this could be a bug in rpm/rpmdevtools and/or gcc? I'm using
gcc 4.5.1-4.fc14
rpm.i686 4.8.1-5.fc14
rpmdevtools 7.10-1.fc14
View 2 Replies
View Related
May 11, 2010
I was trying to write a graph plotting program with c++. I need to convert the infix expression from user to postfix expression for quick evaluation. However, the evaluation of postfix is kind of interpreted, and thus kind of slow for evaluating huge number of values. Say if I plot an implicit function the penalty is quite huge. Is there a way that I can compile the infix expression from my running graph plotting application for high speed evaluation.
View 6 Replies
View Related
May 14, 2010
I'm trying to find out which partition grub2 is installed in. Is there a command for this, as I suspect that I may have told it to install to the wrong partition during the upgrade from Karmic to Lucid, and now, I suspect that I've crippled the boot sector for my vista installation
View 6 Replies
View Related
May 14, 2010
WindowsDude is back on the dark side of the web, the linux world, and he has encountered yet another impassable problem !There's a compiler mpicc, probably installed on the network at some location let's say /network/bin So when I write mpicc main.c I get the "can't find command" (or similar) error. Somehow it's supposed to work anyway. I think I need one of those magic commands to make it work. But the question is; which word will make it all happen? (I thought the DOS days were over!) I guess I could use the full path (provided that that binary really is in that folder), I want to bind that executable at that location to the much shorter mpicc.
View 3 Replies
View Related
Jan 14, 2010
command to find all installed patches in RHEL . rpm -qa shows all the packages installed in it .In Solaris there are teo commands and package and patches are different in terms.
View 2 Replies
View Related
Jun 16, 2010
How can I see all my installed program in Ubuntu from command line?
View 2 Replies
View Related
Aug 20, 2010
After sifting through numerous apt-get apt-cache apt-file tutorials I still can't find a command to check if a package is installed via the terminal command/line.
I know there must be some way to do it.
Say I want to check if any package from the libavcodec*.deb family is installed how could I do this without a gui eg synaptic?
View 5 Replies
View Related
Feb 26, 2010
Is there a unique command ( common to all Linux Distros, Solaris, Windows ) to know whether a service is installed and running on my system or not??
View 5 Replies
View Related
Dec 25, 2009
I want to install net-snmp-utils-5.3.1-14.el5.i386.rpm rpm using the command "yum install net-snmp-utils-5.3.1-14.el5.i386.rpm
Now, once yum installs this rpm, how can i copy all these downloaded rpm (and dependencies rpm)? So that i can use these downloaded rpms if i want to install them as a fresh or to copy and install on another computer.
View 3 Replies
View Related
Apr 14, 2010
Total, total noob here, but I would like to know if this is possible, and maybe some tips on how to do it if it is.I just got myself a dedicated server, and I guess I assumed I could just remote control it via my own screen, much like using vnc or remote desktop, but that wasn't the case.The server has Debian 5.0, a "minimal install" is what they called it, I assume it's just installed and not configured at all.1. Connect to the server, and I guess the only way is via telnet? Since I have no VNC or remote desktop (yeah, microsoft, I know, but I don't know what it's called for Linux/GNU).2. Can I install VNC or somehow "activate" or "open" the GUI via telnet, much like a remote desktop kind of solution? I have used Debian's GUI on my laptop a couple of times, and I'm a total Windows-user, but I can navigate the graphical interface. I'm just COMPLETELY nulled when it comes to command line.So yeah, I guess I'm wondering how the heck I can remote control the server via a GUI, preferably VNC, and if I can install it via telnet or however I'm supposed to connect to the server?
View 6 Replies
View Related
Aug 10, 2010
I need to know if there is a way to command slackpkg to reinstall all installed packages...?I dont think there is but also wanted to know if I could somehow edit scripts, etc to enable this.I need this because as many know here I make variations of livecd's and I have injured one of my installs when I ran a script that I shouldn't have and it deleted several directories under /etc usr/lib and /usr/bin.I have no idea exactly what was deleted and thus I wish to reinstall all installed packages.There must be a way to do this without the borish method of manually reinstalling hundreds of pkgs.Is there a way to grep/ var /log/packages and say reinstall all?
View 11 Replies
View Related
Jan 14, 2010
I've PHP5 installed on my server, and just recently I installed a new application that requires gd library.
understand that I can have gd library installed via apt-get install php5-gd command.
Question: do I need to remove php5 instance (which was installed together with apache2/mysql using tasksel command) prior to installing php5-gd?
View 1 Replies
View Related
Sep 8, 2010
Like i'm curious what version of wine i have installed...What are my current ati drivers installed...If wine isn't 1.2 or 1.3 how do i update it from command line?really any insight into this process would help its not absolutely critical to know but i've been looking around and haven't found informationOr some references to good articles to become a command line guru would be cool as well.
View 8 Replies
View Related
Nov 17, 2010
I have fedora 11 (64 bit).i was trying install eldk.so i installed arm-2008-11-24.
After installation when i go for make command it shows error like /opt/edlk/usr/bin/arm-linux-gcc: Command not found details:
View 2 Replies
View Related
Jul 17, 2010
Is there a command to know " From where a specific RPM package was downloaded & installed ( The full HTTP/FTP path ) " ? For example, if I had previously installed Firefox from here [URL] is there a specific rpm query, or any other place, from where I can get the full ftp path back.
View 1 Replies
View Related
May 6, 2011
Howto show all services running/installed in the command line under Centos 5.6 Server?
View 6 Replies
View Related
Apr 15, 2011
I received, three years ago, a DVD opensuse 10.3-eval. Now I vould like to use opensuse 11.4, How to do that ?
View 8 Replies
View Related
Jan 26, 2010
I had linux installed on dell latitude d600, I did fdisk and deleted the OS so I can install Xp. When I try to boot from the Window xp cd , I get LINUX grub command line . " grub>" and can't do anything.I need window installed ASAP for a class that I am taking .
View 2 Replies
View Related
Sep 7, 2010
i ran into a problem when i installed mplayer on suse 11.1 from source, it works just fine BUT it has no GUI.When i try to use the command "gmplayer", it returns 'bash: gmplayer: command not found
View 3 Replies
View Related