简体   繁体   中英

How to execute this command line from linux in windows

as I said in the title, I'm using windows as my OS, but when I read a tutorial in github repository, they give the step to try the demo using this command:

1. $ cd testFolder
2. $ wget somelink.tar.gz
3. $ tar -zxvf demo_data.tar.gz
4. $ cp demo_data/00_data.sh .
5. $ cp demo_data/Config.py .
6. $ bash 00_data.sh
7. $ python 01_run.py

for line 1 until 3 I can do it in windows since:

  1. in line 1, basically we can do it the same since cd means to open a folder that we want
  2. line 2, is to clone the repository
  3. line 3, I think it to unzip the downloaded file, and I can do it manually in windows, it's good if you can give a command line for this in windows

but for line 4-7 I'm confused as how I can trigger it in windows, can someone help me for this?

line 4 and 5 copy the file 00_data.sh and Config.py to the current directory testfolder and should work on windows

to use the bash command in line 6 should help this How to run.sh on Windows Command Prompt?

line 7 call the 01_run.py file with python and should work on windows

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM