Download deb from Microsoft
ln -s $(which python) ~/bin/python
or
alias python=python3
Don't forget pip:
sudo apt-get install python3-pip
And virtualenv:
pip install --user virtualenv
Download binary from nodejs
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install
See instructions at https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-core-on-linux
Install from apt:
- dnsutils: provides dig
- build-essential: provides common build utilities
Miscellany to add to .bash_profile:
export PATH="~/bin:$PATH
And make sure you're always running pip in virtualenv, unless you explicitly want to install globally:
export PIP_REQUIRE_VIRTUALENV=true
gpip() {
PIP_REQUIRE_VIRTUALENV="" pip "$@"
}
Include time in shell prompt:
export PS1="[\t \u@\h:\w]$ "
Or, fill the terminal with "-" followed by the date:
nlexec(){
nlDate=$(date +"%H:%M:%S")
nlWidth=$((COLUMNS - 9))
printf -v row "%${nlWidth}s"; echo -e "\033[2;37m${row// /-} $nlDate\033[0m"
}
export PROMPT_COMMAND=nlexec
In the above example, the "\033" escape character is followed by a "2" for dim and "37" for light gray.
cd() {
if [[ $@ == '-' ]]; then
builtin cd "$@" > /dev/null # We'll handle pwd.
else
builtin cd "$@"
fi
echo -e " \033[1;30m"`pwd`"\033[0m"
}
Export from tildeca, use Chrome settings to import as an authority
Add DHCP reservation, forward and reverse DNS - ChromeOS WiFi settings to validate MAC address