Shell script in windows


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Shell script in windows
# 8  
Old 05-18-2009
lol really not. I am a complete newbie. It is my first program. I learn a few commands like echo, cp, cat, etc and I now want to practice with writing basic programmes like printing out names etc. You know the 'hello world' stuff you do when you startingSmilie
EDIT: This post is in response to ghostdog74
# 9  
Old 05-18-2009
Quote:
Originally Posted by robsonde
sounds like you need to learn the mircosoft power shell.

the chmod command won't work in windows because windows has a diffrent way of doing things.

this forum is mostly about unix, you need to find a forum for windows.
Yeah I know it is unix. But I wanted to learn shell scripting.
# 10  
Old 05-18-2009
Quote:
Originally Posted by #moveon
lol really not. I am a complete newbie. It is my first program. I learn a few commands like echo, cp, cat, etc and I now want to practice with writing basic programmes like printing out names etc. You know the 'hello world' stuff you do when you startingSmilie
if you really want to practice shell scripting on windows, then yes, you can download cygwin and give it a shot. after that ,you can try others.
# 11  
Old 05-18-2009
Quote:
Originally Posted by ghostdog74
if you really want to practice shell scripting on windows, then yes, you can download cygwin and give it a shot. after that ,you can try others.
Ok thanks. But how can I execute a program after I finish writing it?
# 12  
Old 05-18-2009
Quote:
Originally Posted by #moveon
Ok thanks. But how can I execute a program after I finish writing it?
see here. read chapter 2 (as well as the others)
# 13  
Old 05-18-2009
Quote:
Originally Posted by ghostdog74
see here. read chapter 2 (as well as the others)
Thanks!
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

C Shell script not run with Windows 10

Hi all, I have a script has been writing for Unix or Linux. Now I want to run under Windows 10. is give me Error: if:Badly formed number How to fix this please help *** This is a copy of a part of Script. set absolute_gap = 0 if ($min_p_to_p != "" && $min_p_to_p != "N/A" && $min_p_to_t... (5 Replies)
Discussion started by: dovo
5 Replies

2. Shell Programming and Scripting

Windows batch script to Shell script

Hi everyone, I've below windows batch script which is used to filter the file contents line by line and assign the matched values to the variables in for loop. for /F "tokens=1,3 delims=:" %%A in (%LOG_DIR%\PM_IS_workflow_status.log) do ( set "ATTR_NAME=%%A" if /i "!ATTR_NAME!" EQU "Folder"... (1 Reply)
Discussion started by: Kathraji
1 Replies

3. Shell Programming and Scripting

Unix shell script to Copy files from one Windows server to another Windows server.

Can anybody please help me on how to code for the below requirement: I need to write a shell script (on different unix server) to copy files from multiple folders (ex. BRN-000001) from one windows server (\\boldls-mwe-dev4)to a different windows server(\\rrwin-ewhd04.ecomad.int). This shell... (4 Replies)
Discussion started by: SravsJaya
4 Replies

4. UNIX for Advanced & Expert Users

ftp in shell script from linux to windows XP

Hi, I have 9 different linux based servers and i am automating there healthcheckup by doing ssh and fetching deviations out of it in a single text file. I am doing so by using ssh keygen. I am done with the above part . Now i want to ftp that text file to my windows XP desktop and i want to... (4 Replies)
Discussion started by: gemnian.g
4 Replies

5. Shell Programming and Scripting

Change the Windows Batch script to UNIX shell script.

Hi, When I run the below script in UNIX it's throwing syntax errors. Actually it's a windows batch script. Could anyone change the below Windows Batch script to UNIX shell script... Script: REM :: File Name : Refresh_OTL.bat REM :: Parameters : %1 - Region REM :: : %2 - Cube Type REM ::... (5 Replies)
Discussion started by: tomailraj
5 Replies

6. UNIX for Advanced & Expert Users

Executing a shell script from windows;script present in unix

I need to execute a shell script kept in unix machine from windows. User id, password area available. For eg. There's a shell script wich moves all the logs kept in my home directory to a directory named LOGS. Now i need to get this done through windows; either using a batch file, or java... (4 Replies)
Discussion started by: rajneesh_kapoor
4 Replies

7. Shell Programming and Scripting

FTP from unix shell script to windows

Hi, I m trying to connect/establish FTP from unix shell script to my PC.Below the script i have written #!/bin/ksh ftp -v -n ddcappip01.com << "EOF" user Amit jason bye EOF ------------------------------ERROR-------------------------- but i m getting the below error for the... (4 Replies)
Discussion started by: ali560045
4 Replies

8. Shell Programming and Scripting

Renaming putty windows with a shell script

i frequently have to open multiple putty windows to ssh into a unix server running HP-UX 11.23. Since i use some of the windows for dedicated processes i would like to rename them (the caption displayed in the titlebar) to something more convenient than the standard <Host>.<Server>.com While... (4 Replies)
Discussion started by: orno
4 Replies

9. UNIX for Advanced & Expert Users

Executing shell script from Windows FTP

Hello, Any inputs on the possibility of executing a shell script on unix box from Windows FTP TIA (1 Reply)
Discussion started by: B2BIntegrator
1 Replies

10. UNIX for Dummies Questions & Answers

How to execute a shell script from Windows

I like to start a korn job remotely, from windows. I tried REXEC and that is not what I want. Need help !!!! thanks (4 Replies)
Discussion started by: kyawlin
4 Replies
Login or Register to Ask a Question