I need wget to be always used with --no-check-certificate option. This can be accomplished by typing the following line in a Unix terminal:
alias wget='wget --no-check-certificate' However, when I execute shell scripts .sh that include wget command, the original wget is used not the aliased one. How can I resolve this issue?
aliascommand in either of~/.bashrc,~/.bash_profile,/etc/profile