I would like to automate simple commands in FreeBSD, an example:
Instead of this:
# cd /usr/ports/../..
# make install clean
# mycommand -ic program
This command would then be available and functional from any directory, and maybe write an installation log, maybe later some dependency functions etc.?
So how would i write this code, and then what? Is there a simple programming language, some sort of scripting, or another program out there for this type of situation?
I'm new to UNIX-like environments, even newer to FreeBSD and I have little experience with programming!