A simple Go program to move a file to the /bin
directory. Useful for system management and quick setup scripts.
- Easy to use
- Moves a file to
/bin
- Requires root privileges (must run with sudo)
- Go 1.x
- Linux or Unix-based OS
- Root privileges
Get the executables zip file and extract
Then run the install.sh
- Clone the repo:
git clone https://github.com/Alperosci/installexecutable.git
cd installexecutable
- Build the program:
go build -o installexecutable main.go
- Usage:
sudo ./installexecutable <AppName>
⚠️ Warning: Requires root privileges. It won't work withoutsudo
.
installexecutable myapp
This command moves the myscript.sh
file to /bin
and makes it executable system-wide.