General :: How To Execute Binaries Located In Different Directory
Feb 8, 2011
I am a newbie in writing unix scripts: I have a file with a list of arguments like:
./a arg1 arg2 arg3
./b arg1 arg2 arg3
.
.
.
./n arg1 arg2 arg3
But these binaries (a,b,..etc) are in a different sub directory from where the above file is located. How do I write a script that will pick up each line from the file and execute it.
View 2 Replies
ADVERTISEMENT
Jul 8, 2011
I recently installed FC15. When I try to execute a binary file, it shows permission denied message even when I login with the root user through "su -" command. It also give me the same message when I try to run a python script. How can I execute binaries in FC15?
View 1 Replies
View Related
Nov 1, 2010
is /home/Local_Data a directory located on your PC, or on a server? and how can we know that?
View 3 Replies
View Related
Oct 25, 2010
I'd like to use a webmin to execute scripts as the picture. When I press "Stop friendly" button, it will execute the script that is located at /home/kenzo/stopfriendly.sh or it will execute /home/kenzo/stopserver.sh when I press "Stop" button.
View 1 Replies
View Related
Apr 24, 2010
I was always confused about the way it says that the execute permission for a directory means "able to list it". I just don't get it.Does no exec permission mean "still able to read files from in the directory, but not able to find out what files it contains" or what?
View 2 Replies
View Related
Mar 3, 2010
I was wondering what is the difference between directory execute and read permission?Also, how do I recursively remove executable permission from a dir, but just apply it to normal files?
View 6 Replies
View Related
Aug 31, 2010
We have a test server in which we have not taken backup. Contents under /etc is entirely lost.
I need to execute scp to copy mysql data directory.
Also it is in remote location. Can I recover the data by scp by creating some /etc/passwd , /etc/shadow files ?
View 6 Replies
View Related
Aug 8, 2011
I am working at a client who has a project where code is a mixture of different source control systems. So a layout might be like this
project/a/.svn
/a/subfolder/.svn
/b/.hg
/c/subproject/.svn
/d/.hg
So I am trying to put together a simple command that when executed from the project folder will run the appropriate hg/svn command in each project i.e:
[Code]...
Since the client has many such projects, Instead I am looking for a solution similar to find -exec where the svn/hg commands are automatically executed on each first level of match (i.e. svn up is run in the project/a folder but not in project/a/subfolder). How can such a command be constructed ?.
View 1 Replies
View Related
Jul 22, 2010
Whenever execute the below scriptlet with out proper file name it deletes /tmp directory .I guess this is because value of variable a didnt get initialized and there for rm -rf /tmp/ get executed and entire /tmp directory get deleted.How would i avoid any empty variables to be used in script? as this is a classic case of destructive script.
Code:
#!/bin/bash
echo "Enter file to delete from tmp"
[code]....
View 8 Replies
View Related
Aug 28, 2010
problem during fedora x8664 installation. how to give the command for directory path and image located drive. the procedure to install fedora for the first time.
View 2 Replies
View Related
Dec 10, 2010
I am actually running Linux Mint 10 64-bit, which should be essentially identical to Ubuntu 10.10.
When I attempt to execute a Linux binary file that I have downloaded from the internet, I get the error "No such file or directory." I have eliminated all sources of user error as explanations: I am in the correct directory; 'ls' displays the file in question as present. I am prefixing the command with './' The permissions on the files are correct and they are marked as executable
The specific cases where I have problems are with the Mathematica Player freeware program from Wolfram, the Foldit protein folding game, and the XPP-Aut dynamical system program. I have used the Foldit and XPP-Aut binaries previously on other Linux distros, including Ubuntu, so I don't believe there is any problem with the files themselves.
why Mint can't execute these binaries?
View 3 Replies
View Related
Sep 14, 2010
Assume the directory I locate is /mypath/bin/ , there exists a file named "ccache"
Then I execute ccache code...
View 8 Replies
View Related
Mar 10, 2011
I was doing a tutorial on scripting in bash. I saved my file on the desktop and I cannot seem to get to that file to execute it. Here is what I have been using:
I try cd Desktop says that there is no such directory.
I tried /home/me/Desktop same thing.
View 5 Replies
View Related
Sep 16, 2009
What can I do about this?
Failed to execute child process "realplay" (No such file or directory)
using gdome Ubuntu, realplayer is in my Home folder (RealPlayer11GOLD)
View 3 Replies
View Related
Jul 21, 2010
I have no real LINUX system experience and therefore the company has tasked me to get a VMware Appliance running in which they can build their product.
The product runs on Red Hat 7.2. I have attempted many times to get Red Hat 7.2 installed on VMware player. It always fails when I get to Xwindows. I need Xwindows as the company is going to use NetBeans 6.9 for development.
I downloaded an Ubuntu 10.04 Appliance, which runs fine.
The idea is to build the product on the Ubuntu and run it on the Red Hat target.
All systems are x86 platforms.
View 2 Replies
View Related
Sep 17, 2010
I have some binaries running on my server. I want to make a script to kill the binaries.
View 7 Replies
View Related
Oct 26, 2010
I just installed Maya 2009 on Fedora 13.It seemed to run the RPM install fine, but when I go to Applications > Graphics > MayaI an error:Could not launch 'Autodesk Maya 2009 (64-bit)
Failed to execute child process "/usr/autodesk/aya/bin/maya"(no such file or directory)I browsed to this location in the file browser and there definately is a file called maya in "bin"
View 1 Replies
View Related
Oct 27, 2010
What is the best program to use to monitor a directory and execute a script when a new file is dropped in the directory? I've searched Google and just can't seem to find what I'm looking for. I would like to execute a shell script after a .CSV file is moved to a certain directory to generate a chart of the data contained in that file. I've got the script, now I only need to know how to execute it when a new CSV file is dropped into the directory. The Linux Distribution is RHEL 5.
View 2 Replies
View Related
Oct 15, 2010
There seems to be a common solution to get the webcam working with Skype - rather than launching with Skype you launch with LD_PRELOAD=/usr/lib32/libv4l/v4l2convert.so skype - so far so good. When I do this I get the error There was an error launching the application. Details: Failed to execute child process "LD_PRELOAD=/usr/lib32/libv4l/v4l2convert.so" (No such file or directory). But I do have that directory and file on my system.
A ubuntu community doc talks about the terminal command sudo ld.so.preload-manager when I action this I get sudo ld.so.preload-manager /usr/lib/libv4l/v4l1compat.so [sudo] password for dad: sudo: ld.so.preload-manager: command not found
View 9 Replies
View Related
Apr 25, 2011
So I am trying to install Plastic 2.8.148.0 on a virtual server. I have the install package that i copied over to the machine using WinSCP i then gave the file executable permissions by using the command "chmod +x PlasticSCM-professional-2.8.148.0-linux-installer.bin" But when i try to install the package by using the command "sudo ./PlasticSCM-professional-2.8.148.0-linux-installer.bin" It gives me the following message.
sudo: unable to execute ./PlasticSCM-professional-2.8.148.0-linux-installer.bin - No such file or directory
why it isn't recognizing it? I know the file was there because i was able to change permissions and i can see it with -ls command.
View 2 Replies
View Related
May 2, 2010
I am looking for a clue in shell or ant script, where I excecute a binay file on linux. For example ./myfile.bin which ask me few questions.
./myfile.bin ...........................100%
I would like to automate this process where I want to pass the hostname as a variable or read from a file is it possible? If yes any sample`s on this. I can do if this was a shell script ($1) but not sure when its binary.
View 8 Replies
View Related
Jun 12, 2010
I am using Ubuntu 10.04 LTS. Two days ago I updated using update manager. After that I can not boot Ubuntu. When I trying to boot system showing message " Ubuntu is running in low-graphics mode Your screen, graphics card and input device settings could not be detected correctly. You will need to configure these yourself" But I can not configure it.I can not boot to 'recovery mode' also
/var/log/boot.log
Code:
fsck from util-linux-ng 2.17.2
/dev/sda6: clean, 304282/1680960 files, 2964945/6723194 blocks
init: Failed to spawn ufw pre-start process: unable to execute: No such file or directory
[code]....
Now I am using Live CD.
View 3 Replies
View Related
Aug 5, 2011
Below are few of my questions that i am worried about.
1. alias command will list me all aliases. How to find where these aliases are located?
2. Please suggest me few resources on XWindows
View 5 Replies
View Related
Oct 4, 2010
Where are all Gnome wallpapers located? Not those "cosmos" in /usr/share/backgrounds , but all other.
View 2 Replies
View Related
May 27, 2010
I just updated from 9.04 to 9.10 (it's a long story, and I still can't go beyond 2.30).The update got rid of WICD, which is what I used and installed network-manager. Network-manager was not working at all, so I uninstalled it again and installed WICD. I could connect perfectly and had no problems.However, now the computer hangs during boot, saying that init can't start network-manager. I assume that something went wrong during the uninstalling process, since it wasn't updated.
This is the message: init: Failed to spawn network-manager main process: unable to execute: No such file or directory.
So how do I update it or manually change it so it stops requesting network-manager?
View 3 Replies
View Related
Apr 6, 2011
My machine is dual booted with Fedora 14 and RHEL 6. (I have only installed Red Hat because I am studying for RHCE). Just now I tried to install the Banshee player on my Red Hat OS. I ran various scripts inside the directory to see what really happens and after I ran the 'Makefile.in' file my terminal froze. It displayed '/bin/ not found'Then i restarted my computer and I got the following messages:
init: Failed to spawn readahead-collector main process: unable to execute: no such file or directory
init: Failed to spawn rcS main process: unable to execute: No such file or directory
init: Failed to spawn readahead main process: unable to execute: No such file or directory
[code].....
I tried run level 1 and run level 3 but I get the same error messages.
PS: My Fedora 14 installation is working fine.
View 1 Replies
View Related
May 20, 2011
this i am sure is a very newbie question i have been using linux for a while now Fedora 14 and am still stuck on one issue even though i have trolled the internet for hours. i want to install the 7300 gs driver however when i go to terminal and type: sh NVIDIA-Linux-x86-260.19.12.run i get the error you must be root. so simple i type su --login add my password then when typing the run command i get the error that the file is not located in root and can not run. so my question is how do i do it. if i cd to home i loose root permissions if i try sudo sh file.run i get the error it is not one of the sudoes.
View 4 Replies
View Related
Oct 17, 2010
I have stuffed up my system and I want to remove Glib 2.20 and Glib 2.26. How can I do this? Where are the files located? Sadly, there does not seem to be a make uninstall file for Glib.
View 3 Replies
View Related
Feb 6, 2011
Want to know where the source code of Linux is located
View 2 Replies
View Related
May 26, 2011
I know I can use the log file viewer to look at the logs; however, I was hoping someone can tell me exactly which folder contains the log files so I can view these files directly.
View 2 Replies
View Related