Using Windows instead of Linux

Using bash

o2

students please contribute

Using gitbash

o2

students please contribute

Using conda

o2

students please contribute

Using cmd

The following table lists commands that do the sam things between linux and windows.

Linux

Windows

Comment

which FILE

where FILE

rm -rf DIR

rmdir DIR /s /q

history

doskey /HISTORY

cat FILE

type FILE

mv FROM TO

move FROM TO

cp FROM TO

copy FROM TO

ls

dir /w

ls -lisa

???

dir /q

shows owner

see (1)

sows read write

    1. powershell "dir | Get-Acl"

    1. powershell "dir | Get-Acl | fl"

Do not use notepad, but if nothing else is available

notepad FILE

See also:

EASY INSTALL

Make sure you have python3.7.4 installed from python.org

Place the following in your folder that comes up when you start CMD.exe.

ENV3.bat

pip install pip -U --user
ENV3\Scripts\activate.bat

SETUP-ENV3.bat

rmdir ENV3 /s /q
python --version
python -m venv ENV3
echo "Start a new CMD.exe"
start cmd.exe /k "ENV3 & pip install pip -U --user"
exit

CMS-CLONE.bat

mkdir cm
cd cm
pip install cloudmesh-installer
cloudmesh-installer git clone cms
cloudmesh-installer git pull cms
cloudmesh-installer install cms -e
cms help

CMS-AA.bat

rmdir e-cloudmesh-command /s /q
mkdir e-cloudmesh-command
cd e-cloudmesh-command
cms sys command generate aa
cd cloudmesh-aa
pip install -e .
cms help
cms aa list

Using it

Do the following

start a cmd.exe in which you execute

SETUP-ENV3.bat

A new window will start in whcih you execute

CMS-CLONE.bat
..\CMS-AA.bat