记一次修改ubuntu服务器环境变量的步骤
最近在我的华为云服务器上部署了一个小站点,需要把 dotnet 命令放到环境变量以方便使用。
$ vi /etc/profile
export PATH=/root/aspnetcore-runtimes/.dotnet:$PATH
source /etc/profile
亲测成功

最近在我的华为云服务器上部署了一个小站点,需要把 dotnet 命令放到环境变量以方便使用。
$ vi /etc/profile
export PATH=/root/aspnetcore-runtimes/.dotnet:$PATH
source /etc/profile
亲测成功
