10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm trying to run a script remotely on a server in a particular directory named after hostname which already exists, my login session gets killed as soon as I run the below command. Not sure what is wrong, is there a better way to do it ?
Note: I can also use nohup command to run... (14 Replies)
Discussion started by: mbak
2. Shell Programming and Scripting
This is my situation.
ls -l .
---How can I see the content of .anything using (i.e) cat .anything?
If not possible can someone suggest a sequence to simulate a console-recorder
to "observ" from a RUNNING script session?
Please use code tags... (3 Replies)
Discussion started by: paolfili
3. Shell Programming and Scripting
I am new to shell scripting.
I tried to run a simple shell script using Cygwin terminal in Win XP env.
The script I have written is as follows -
] && echo "true" || echo "false"
But when I execute the script, getting some confusing error. The error I am getting are - ... (3 Replies)
Discussion started by: linux_learner
4. Shell Programming and Scripting
I am using a script that run ftp and transfer file from my source server to the destination server.
Since i have transferred my files to the destination server, now i want to run a script at the destination server.
Could you please help me regarding how to run a script in a ftp... (7 Replies)
Discussion started by: jaituteja
5. Shell Programming and Scripting
I have a simple script that moves files from one folder to another folder, I have already done the open-ssh server settings and the script is working fine and is able to transfer the files from one folder to another but right now I myself execute this script by using my creditianls to... (4 Replies)
Discussion started by: nks342
6. Shell Programming and Scripting
For a small script i want it so that the terminal closes when the script has completed its tasks.
To do so i use at the end if the script the following:
echo "Hello, World!"
echo "Knowledge is power."
echo "shutting down terminal in 10 seconds"
however the terminal stay's... (3 Replies)
Discussion started by: Ditzyken
7. UNIX for Dummies Questions & Answers
I'm new here so please excuse any stupidity that occurs in my post :P
Have a java program which I have to run a ridiculous amount of times and put the output data into a text file.
Thought the easiest way to do this would be to delve into the world of scripts.
I am at home... (1 Reply)
Discussion started by: lozyness
8. Shell Programming and Scripting
suppose we have a file
and another file
exec < $1
while read line
while running the command
sh file.sh ab
output display as shown
Pseudo-terminal will not be allocated because stdin is not a terminal.
after... (3 Replies)
Discussion started by: cdfd123
9. Shell Programming and Scripting
I have this script CAP2_Launcher on suntest server. this script needs two input files in order to process them and produces an output files.
I've created .bat file from windows to access the server and transfer the input files needed by the script and execute the script then pull... (3 Replies)
Discussion started by: sfaqih
10. Shell Programming and Scripting
I have written a shell script which would prompt the user to enter some name and a folder would be created by that name.
This script should run automatically when the users provide there credentials during a FTP session and for every FTP session.
And after they have provided there... (5 Replies)
Discussion started by: h3llh0l3