资讯

Save the file and exit. Put a script containing the command in your /etc directory. Create a script such as "startup.sh" using your favorite text editor. Save the file in your /etc/init.d/ directory.
Microsoft now allows users of the Windows Subsystem for Linux (WSL) to run commands automatically on WSL distribution startup.
Let’s start with a shell script, named sudocheck.sh that contains a few simple lines of code that warn any script that uses its output must be run with sudo privileges.
Update your Fedora 29 system, add two important repositories, and install a ridiculous amount of useful software and audio / video codecs. With a single, easy-to-use script.