first create empty file in terminalsudo touch script_name
sudo nano script_name
in nano editor paste#!/bin/bash
echo "no elo mordo"
in terminal typechmod +x script_name
copy your little program to /usr/binsudo cp script_name /usr/bin
now you can use the script everywhere$ script_name