T
T
Timur2016-09-06 21:45:00
bash
Timur, 2016-09-06 21:45:00

How to pass command to bash.exe on windows 10?

Windows 10 introduced BashOnWindows. Everything is cool, but I don’t understand how (and is it possible?) to pass the command to bash.exe so that it is immediately executed at startup?
I try

C:\Users\user> bash "ssh [email protected]"
/bin/bash: ssh [email protected]: Нет такого файла или каталога

Googled for 20 minutes. Didn't find anything

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mystray, 2016-09-06
@XAKEPEHOK

bash -c "cmd args ..."

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question