Uploaded February 2022 | Updated September 2026, 1 week ago
Today we’ll look at a Linux shell called fish, which stand for “friendly interactive shell” as an alternative shell to bash in Linux distros.
Syntax highlighting for errors, misspelled commands and options, mismatched parenthesis and quotes. The great thing about fish is that this is done while typing.
Using the manual page data, fish helps you by pressing the tab key to auto complete. Simply start typing and hit tab to get suggestions.
Inline search history: where you can start typing and then use the up and down arrow keys to select previous commands that started that way.
With auto suggestion it provides feedback based on the content of a directory or your history.
#terminal #linux #wsl #shell
https://itvraag.nl
Timestamp:
0:00 Intro
0:19 My setup & requirements
0:35 Fresh Ubuntu install in WSL2
0:50 Current shells
1:09 apt update & upgrade
1:19 apt install fish w3m
1:53 change shell to fish
2:21 fish demo (syntax highlight, auto complete/suggestion, tab)
3:15 fish brace expansion vs. numeric sequences
3:28 customize fish in WSL2 (fish_config)
6:41 fish aliases rc file (config.fish)
Related video:
APT package manager: youtu.be/ZKPs-rnG6E0
WSL2: youtu.be/9Ev2NKLHcvs
Windows 11 Terminal PRO tips: youtu.be/0NBYBOGalO4
oh-my-zsh: youtu.be/IMUuElcjMdo
Used links and commands:
wsl -l -v
wsl --unregister ubuntu
wsl -l -v
wsl --install -d ubuntu
wsl -s ubuntu
echo $SHELL
cat /etc/shells
sudo apt update
sudo apt upgrade
sudo apt install fish
sudo apt install w3m
cat /etc/shells
fish
chsh -s /usr/bin/fish
grep -i "installed" /var/log/dpkg.log | wc -l
fish_config
Today we’ll look at a Linux shell called fish, which stand for “friendly interactive shell” as an alternative shell to bash in Linux distros.
Syntax highlighting for errors, misspelled commands and options, mismatched parenthesis and quotes. The great thing about fish is that this is done while typing.
Using the manual page data, fish helps you by pressing the tab key to auto complete. Simply start typing and hit tab to get suggestions.
Inline search history: where you can start typing and then use the up and down arrow keys to select previous commands that started that way.
With auto suggestion it provides feedback based on the content of a directory or your history.
#terminal #linux #wsl #shell
https://itvraag.nl
Timestamp:
0:00 Intro
0:19 My setup & requirements
0:35 Fresh Ubuntu install in WSL2
0:50 Current shells
1:09 apt update & upgrade
1:19 apt install fish w3m
1:53 change shell to fish
2:21 fish demo (syntax highlight, auto complete/suggestion, tab)
3:15 fish brace expansion vs. numeric sequences
3:28 customize fish in WSL2 (fish_config)
6:41 fish aliases rc file (config.fish)
Related video:
APT package manager: youtu.be/ZKPs-rnG6E0
WSL2: youtu.be/9Ev2NKLHcvs
Windows 11 Terminal PRO tips: youtu.be/0NBYBOGalO4
oh-my-zsh: youtu.be/IMUuElcjMdo
Used links and commands:
wsl -l -v
wsl --unregister ubuntu
wsl -l -v
wsl --install -d ubuntu
wsl -s ubuntu
echo $SHELL
cat /etc/shells
sudo apt update
sudo apt upgrade
sudo apt install fish
sudo apt install w3m
cat /etc/shells
fish
chsh -s /usr/bin/fish
grep -i "installed" /var/log/dpkg.log | wc -l
fish_config




![Git #5 - reset hard & clean
Lets get right into resetting your git repository in different ways!
#git
https://itvraag.nl
git reset
git reset hard
git clean -fdi -n
git reset hard && git clean -df
git reset [commit id]
git reset hard [commit id] Git #5 - reset hard & clean](https://i.ytimg.com/vi/Oh_xvOrM8iQ/mqdefault.jpg)


![Bash #14 - while / until loops (with port scan example)
In this video well go through while and until loops in bash scripting and test this using examples like a port scan.
#bashscripting #terminal
https://itvraag.nl
Related videos:
Bash #1 - Basics: https://youtu.be/C-HwzPVLo1c
Bash #3 - Script files: https://youtu.be/ajpTOFyeDH4
Bash #4 - Variables: https://youtu.be/mOSnZ7zOF3g
Bash #5 - Arithmetic operators: https://youtu.be/DMPfEq6YAq8
Bash #10 - Combining commands: https://youtu.be/ixPZOoONsAs
Used scripts:
#!/bin/bash
n=0
while [ $n -lt 9 ]
do
echo This number is less than 9: $n
((n++))
done
#!/bin/bash
n=0
until [ $n -gt 9 ]
do
echo This number is NOT greater than 9: $n
((n++))
done
#!/bin/bash
n=0
i=12
while [[ $n -lt 9 && i -lt 14 ]]
do
echo This number $n is less than 9 and this number $i is less than 14
((n++))
((i++))
done
Port scan script (angled brackets are removed, due to video description limitations):
#!/bin/bash
i=0
while [ $i -lt 5000 ]
do
(echo /dev/tcp/127.0.0.1/$i) &/dev/null && printf Open Port at:$i || printf .
((++i))
done
Timestamp:
0:27 while & until loops in general
0:43 while loop with example
1:01 logical conditions
1:34 until loop with example
1:47 loops with multiple conditions
2:25 while loop with port scan
2:58 endless loops Bash #14 - while / until loops (with port scan example)](https://i.ytimg.com/vi/PN8EMuUx5NM/mqdefault.jpg)


