Shell

Shell Scripts

A collection of standalone shell scripts for installing software, configuring Linux systems, administering remote hosts, and performing a few macOS and privacy-related tasks. Most scripts target Debian- or Ubuntu-based systems; the intended platform is noted below.

Software and development tools

Script Purpose
InstallBrave4Debian.sh Adds Brave’s signed APT repository and installs Brave Browser on Debian/Ubuntu systems.
InstallNET4arm64_CurrentUser.sh Installs the latest LTS .NET SDK for ARM64 into the current user’s ~/.dotnet directory and updates their shell profile.
InstallNET4arm64_System.sh Installs the latest LTS .NET SDK for ARM64 system-wide under /usr/local/share/dotnet.
InstallPowerShell4arm64.sh Downloads and installs the latest stable PowerShell release for ARM64 on an APT-based Linux system.
InstallProtonVPN4Debian.sh Adds Proton VPN’s Debian repository and installs its GUI, CLI, or both, with optional GNOME tray support.
InstallVSCode4Debian.sh Adds Microsoft’s signed APT repository and installs Visual Studio Code on Debian/Ubuntu systems.

Gaming and graphics

Script Purpose
InstallNvidiaDrivers4Debian.sh Uses Ubuntu’s supported ubuntu-drivers workflow to install the recommended NVIDIA driver and Vulkan diagnostics. Despite its historical filename, this script is Ubuntu-specific.
Prep4Gaming_Steam.sh Enables i386 package support and installs Steam plus the available Mesa/Vulkan runtime packages on amd64 Debian/Ubuntu systems.

System and browser maintenance

Script Purpose
ClearHistorySafari.sh Removes Safari’s local history database files on macOS and refuses to proceed while Safari is running unless --force is supplied.
ResizeDrive4Debian.sh Inspects or expands a selected disk partition to the end of its device with parted; it does not resize the filesystem inside the partition.

Remote host administration

Script Purpose
CopyFile2RemoteHosts.sh Copies one local file to each host in a host-list file using OpenSSH scp and existing SSH credentials.
SSH4Hosts.sh Installs a selected public key on each host in a host-list file with ssh-copy-id, preserving host-key verification.

Privacy and proxy tools

Script Purpose
firefoxproxy4kali.sh Validates a leak-resistant ProxyChains/Tor configuration, starts Tor, and launches Firefox through the proxy on Kali Linux.

Usage

Review a script before running it. The scripts are executable and can be run from a terminal:

./ScriptName.sh

Most installers elevate only the commands that need it and also work when already running as root. InstallNET4arm64_CurrentUser.sh must run as the target user, while ResizeDrive4Debian.sh requires root only when its explicit apply mode is selected.

The remote-host scripts take their values as arguments instead of embedding credentials. For example:

./CopyFile2RemoteHosts.sh ./package.tar.gz ./hosts.txt /tmp deploy
./SSH4Hosts.sh ./hosts.txt ~/.ssh/id_ed25519.pub deploy

Safety notes

These scripts can add third-party package repositories, install or upgrade packages, change system configuration, delete browser data, modify a partition table, or connect to remote systems. Test unfamiliar scripts in a disposable environment first and keep appropriate backups.

In particular: