10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm new to utilities like socat and netcat and I'm not clear if they will do what I need.
I have a "compileDeployStartWebServer.sh" script and a "StartBrowser.sh" script that are started by emacs/elisp at the same time in two different processes.
I'm using Cygwin bash on Windows 10.
My... (3 Replies)
Discussion started by: siegfried
3 Replies
2. Shell Programming and Scripting
I want to use ssh to start a bash script that I have uploaded to a webhost. How do I do that from linux? (2 Replies)
Discussion started by: locoroco
2 Replies
3. Shell Programming and Scripting
If I have a script like this:
while true
do
wget www.***.com >> file
sleep 3600
done
Is it possible to upload it to a webhost and have it run indefinitely.
I have a hostgator account. How do I do this? (1 Reply)
Discussion started by: locoroco
1 Replies
4. Shell Programming and Scripting
How can I make a bash script that keeps on running after I have closed the terminal?
Or a script that runs without having the terminal window open? (1 Reply)
Discussion started by: locoroco
1 Replies
5. Shell Programming and Scripting
Can someone tell me the syntax to run a shell script from within MySQL? I know there is a way to do it, but I can't remember the syntax. I thought it was something like:
mysql> \. /user/myscript;
but I get this error:
Failed to open file '/user/myscript;', error: 2
Please help!... (4 Replies)
Discussion started by: peterv6
4 Replies
6. Shell Programming and Scripting
Hi All,
I think the processing of this is much more complex, so I will explain the whole process by codes.
First,I wrote a expect script named bsim.exp as follows:
#! /usr/local/bin/expect
set command
set name
eval spawn $command
switch -exact $command {
"bash expecttest.sh" {
... (2 Replies)
Discussion started by: Damon sine
2 Replies
7. Shell Programming and Scripting
hi,
i have a script that runs on bash and would like to run it on a machine that has csh and bash. the default setting on that machine is csh. i dont want to change my code to run it with a csh shell. is there any way i can run the script (written in bash) on this machine? in other words is there... (3 Replies)
Discussion started by: npatwardhan
3 Replies
8. Shell Programming and Scripting
Hi!
I want to run/execute a bash script automatically everytime when a specific file is created or when its timestamp changes. Is this possible? How?
Thank you very much for your answers in advance,
Regards,
Christoph (1 Reply)
Discussion started by: ckofler
1 Replies
9. UNIX for Dummies Questions & Answers
Hi, all,
I try to run a quite simple bash script mytest.sh in cygwin, it's content is:
#!/bin/bash
echo "It is my first bash shell"
there are three lines in the script. The second line is blank line.
When I run it use command: bash c:/mytest.sh, ... (6 Replies)
Discussion started by: Jenny.palmy
6 Replies
10. Solaris
nohup /bin/bassh $HOME/scripts/test.sh > $HOME/log/test.log 2>&1 &
nohup $HOME/scripts/test.sh > $HOME/log/test.log 2>&1 &
Which is the good practice to run a script in background of above two ?
does the first one will have any overhead on the system ?
our system is SunOS 5.10... (2 Replies)
Discussion started by: mmasals
2 Replies