開発者は、シスコの Web サイトに接続してデータを収集するアプリケーションを実行しています。アプリケーションはローカル データ センターでホストされ、データは頻繁に収集する必要があります。アプリケーション クライアントでは、実行前に特定の環境変数を設定する必要があります。Linux システムの環境変数を設定する Bash コマンドは?
正解:D
To set an environmental variable in a Linux system using Bash, the export command is used. This command sets the environment variable for the current session, and any subsequent commands or processes will inherit this environment variable.
For example, to set an environment variable named "website" with the value "cisco.com", you use the following command:
export website="cisco.com"
This sets the variable website and makes it available to any subprocesses started from the shell.
References:
* GNU Bash Reference Manual - Bash Builtin Commands
* Cisco DevNet Associate Certification Guide