Bash: echo, alias, exec: Append Weather Forecast Alias to ~/.bashrc

nick3499
1 min readFeb 21, 2017

--

echo 'alias wthr="curl wttr.in/60601"' >> ~/.bashrc appends weather forecast alias to ~/.bashrc file. exec bash activates alias. Enter wthr on the command line.

--

--

nick3499
nick3499

Written by nick3499

coder of JavaScript and Python

No responses yet