We use the Debian Linux distribution operating system almost everywhere; Desktop GUI and Terminal CLI.
uname #> Linux
hostnamectl #> DebianAgents: see design.md.
Recommended: Windows 11 with the Windows/Linux subsystem.
wsl.exe --install debianUse the cloud to provision or rent a container, server, or hardware for 24/7 online apps or games; debit/credit card required.
For x86-64: flash a .iso to create a bootable live USB. Needs ≥4 GB. Back up and unmount first, flashing deletes all data. On WSL use USB passthrough.
export URL="https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/debian-live-13.7.0-amd64-standard.iso"
export USB="/dev/disk/by-id/usb-SanDisk_Ultra_USB_3.0_4C530000310806116320-0:0" # no "-partN"
sh ./usb.shNext: Boot the USB; install Debian on a fast disk (M.2, SSD, HDD, USB, microSD, etc.); shut down, remove the USB, and boot.
Copy & Paste, or download files with git clone, curl, wget.
| System | Copy | Paste | Cut | year |
|---|---|---|---|---|
| IBM PC | CTRL+Insert |
Shift+Insert |
Shift+Delete |
1981 |
| macOS | CMD+C |
CMD+V |
CMD+X |
1983 |
| Windows | CTRL+C |
CTRL+V |
CTRL+X |
1995 |
| Linux Terminals | CTRL+Shift+C |
CTRL+Shift+V |
2010 | |
| Windows Terminal | CTRL+Shift+C |
CTRL+Shift+V |
2020 |
In 1983 Apple pioneered C copy V paste X cut Z undo. Similar keys were added by Windows 19-95 supplementing the IBM PC keys. Normally the key CTRL+C sends byte 3 which is "End of Text" in ASCII and Unicode, desktop systems like explorer.exe override this. Finally in 2020 wt.exe the Windows Terminal added common Linux Terminal key combinations.
Set up the system; and login to OpenAI Codex.
sh ./system.sh
codex login
codex "create a JavaScript CLI that counts the words in a text file"Set up the user; and setup Microsoft VS Code.
cp -a base/skel/. ~/
EMAIL=$(whoami)@$(hostname) sh ./user.sh
source ~/.bashrc
# 1: Download and Install VS Code for Linux or Windows
code --install-extension ms-vscode-remote.remote-ssh
# 3: register your SSH public key on the remote server
rcode sosdan ./dev# ed $FILE # 1969
# vi $FILE # 1976
# emacs $FILE # 1976
# notepad.exe $FILE # 1983
# emacs $FILE # 1985
# pico $FILE # 1989
# vim $FILE # 1991
# nano $FILE # 1999
# notepad++.exe $FILE # 2003
# mate $FILE # 2004
# subl $FILE # 2008
# atom $FILE # 2014
code $FILE # 2015
# nvim $FILE # 2015
micro $FILE # 2016
# cursor $FILE # 2023