General :: Seeking Shortcut To Execute A Program With A Supplied Local Path?

Sep 14, 2011

A program requires local path property to perform correctly.I'm seeking shortcut command to execute a program with a supplied localPath For example, cd /usr/local/blogrmis/usr/local/blogrmis/remote & remote program requires local path @ /usr/local/blogrmis to run.is there any shortcut which i can do it in 1 line?

View 2 Replies


ADVERTISEMENT

General :: Command Line - Can Add A Shortcut To Replace A Path

Jul 24, 2010

For example, I always go to this path:

/user/something/somefolders/somewhere

but I don't want to type

cd
/user/something/somefolders/somewhere

in the terminal all the time, can I have some short hand to do so? for example, can I do something like

cd commandPlace

to replace the path?

View 5 Replies View Related

General :: Crontab Path When Execute Job

Apr 1, 2010

I have and entry in a crontab for my user (appadmin) that when it executes it does not start with the proper path. It needs to start as the appadmin user as appadmin owns all the directories for glassfish. However, once glassfish restarts, the hudson application cannot find the default JDK. I get an error. If I initiate the restart via command line, all works as it should. I believe it has something to do with PATH in the crontab but am not sure what I need to set the PATH to in crontab.

View 1 Replies View Related

Ubuntu :: Unknown Program Seeking Authorization?

Jun 25, 2010

Every now and then a window titled 'authorization dialog' pops up. It says "you need to supply a username and a password to access this site". Please view the screenshot of that window in the attachments. Even if I cancel it, the program seeking it seems not to terminate. It returns repeatedly...in every log in also. I am pretty irritated.how to terminate this appending agony.

View 5 Replies View Related

Ubuntu :: Seeking Information On Cross Chat Program.

Dec 6, 2010

Can anyone tell me of a simple chat program that I can install on both Windows and Linux? I need it more for the local intranet than the internet. I wish to chat with window users in my network? Also please forgive me if this is the wrong forum for this question.

View 7 Replies View Related

General :: Potential - With Adding /usr/local/[s]bin To Root's Path?

Mar 2, 2011

I've noticed that the root account $PATH does not include /usr/local/bin or /usr/local/sbin by default. Are there any potential issues that could arise from adding those directories to the path? If so, what is the best way to make sure your shell finds executables in those directories, without affecting the stability and security of the system?

View 2 Replies View Related

General :: Find Out Path Of Program?

May 20, 2011

On Unix I can call certain programs from everywhere, like sort, pwd or my_custom_script.sh. How can I find out, where on the system my_custom_script.sh really resides?

View 2 Replies View Related

General :: Execute A C Program - Segmentation Fault

Nov 17, 2009

I am using RHEL, and trying to execute a c program.I'm able to compile properly and execute until i reach a function getHandle, where the program gives a segmentation fault. Segmentation fault occurs in getHandle().

Here is the code:

View 3 Replies View Related

OpenSUSE :: Execute Program On Wake / Kill Program On Suspend?

Apr 15, 2011

I have problems to get it work. i have tried to use pm-utils, but it does nothing.

What is need is to kill application, when pc is going into suspend to ram and run that application again on wake. It's a graphical application.

View 1 Replies View Related

General :: Execute A Program Based On A Keypress From A Specific USB Keyboard?

May 4, 2011

I've been given one of these ubiquitous usb-sleep buttons which is basically a supersimple usb-keyboard. It's a big button that sends a SLEEP keypress to the computer when you slam it. But that is pretty boring. I'd love to remap it to do something more fun but I can't figure out how to bind to only the sleep press from the button and not from my ordinary keyboard.

The button identifies as

Bus 001 Device 035: ID 1130:600d Tenx Technology, Inc.

I'd like to know if there's either

a way of mapping a key from a specific keyboard to an action OR a way of remapping the sleep key from a specific keyboard to a new key-code or something like that.

View 1 Replies View Related

General :: Command To Compile And Execute Fortran Program On System Machine?

Apr 8, 2010

Command to compile n execute a Fortran program on a Linux machine

View 6 Replies View Related

General :: Simultaneously Execute 8 Instances Of A Program Until All Input Files Are Processed?

Sep 27, 2010

I have a machine with 8 cores. I have a directory of input files that I need to process using a non-parallelized program. I would like to write a script that works its way through a list of commands executing 8 commans (i.e., instances of this program; each with specific flags having to do with the current input file) until the list of commands has been exhausted. Is there an easy way to do this?

