Linux安装不同版本.netCore的shell命令

#!/bin/shecho ==========开始安装dontcore============mkdir -p /home/dotcore3tar -vxf /00-install/01-sdk/dotnet-sdk-3.1.402-linux-x64.tar.gz -C /home/dotcore3ln -sf /home/dotcore3/dotnet /usr/bin/dotn...

 #!/bin/sh
   echo '==========开始安装dontcore============'
   mkdir -p /home/dotcore3
   tar -vxf  /00-install/01-sdk/dotnet-sdk-3.1.402-linux-x64.tar.gz  -C /home/dotcore3
  ln -sf /home/dotcore3/dotnet /usr/bin/dotnet
 isInstall=$(command -v dotnet|wc -l)
#if [ $isInstall -eq 1 ];then
  dotnet dev-certs https
   echo '==========安装完成dontcore============'

  

 #!/bin/sh
   echo '==========开始安装dontcore============'
   mkdir -p /home/dotcore2
   tar -vxf  /00-安装文档/01-sdk/dotnet-sdk-2.2.401-linux-x64.tar.gz  -C /home/dotcore2
  ln -sf /home/dotcore2/dotnet /usr/bin/dotnet
 isInstall=$(command -v dotnet|wc -l)
#if [ $isInstall -eq 1 ];then
  dotnet dev-certs https
   echo '==========安装完成dontcore============'

  

本文标题为:Linux安装不同版本.netCore的shell命令