From this tutorial, you should be able to set-up a Unix-like environment to simulate the actual Command-Line Interface (CLI)
you face in CS2030 during your lab sessions.
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp
sudo apt update, followed by sudo apt install openjdk-11-jdk-headless.
As gVim is not installed on your Ubuntu environment, you would need to install it yourself.
To do so, type in sudo apt install vim-gnome.
Type in vim .bashrc and add the last line to your .bashrc file.
Once done, exit the file and restart the Ubuntu application.
Now, gVim should work whenever you use the gvim command.
You can change your .vimrc file configurations to suit your needs.
Below is a sample .vimrc file configration provided for you.
filetype plugin indent on
set lbr nu et ts=4 sw=4 ai si sc bs=2 wb nobk vb so=1 ru ls=2
set ww=b,s,h,l,<,>,[,]
set clipboard=autoselect,exclude:.*
set fo+=r
syn on
vim .vimrc, change the configurations and save using :wq.If you follow all these instructions carefully, you should be able to access your files at this directory:
C:\Users\%USERNAME%\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState\rootfs\home