Sponsored Content
Top Forums Shell Programming and Scripting command to get application name Post 302394432 by vbe on Thursday 11th of February 2010 10:40:28 AM
Old 02-11-2010
I suppose its OS and version dependant...
I get with your exact command, the command in first column (on AIX6.1)...
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Application for the script

Hi, I have created a script for shutdown timer in the bash shell. My question is that how to convert that script into an application in Linux, ie.. if i double click the application it should ask for hours, minutes settings and once given it shud start for shutdown - that should run in back... (1 Reply)
Discussion started by: gwgreen1
1 Replies

2. Shell Programming and Scripting

Kill remote application launched via SSH command

Hi All I launch some application in a remote machine using ssh EXAMPLE ssh -X myname@mycompany@RemoteServerIp 'myApplicationName' When I want to kill the application I hit CTRL+C and I see a message 'Killed by signal 2'. Unfortunately on the remote machine the application is not really... (1 Reply)
Discussion started by: manustone
1 Replies

3. UNIX for Dummies Questions & Answers

Uninstall an Application with Command Line

Hello everyone, I am new to UNIX and computers in general. However I recently started using the command line, and I have to say that it's a blast. It's so much fun to learn all these things, and it's quite handy too. I'm running Mac OS 10.5.8 and I want to uninstall an application that I... (5 Replies)
Discussion started by: HoldenCaulfield
5 Replies

4. Programming

cd command in shell application

Hola. I'm making an application that manages and executes commands unix shell does. The program can execute single commands except the cd. The commands are executed with execvp and it seems that the problem must be with this function and the current working directory. Could someone help... (1 Reply)
Discussion started by: GagleKas
1 Replies

5. Shell Programming and Scripting

command to know the application running of the port

Hi, is there any command to findout that which application is using the particular port. or whether any port is occupied with the specfic process id ? (4 Replies)
Discussion started by: mail2sant
4 Replies

6. UNIX and Linux Applications

The ps command - process showing up even after application is shut down

Hi all, I'm very new to unix, I'm developing an application in Java, part of which requires me to check if a certain application is still running. In windows, I just use tasklist - if the application has been shut down it won't appear in the task list. I've been trying to use the ps command to... (0 Replies)
Discussion started by: ekatmcg
0 Replies

7. Shell Programming and Scripting

Produces the application specified command to all regular files in a given directory

write a script in language shell bash, which produces the application specified command to all regular files in a given directory (and all subdirectories) Input parameters: - Defined directory; - Given command. this is my answer, but i'm not sure that it's true? #!/bin/bash echo '... (1 Reply)
Discussion started by: numeracy
1 Replies

8. Homework & Coursework Questions

Produces the application specified command to all regular files in a given directory

1. The problem statement, all variables and given/known data: write a script in language shell bash, which produces the application specified command to all regular files in a given directory (and all subdirectories) Input parameters: - Defined directory; - Given command. 2.... (1 Reply)
Discussion started by: numeracy
1 Replies

9. Windows & DOS: Issues & Discussions

How can I start a cygwin application from windows 7 command prompt?

I have compiled an application called tmesh.exe, that was compiled for the cygwin, win7 platform. I wonder, if I do that outside X window, Is there a chance that I can run it on the command prompt of windows 7? (tmesh:4048): Gtk-WARNING **: cannot open display: THANKS Jack (3 Replies)
Discussion started by: lucky7456969
3 Replies

10. Shell Programming and Scripting

How to execute application command in shell script?

friends, i have application commands to execute in shell script it is something like this. i will login with user data it takes me to $ prompt. Example given below login: data ps : xxxx $ MNSinput --this takes me to greater than prompt > > ops --this is command i enter this output... (7 Replies)
Discussion started by: udaykrishna
7 Replies
Tcl_PkgRequire(3)					      Tcl Library Procedures						 Tcl_PkgRequire(3)

__________________________________________________________________________________________________________________________________________________

NAME
Tcl_PkgRequire, Tcl_PkgRequireEx, Tcl_PkgPresent, Tcl_PkgPresentEx, Tcl_PkgProvide, Tcl_PkgProvideEx - package version control SYNOPSIS
#include <tcl.h> CONST char * Tcl_PkgRequire(interp, name, version, exact) CONST char * Tcl_PkgRequireEx(interp, name, version, exact, clientDataPtr) CONST char * Tcl_PkgPresent(interp, name, version, exact) CONST char * Tcl_PkgPresentEx(interp, name, version, exact, clientDataPtr) int Tcl_PkgProvide(interp, name, version) int Tcl_PkgProvideEx(interp, name, version, clientData) ARGUMENTS
Tcl_Interp *interp (in) Interpreter where package is needed or available. CONST char *name (in) Name of package. CONST char *version (in) A version string consisting of one or more decimal numbers separated by dots. int exact (in) Non-zero means that only the particular version specified by version is acceptable. Zero means that newer versions than version are also acceptable as long as they have the same major version number as version. ClientData clientData (in) Arbitrary value to be associated with the package. ClientData *clientDataPtr (out) Pointer to place to store the value associated with the matching package. It is only changed if the pointer is not NULL and the function completed successfully. _________________________________________________________________ DESCRIPTION
These procedures provide C-level interfaces to Tcl's package and version management facilities. Tcl_PkgRequire is equivalent to the package require command, Tcl_PkgPresent is equivalent to the package present command, and Tcl_PkgPro- vide is equivalent to the package provide command. See the documentation for the Tcl commands for details on what these procedures do. If Tcl_PkgPresent or Tcl_PkgRequire complete successfully they return a pointer to the version string for the version of the package that is provided in the interpreter (which may be different than version); if an error occurs they return NULL and leave an error message in the interpreter's result. Tcl_PkgProvide returns TCL_OK if it completes successfully; if an error occurs it returns TCL_ERROR and leaves an error message in the interpreter's result. Tcl_PkgProvideEx, Tcl_PkgPresentEx and Tcl_PkgRequireEx allow the setting and retrieving of the client data associated with the package. In all other respects they are equivalent to the matching functions. KEYWORDS
package, present, provide, require, version Tcl 7.5 Tcl_PkgRequire(3)
All times are GMT -4. The time now is 07:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy