From a5e1ede96867b71b1fd6db651d89794b595afc54 Mon Sep 17 00:00:00 2001 From: Roberth Strand Date: Mon, 27 Jul 2020 03:46:16 +0200 Subject: [PATCH] Wrong formatting on curl command for downloading latest release of kubectl (#22738) * Update install-kubectl.md Wrong formatting on the first curl command * Update content/en/docs/tasks/tools/install-kubectl.md Correct syntax Co-authored-by: Tim Bannister Co-authored-by: Tim Bannister --- content/en/docs/tasks/tools/install-kubectl.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs/tasks/tools/install-kubectl.md b/content/en/docs/tasks/tools/install-kubectl.md index 25b5cab9b5..22b960751f 100644 --- a/content/en/docs/tasks/tools/install-kubectl.md +++ b/content/en/docs/tasks/tools/install-kubectl.md @@ -28,7 +28,7 @@ You must use a kubectl version that is within one minor version difference of yo 1. Download the latest release with the command: ``` - curl -LO https://storage.googleapis.com/kubernetes-release/release/`curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt`/bin/linux/amd64/kubectl + curl -LO "https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl" ``` To download a specific version, replace the `$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)` portion of the command with the specific version.