Skip to content

Instantly share code, notes, and snippets.

@samukasmk
Created January 19, 2025 17:33
Show Gist options
  • Save samukasmk/27776e1149756d508703d378558b2ab9 to your computer and use it in GitHub Desktop.
Save samukasmk/27776e1149756d508703d378558b2ab9 to your computer and use it in GitHub Desktop.
Installing linux commands with install command
echo -e "#!/bin/bash
#

echo 'This is my script'" > my-script
sudo install my-script /usr/local/bin
rm my-script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment