Bash

Create Sudo User

Tested on Ubuntu 18.04

This script condenses the few lines of bash needed for creating a new sudo user into a single command.

It prompts the current user for the new user's information.

Usage:

bash <(curl -sSL https://jrussell.sh/create-sudo-user)

Raw Script Contents

By |2021-01-05T08:37:40+00:00January 5th, 2021|Comments Off on Create Sudo User

Add SSH Key

Tested on Ubuntu 18.04

This script adds an SSH key to the server for the current user.

It prompts the current user for the public SSH key contents.

Usage:

bash <(curl -sSL https://jrussell.sh/add-ssh-key)

Raw Script Contents

By |2021-01-05T08:37:17+00:00January 5th, 2021|Comments Off on Add SSH Key

Install Homebrew

Tested on Ubuntu 18.04

This script downloads homebrew and adds it to your PATH.

It also installs gcc through brew as well as the patchelf apt package.

Usage:

curl -sSL https://jrussell.sh/install-homebrew | bash

Raw Script Contents

By |2021-01-05T08:31:55+00:00January 5th, 2021|Comments Off on Install Homebrew