Code:

hamstrsearch_local-hmmer3.pl -protein -refspec=lotgi_2713 -hmmset=lophotrochozoa_hmmer3 -sequence_file=Aplysia_californica.fas -taxon=ACAL

View 3 Replies View Related

Ubuntu :: Application Launcher Shortcut To Open Terminal And Execute A Command

Jan 15, 2010

I'm having Ubuntu Kramic Koala and i want to create a custom application launcher on the panel so when it is clicked it should open a terminal window and run the following command and then show the output for 5 secs and then closes the terminal... how can i do this?

Code:
cat /proc/sys/vm/laptop_mode && sleep 5

the above command is what i want to be executed at time of running the custom application launcher. if i paste the command in a terminal, it will show the output for 5 secs and then terminates... that's almost what i want. what i exactly want is that, i want it to work like when i click on the shortcut launcher, it should open a terminal and then exectues that command, show the output for 5 sec, pause, and then exits the teriminal.

View 8 Replies View Related

General :: Blacklist A DNS Server Supplied Via DHCP?

Jul 2, 2010

The DHCP server on a network I use specifies a DNS server that I do not want to use. Is there a way to continue to use DHCP but to modify the provided information or to "blacklist" one (of the three provided) DNS servers?

The client in question is running Ubuntu 10.04. Networking is managed by NetworkManager but I'm not wedded to that. In fact, I don't like it and wouldn't mind a reason to use something else.

View 1 Replies View Related

General :: Eliminate Error When No Parameter Is Supplied?

Apr 23, 2011

I am familiar with bash, but my works require csh. in my .cshrc, I created this alias:alias cd 'cd !:1; ls -l' It works very well except for one case: when I cd without any parameter:

cd In which case, I get the "Bad ! arg selector" error. How do I eliminate this error?

View 1 Replies View Related

Red Hat :: Re-execute Rc.local File Only

Dec 30, 2008

I am using RHEL 5 and i have configured a daemon that starts automatically when system boots, i have written its startup script on /etc/rc.d/rc.local file and it executes successfully but the problem is that if that daemon stops running (due to any reason) i have to restart/reboot the whole server so that the daemon runs, i need to know that is there a way that we can just re-executes the /etc/rc.d/rc.local file while the whole sytem remains as it is.

View 4 Replies View Related

Programming :: Awk - Input From One Line - Execute Program - Input From Next Line - Execute Program

Sep 25, 2010

I have a file with two fields of numbers that I want to use as input for another program.

Code:

The above code does not work, as I think it would take the whole first and second fields as the input for one particular instance of the program 'inputbashangle'. What I want is to get the first two numbers from the first line of the file 'outfailtest', execute 'inputbashangle' with them, then move on to the first two numbers of the second line for all the lines of 'outfailtest'.

View 9 Replies View Related

Ubuntu :: Rc.local Will Not Execute - Error

Jun 1, 2010

I have written a device driver and would like to load it automatically and generate the device nodes. I wrote a config script that I would like to execute at boot and added it to rc.local. It will not run at boot up and I have spent hours researching. The file is below:

#!/bin/sh -e
#
# rc.local

[code]....

If I execute this script from the command line, it works fine. But it does not work at boot up. The echo command is never executed. The link S99rc.local did not exist in any of the runtime directories. I created S99rc.local in /etc/rc2.d and linked it to ../init.d/rc.local. This did not help. The link /etc/rc2.d/S20rc.local already existed.

View 3 Replies View Related

Programming :: Shell Can't Execute Through Ssh But Local Well?

Jan 10, 2010

The two host one is Aix 5.3 and another is Suse 10sp2 the both have the same script which including the following parts:

if [ `date +%a` = "Mon" ];then
if [ "$RESULT" = "" ]; then
echo "The `hostname` $DATE ok"

[code]...

View 1 Replies View Related

General :: Execute Commands In TERMINAL Found These "~" "/" At The End Of The Path?

Jul 1, 2010

when i tried to execute commands in TERMINAL i found these "~" "/" at the end of the path (user@hostname~ | user@hostname/) what does it mean and what is ~ and / ?

View 5 Replies View Related

General :: Difference Between PATH=$PATH:$1 & PATH=$1:$PATH?

Jan 16, 2011

I found the following function in /etc/profile file.

[Code]...

1. I dont undestand what "if ! echo $PATH | /bin/grep -qE "(^|:)$1($|:)"" this if statement actually comapres??

