... | ... | @@ -136,7 +136,7 @@ options = "metadata" |
|
|
cd DUMUX/dumux/build-cmake/test/porousmediumflow/2p/implicit/incompressible/ make test_2p_incompressible_tpfa ./test_2p_incompressible_tpfa
|
|
|
```
|
|
|
|
|
|
# Start working with your files
|
|
|
# Accessing you files from Explorer
|
|
|
|
|
|
Start the Explorer directly from the WSL.
|
|
|
From anywhere in the Linux subsystem, you can open an Explorer:
|
... | ... | @@ -145,10 +145,20 @@ explorer.exe . |
|
|
```
|
|
|
|
|
|
This Explorer is of course the native Windows Explorer but it runs
|
|
|
extensions via networking that make your files inside the WSL accessible from Windows.
|
|
|
The path for that is `\\wsl$`.
|
|
|
extensions via networking that make your files inside the WSL accessible from Windows and opens directly in the directory you where in.
|
|
|
|
|
|
The path for your WSL always starts in short form with `\\wsl$`.
|
|
|
|
|
|
If you start Explorer directly from Windows surface you can write in the headline of the Explorer `\\wsl$` and start navigating from the root-directory into WSL. This only works when at least one WSL window is open. You find your home-directory `\\wsl$\Ubuntu-22.04\home` if you have Ubuntu-22.04 installation.
|
|
|
|
|
|
If you have installed an **Windows native editor** you can just open files from the Explorer with it and edit them.
|
|
|
|
|
|
You can find your windows-drives from within the WSL shell by paths which start with `/mnt`.
|
|
|
```
|
|
|
ls /mnt/c
|
|
|
```
|
|
|
will show the root directory of you c:-drive.
|
|
|
|
|
|
If you start Explorer directly from Windows surface you can write in the headline of the Explorer `\\wsl$` and start navigating from the root-directory into WSL. You find your home-directory `\\wsl$\Ubuntu-22.04\home` if you have Ubuntu-22.04 installation.
|
|
|
|
|
|
## Multiple terminal-windows
|
|
|
|
... | ... | @@ -163,9 +173,11 @@ show now multiple instances of your shell. |
|
|
|
|
|
## Enabling cut&paste for terminals, changing Font size
|
|
|
|
|
|
Klick on the logo of your terminal-window to get a menu. Click then on `Properties`. Under `Options` you can then enable `Use Ctrl+Shift+C/V as Copy/Paste`. With `Ctrl-Shift+c` you can copy something to clipboard and with `Ctrl+Shift+V` you can paste.
|
|
|
Klick on the logo of your terminal-window to get a menu. Click then on `Properties`. Under `Options` you can then enable `Use Ctrl+Shift+C/V as Copy/Paste`. With `Ctrl-Shift+C` you can copy something to clipboard and with `Ctrl+Shift+V` you can paste.
|
|
|
|
|
|
When you mark something with your mouse with hitting the key `<enter>` the marked text get copied also to your clipboard this might be shorter than `Ctrl+Shift+c`.
|
|
|
|
|
|
Klick then to `Font` in the logo-menu to make your settings for font. You might repeat the settings also for PowerShell instances.
|
|
|
When you mark something with your mouse with hitting the key `<enter>`.
|
|
|
|
|
|
## Terminal multiplex
|
|
|
|
... | ... | @@ -174,6 +186,7 @@ Another solution to run more shells and work efficiently is `tmux`. Do |
|
|
sudo apt update
|
|
|
sudo apt install tmux
|
|
|
```
|
|
|
|
|
|
if it is not yet as command available. This [guide](https://www.hostinger.com/tutorials/tmux-beginners-guide-and-cheat-sheet/) shows you how to work with tmux.
|
|
|
|
|
|
## Editor
|
... | ... | @@ -185,7 +198,7 @@ vim # or |
|
|
vim your_chosen_filename
|
|
|
```
|
|
|
|
|
|
In a similiar way as mentioned above for vim you could install other editors which work in the terminal like nano, emacs and many more.
|
|
|
In a similiar way as mentioned above for vim you could install other editors which work in the terminal like nano, emacs and many more.
|
|
|
```
|
|
|
sudo apt install emacs # or
|
|
|
sudo apt install nano
|
... | ... | |