10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
In Bash shell - the ps -ef shows only the /bin/bash but the script name is not displayed ? Is there any way to get the script names for the process command ?
--- Post updated at 08:39 AM ---
in KSH (Korn Shell), my command output shows the script names but when run in the Bash Shell... (3 Replies)
Discussion started by: i4ismail
3 Replies
2. Shell Programming and Scripting
I'm using the Links2 console web browser in graphical mode (the "-g" argument), and launching a shell script
that invokes MPlayer from within it. MPlayer works fine. No problem there. The problem, is that I have no
control over the MPlayer process. I would like to be able to exit MPlayer whenever... (16 Replies)
Discussion started by: ignatius
16 Replies
3. Shell Programming and Scripting
So I'm trying to pass certain json elements as env vars and use them later on in a script.
Sample json:
JSON='{
"Element1": "file-123456",
"Element2": "Name, of, company written in, a very weird way",
"Element3": "path/to/some/file.txt",
}'
(part of the) script:
for s... (5 Replies)
Discussion started by: da1
5 Replies
4. Ubuntu
Some of my .desktop launchers aren't working. When I try to execute it from the main menu nothing happens. When I try to launch it from a terminal I get the following:
$ /usr/share/applications/qjoypad.desktop
/usr/share/applications/qjoypad.desktop: line 1: Here are the contents of the launcher:... (0 Replies)
Discussion started by: Deluge
0 Replies
5. Red Hat
Hi,
-- I am new to linux, please bear with my tech terms.
I am using Red Hat 4.1.2-48 (Linux version 2.6.18-194.11.1.el5) for the project. This is a remote server and I do not use any GUI.
Now I need to install a product that requires me to launch firefox from linux. when i am trying... (3 Replies)
Discussion started by: vj8436
3 Replies
6. Shell Programming and Scripting
hi,
I have shell script ( say A.sh) that launches another shell script ( say B.sh) on the server.
In shell script A.sh, if i call B.sh as
. B.sh <-- it doesnt work, err file not found
. ./B.sh <-- it doesnt work, err file not found
./B.sh <-- works
why so? BTW the file exists at the... (4 Replies)
Discussion started by: sjc
4 Replies
7. Shell Programming and Scripting
Hi,
General question, if I have a shell script whcih I launch from anywhere on the system vis the PATH env var, how can I get the script to echo where I launch this from?
i.e. /my/home/script/myscript
BUT
I launch this from /my/otherarea/somewherelse via the env variable. I would... (1 Reply)
Discussion started by: cyberfrog
1 Replies
8. Shell Programming and Scripting
hi there,
i need some help, i am trying to run a script to launch a C program and a Java program but before running both I want to get a user input and then invoke both programs with input received. In the programs the inputs are not command line arguments.
This is the code,
after the java... (4 Replies)
Discussion started by: momal
4 Replies
9. UNIX for Dummies Questions & Answers
Hi folks!
my client uses an winapplication which is launching shell-scripts remotely on a HP-Unix Machine via Rexec.
The application-configuration is launching the script (which is in the home directory of connecting user) like:
rexec host user pass shell.sh
So far so good, everything... (3 Replies)
Discussion started by: JohnMurdoch
3 Replies
10. Shell Programming and Scripting
Hi,
I need to create a shell that launches several shells named for example svspush (that does nothing but wait) and record their pid in a file.
Any inputs please.
Thanks,
Marconi (1 Reply)
Discussion started by: marconi
1 Replies