2. Also what is the difference between PATH=$PATH:$1 & PATH=$1:$PATH

View 14 Replies View Related

SUSE :: Make A Shortcut For Any Given Program?

Jun 24, 2010

After installing a few packages without a package manager (yast), I was wonding if there is anyway to make a shortcut (or application link or whatever its call) for any given program you install to show up automatically on all users desktops and start menus(for lack of a linux term). For example I installed firefox to a folder in the /opt directory and found that i could drag and drop the shell command to the desktop to make a shortcut, or i could create a new application link on my desktop and point it at firefox. But what If i wanted that to show up for all users somewhere by default? Is there anything like the "all users" desktion winXP or the "public user" in win7?

View 2 Replies View Related

General :: Write A Shell Script That Allows Only User 1 And User 2 To Execute A Program?

Feb 25, 2010

I've looked everywhere but I can't find where to change the default box for incoming mail, or am I on the wrong track. It's a nuisance having to change folders and I can't configure wastebin to empty on exit.And I can't get kmail to import from evolution. Do I have to go to the evolution storage and do it manually, and if so, how do I do that?

View 1 Replies View Related

Ubuntu :: Create A Shortcut To Run A Program On Terminal?

Jul 7, 2010

I want to create a shortcut to run a program called RoomEqWizard but the only way I know how to run the program is to open a terminal and type the location to where the program is and call the program file. I already tried creating a shortcut on the main menu but I get a "error creating the child process for this terminal" message every time...

View 1 Replies View Related

Ubuntu :: Can't Remove A Shortcut Made By A Program

Jul 25, 2010

I recently installed Acetone ISO in the hopes of installing a program, but alas it doesn't do what I need it to (run the MDF file like a disk rather than showing all the files in it, and because this is a multi-disk thing I'm installing I'm kinda stuck now) and I noticed it would make a new virtual drive every time I mounted an image, and I wound up with four of them, and each one had its own shortcut on my desktop. Well, I removed the program and deleted the folder it created, but these shortcuts are still on my desktop. And they are UNTOUCHABLE!

The command line ls -al ~/Desktop/ will show everything on the desktop BUT THEM, they have no permissions, and cannot be moved, copied, or deleted, because Ubuntu can't find volume information on them. I reinstalled the program to see if anything would help, and I noticed that the drives would go away if I unmounted the image (I coulda sworn I told it to before, but it didn't want to...) but now these drives are errors to the program, and I still can't remove the shortcuts.

View 3 Replies View Related

Ubuntu :: Make Shortcut To Java Program?

Sep 15, 2010

How to make a shortcut to a program?

It's a Java program started by a shell script

#!bin/sh
java -jar LinShredder.jar

It starts okay in its original folder, but when I link to it from e.g. the desktop it doesn't work.

View 9 Replies View Related

OpenSUSE :: Make A Shortcut In A Desktop That Executes A Program?

Nov 12, 2010

even though this is a simple task I always have problems to do this.I want to execute the following#!/bin/bashjava -jar JabRef-2.6.jaror in other words this is the command I use in konsole to make the application to launch.Then usully I try to create a desktop in the icon either by using a. create link to locationorb. create link to application.where I select as file the file myfile.sh that contains the two lines of code I posted above (see again below)
"#!/bin/bashjava -jar JabRef-2.6.jar"I do this file executable by using the chmod +x.Sometimes I think this works while others like now I only receive the cursor bouncing for sometime before it dissapears

View 4 Replies View Related

OpenSUSE :: Create A Shortcut For A Program That Launches In Terminal?

Jun 11, 2011

I'd like to create a launcher for ParaView that requires a terminal shell in order to launch. It is just a pain having to enter the couple of lines to launch it from Konsole.

cd /home/user/Document/ParaView(version)/bin
./paraview

Lemme know what you think. I'd just like to add something to the quick launch panel.

View 1 Replies View Related

Ubuntu :: What The Shortcut Keys Are To Force Quit A Program

May 15, 2010

what the shortcut keys are to force quit a program that has frozen up in Ubuntu 10.04? I use to know it, but can't remember

View 4 Replies View Related

Ubuntu :: Possible To Execute Program From RAM

Feb 14, 2010

I was wondering if it was possible to execute a program from RAM, like having the file data in a bash script variable and then running it.
Something like this:
ls=`cat ls`
$ls
So is it possible to run a program without touching the hard disk and without creating tmpfs or ramfs (it would need to be standard user privileges).

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved