- Clone this repository with
git clone
command
- Make a bashscript directory in your user directory
cd ~
:mkdir bashscripts
- Open the directory:
cd bashscripts
- Make a file such as
get_spfdmarc.sh
:nano get_spfdmarc.sh
- Copy the bash script in the editor and save the file
- Make
get_spfdmarc.sh
executable:chmod +x get_spfdmarc.sh
- Now, you can execute the script to send the email:
./get_spfdmarc.sh example.com
or runbash get_spfdmarc.sh example.com
Bash and Zsh are compatible with each other, which means you can use your Bash scripts in your Zsh shell.
To confirm your Shell run: which $SHELL