Ubuntu18.04开机启动执行脚本
#!/bin/bash
# 运行 .NET Core 应用程序
dotnet /home/bruce/atg/SmartConsole.dll &
# 打开浏览器
firefox
给文件权限
sudo chmod 777 start.sh
运行gnome-session-properties打开系统自带的一个启动程序
#!/bin/bash
# 运行 .NET Core 应用程序
dotnet /home/bruce/atg/SmartConsole.dll &
# 打开浏览器
firefox
给文件权限
sudo chmod 777 start.sh
运行gnome-session-properties打开系统自带的一个启动程序