

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 4
click for more info
Not enough gems
Cost: 6 gems
1: Open a Terminal
incomplete
2: Installing Windows Subsystem for Linux
incomplete
3: Terminal Alternatives
incomplete
4: Download Worldbanc
incomplete
5: Shell Configuration
incomplete
6: PATH Config
incomplete
7: Shell Aliases
incomplete
8: Man
incomplete
9: Symbolic Links
incomplete
10: Top
incomplete
11: Interrupt
incomplete
12: Kill
incomplete
Back
ctrl+,
Next
ctrl+.
This lesson's interactive features are locked, please to keep using them
Earlier in the course, you changed your PATH variable for your current shell session. Trouble is, the next time you restart your shell, it gets reset to its default value. You won't be able to use the worldbanc.sh CLI tool from anywhere unless you change your PATH variable permanently.
The most common way to do this is to add that same kind of export command to your shell's configuration file (the one you just edited in the previous lesson).
Instead of restarting the shell each time you change your config file, you can use the source command to reload it. source (or its short form, .) executes commands from a file in the current shell session.
nano ~/.bashrc
# or, if you're using zsh:
nano ~/.zshrc
export PATH="$PATH:/absolute/path/to/worldbanc/private/bin"
Use double quotes so $PATH expands to your current PATH. Single quotes would write literal $PATH instead.
. ~/.bashrc
# or:
. ~/.zshrc
Answer the question.