Use $() for command substitution instead of backticks/quotes.

One of the example was using quotes instead of backticks.
Backticks are the "older" way of doing things, which has a number of
disadvantes:

    http://mywiki.wooledge.org/BashFAQ/082

Here I'm more worried about readability as depending on font and "smart"
editor helping on the web, many people may confuse ` with ', it could
end up modifying formatting on makrdown powered website... etc...
This commit is contained in:
Matthias Bussonnier
2018-10-04 13:44:16 -07:00
parent cff066a7be
commit 2e872069fb
5 changed files with 6 additions and 6 deletions

View File

@@ -22,7 +22,7 @@ You can run this as a service managed by JupyterHub with this in your config::
Or run it manually by generating an API token and storing it in `JUPYTERHUB_API_TOKEN`:
export JUPYTERHUB_API_TOKEN=`jupyterhub token`
export JUPYTERHUB_API_TOKEN=$(jupyterhub token)
python3 cull_idle_servers.py [--timeout=900] [--url=http://127.0.0.1:8081/hub/api]
This script uses the same ``--timeout`` and ``--max-age`` values for