Comment utiliser les commandes shell unix sur vista


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Comment utiliser les commandes shell unix sur vista
# 1  
Old 02-04-2011
Comment utiliser les commandes shell unix sur vista

1) Comment utiliser les commandes shelll unix pour recherche sur windows vista, est-ce possible et dans ce cas comment
2) comment exécuter un .ksh ou .bat sous putty, j'ai essayé mais je reçois le message
ksh: ./: 0403-006 Execute permission denied. lors de la commande ./ testx

Merci d'avance
# 2  
Old 02-04-2011
I don't understand French at all so forgive me for not using translate and just trying to help as is, did you give your script execute permissions? As root, or if your box has 'sudo' installed and set up type:
Code:
chmod +x testx

or
Code:
chmod 0755 testx

# 3  
Old 02-04-2011
ok
essai ceci :
Code:
tomcat6@[/batch/test/scripts/input] > chmod g+x testbem.dat

Réponse:
Code:
chmod: testbem.dat: Operation not permitted.

essai aussi ceci
Code:
tomcat6@[/batch/test/scripts/input] > ls

Réponse is ok :
Code:
chmod         mkdirtest     testbem.txt testx.ksh mkdircatlg    testbem.dat   testbem1.txt

+
Code:
tomcat6@[/batch/test/scripts/input] > chmod 0755 testbem.dat

réponse ERROR >>
Code:
ksh: chmod::  not found.

---------- Post updated at 03:37 AM ---------- Previous update was at 03:35 AM ----------

soft existant sur le pc : putty , j'ai aussi Filezilla ...

!!
Quote:
chmod g+x testbem.dat
>> ok en prod

Last edited by infosuni0309; 02-04-2011 at 05:05 AM..
# 4  
Old 02-04-2011
Per our forum rules, all posts must be in English. Please edit your posts accordingly.

Also, please use [CODE] tags for command lines, listings, ...
This User Gave Thanks to pludi For This Post:
# 5  
Old 02-04-2011
Quote:
Originally Posted by DC Slick
I don't understand French at all so forgive me for not using translate and just trying to help as is, did you give your script execute permissions? As root, or if your box has 'sudo' installed and set up type:
Code:
chmod +x testx

or
Code:
chmod 0755 testx

---------- Post updated at 10:14 AM ---------- Previous update was at 07:47 AM ----------

Good for chmod
How to termine this question please ?
Smilie
# 6  
Old 02-04-2011
You can't close a thread, you can only mark it as solved by editing the thread subject. And while you're at it, please (finally) translate your other posts in this thread to plain english.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Easiest way to comment/uncomment a shell script?

cd path line1 line2 line3 line4 line5 Lets say thats the sample script...So say if i have to comment the above script, which would be the better way so that whenever i want, i cud comment or uncomment the same. Thanks (1 Reply)
Discussion started by: saggiboy10
1 Replies

2. UNIX for Dummies Questions & Answers

multiline comment in shell script

Is thery any way to give comment to multiple line without explicitly specifying # at the begining of each line ? (2 Replies)
Discussion started by: hiten.r.chauhan
2 Replies

3. UNIX for Advanced & Expert Users

combined commandes withh SSH

Hi, on AIX, is it possible to have more than one commande in ssh instruction ? For exemple : ssh user@remoteserver df -k , ls /tmp If yes what is the correct syntaxe ? Thank you. (2 Replies)
Discussion started by: big123456
2 Replies

4. What is on Your Mind?

Converting an old windows vista system to Unix

I have an old Dell system that I would like to convert over to a Unix system and I have no idea how to do this. Where can I go to get the information to do this. This will be a secondary computer that I will learn and "play" with. I have heard that it is fairly easy to do and that once I get used... (0 Replies)
Discussion started by: Richard.Borden2
0 Replies

5. UNIX for Dummies Questions & Answers

Why do a unix script starts with a comment?

For eg: #!/usr/bin/ksh <remaining code goes here> .. .. Does the compiler ignores that? Thanks (2 Replies)
Discussion started by: ajincoep
2 Replies

6. Shell Programming and Scripting

best way for removing comment from shell scripts -- bash

Again a comment removal requirement from me, refer my previous problem & solution for removing comment from ruby scripts: https://www.unix.com/shell-programming-scripting/118296-best-way-removing-comment-ruby-program.html This time, it is for stripping of comments from Shell Script. I search for... (2 Replies)
Discussion started by: thegeek
2 Replies

7. Shell Programming and Scripting

comment and uncomment a line with Shell Script

Requirement is: 1. comment and uncomment the line with Shell Script: /opt/admin/fastpg/bin/fastpg.exe -c -=NET (using fastpg.exe as a search option) 2. display = "Commented" (when its commented) and display = "Uncommented" (when its uncommented) Its urgent, please let me asap!!! Thanks in... (2 Replies)
Discussion started by: anthonyraj75
2 Replies

8. UNIX Desktop Questions & Answers

good Unix emulator for vista PC

Dear experts! can you please advise if there are good solutions to emulate Unix on a vista PC? I'm on windows by default, as many on my crucial applications are exclusively win-based, so rebooting each time I need UNIX functionality in a double-boot configuration is not my case.. But I do like... (1 Reply)
Discussion started by: roussine
1 Replies

9. Shell Programming and Scripting

Block Comment in Shell script

how to put multiline comments in a shell script like /* Some code */ in C language? (3 Replies)
Discussion started by: skyineyes
3 Replies

10. Shell Programming and Scripting

how to comment multiple lines in unix

hi all, please help me how to comment multiple lines in unix script. thanks in advance --bali (3 Replies)
Discussion started by: balireddy_77
3 Replies
Login or Register to Ask a Question