Friends,
Is it possible within Linux CLI on Ubuntu to create a script that executes a specific command?
I'm not sure how to call this, but I think it's best explained by an example:
Let's say when I write "checkMyCurl"
in the command line, it would exec a "curl -k -H "Content-Type: application/json" -X GET https://www.something.com/"
command and output the result. Basically I'm just trying to bind a simple command to execute a larger command so that I wouldn't have to write the complicated command all the time.
Thank you! :)