Bash: echo, alias, exec: Append Weather Forecast Alias to ~/.bashrcnick3499·Follow1 min read·Feb 21, 2017--ListenShareecho 'alias wthr="curl wttr.in/60601"' >> ~/.bashrc appends weather forecast alias to ~/.bashrc file. exec bash activates alias. Enter wthr on the command line.