11.4 bullseye
- Preconf file
needs to be installed before clone:
Change username!
$ su # apt update && apt install sudo git -y && echo "username ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers && exit $ git clone https://github.com/luc1fev/Debian-Script.git $ cd Debian-Script
- vim
editor instead of vi
- oh my zsh
better powerful command interpreter
- unzip & tar
allow you unpack/pack zip,gz,tar file
- tree
list file as tree view
- lrzsz
easy tool to let you upload/download through terminal. not good enough for large file
Install pip thou apt,
alias vim to vi, clone a color, set vimrc
set zshrc and install 2 plugins
case `uname` in
Darwin)
# commands for OS X go here
;;
Linux)
# commands for Linux go here
;;
FreeBSD)
# commands for FreeBSD go here
;;
esac
OR
# name zshrc like `.zshrc-Darwin`, `.zshrc-Linux`
source "${ZDOTDIR:-${HOME}}/.zshrc-`uname`"
sudo bash -c 'echo "hello" > f.txt'
echo "hello" | sudo tee f.txt # add -a for append (>>)
$ sudo apt install build-essential dkms linux-headers-$(uname -r)
vmrun start full/path/of/your/virtual/machine/bundle nogui
ln local -> git ok ln git -> local wrong: no update after pull