2017-12-04 2 views
1

Ich befolge dieses Tutorial hier here, ich installierte GNU parallel und testete es mit dem Ping-Befehl wie gelesen here.GNU parallel bin bash Befehl nicht gefunden

Versuch:

parallel –j8 ./ A_asymm_refine.sh {} ::: {1..8} 

Gibt:

[[email protected] Documents]$ parallel –j8 ./ A_asymm_refine.sh {} ::: {1..8} 
Academic tradition requires you to cite works you base your article on. 
If you use programs that use GNU Parallel to process data for an article in a 
scientific publication, please cite: 

    O. Tange (2011): GNU Parallel - The Command-Line Power Tool, 
    ;login: The USENIX Magazine, February 2011:42-47. 

This helps funding further development; AND IT WON'T COST YOU A CENT. 
If you pay 10000 EUR you should feel free to use GNU Parallel without citing. 

To silence this citation notice: run 'parallel --citation'. 

/usr/bin/bash: $'\342\200\223j8': command not found 
/usr/bin/bash: $'\342\200\223j8': command not found 
/usr/bin/bash: $'\342\200\223j8': command not found 
/usr/bin/bash: $'\342\200\223j8': command not found 
/usr/bin/bash: $'\342\200\223j8': command not found 
/usr/bin/bash: $'\342\200\223j8': command not found 
/usr/bin/bash: $'\342\200\223j8': command not found 
/usr/bin/bash: $'\342\200\223j8': command not found 

Wie kann ich das Problem beheben?

+0

Sie verwendet eine 'en-dash' Zeichen (U + 2013) statt einen Bindestrich (U + 002D = ASCII 0x2D) auf die Option. Vielleicht schneiden Sie diesen Befehl aus einem Microsoft-Mangled-Dokument oder einer schlecht codierten Website aus. Tippen Sie stattdessen auf der Tastatur ein und ** verwenden Sie den normalen Bindestrich **. –

+0

Danke. Ich weiß, bekommen "" ""/usr/bin/bash: ./: Ist ein Verzeichnis "" "ein paar Mal. – PythonEatsJava

+0

Macht nichts, es gab eine zusätzliche Leerstelle vor dem foward Schrägstrich. – PythonEatsJava

Antwort

0

Versuchen Sie stattdessen:

parallel -j8 ./A_asymm_refine.sh {} ::: {1..8}