10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
We have shell scripts in UNIX ( Sun OS ) server.
Also in my windows machine i have Cygwin installed.
Now is there a way to execute Shell script available in UNIX server from Cygwin? (4 Replies)
Discussion started by: Girish19
2. Shell Programming and Scripting
I have a file with below format :
2013-05-21 thank you
I want the out put to be like this :
2013-05-20 hello has done
2013-05-20 hi 000abc abc
2013-05-21 thank you
What I could think of is something like this :
cat... (7 Replies)
Discussion started by: Sparta
3. Shell Programming and Scripting
Cygwin will execute a shell script without turning on executable status on the file.
I want to force cygwin to be more like linux and not execute scripts directly on the command line unless changing mode to have executable status.
Is this possible?
Larry (2 Replies)
Discussion started by: larrye0123
4. 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
5. Shell Programming and Scripting
I am using Cygwin for running the shell script.
If i execute the following command at the prompt output is obtained.
grep echo *
The same i have put in a file and when am trying to execute it is throwing error.
echo "Starting command..........."
grep echo *
... (9 Replies)
Discussion started by: flamingo_l
6. Shell Programming and Scripting
I would like to execute a shell in windows. So I installed Cygwin but I got this message :
$ sh /neuf.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 ... (4 Replies)
Discussion started by: mytrax
7. UNIX for Dummies Questions & Answers
I'm using cygwin scp to copy a file down from a AIX server to my laptop.
I've got he script working from the command line. The file I'm copying is Processed.Apr21 and I'm copying it to /event_transfer folder on my laptop.
scp email@example.com:/var/Tivoli/logs/Events/processed.Apr21... (3 Replies)
Discussion started by: cav.turbo
8. Shell Programming and Scripting
I am trying to execute a Shell script file.
The file has the following commands.
#Return today's log file
#Return last modified date of the Log File
FILE_MOD_DATE=`date -r $LOG_DATE`
If I execute the... (6 Replies)
Discussion started by: AnneAnne
9. UNIX for Dummies Questions & Answers
I installed Cygwin y'day on Win XP SP2.
The install went fine but when I clicked on Cygwin's shortcut to invoke its shell, it didn't come up.....was just opening for a fraction of second and then closed.
Can anyone please advise?
er_ashu (6 Replies)
Discussion started by: er_ashu
10. UNIX for Dummies Questions & Answers
Before I start, I would like to inform that, I went through all FAQs and other threads before posting here.
I 'm trying to schedule a shell script on cygwin using cron. No matter what I do I don't seem to get the cron job executing my bash script.
My script is temp.sh
echo `date` >... (4 Replies)
Discussion started by: shash