Open main menu

Changes

XScript

157 bytes added, 23 September
==Create alias 'xoff' command to execute safe shutdown==
1. Prepaid the xSoft.sh command sudo cp -f ./xSoft.sh /usr/local/bin/2. Then run the following command to create a alias 'xoff' command
echo "alias xoff='sudo /usr/local/bin/xSoft.sh 0 27'" >> ~/.bashrc
3. Run the following command to make the alias '''xoff''' effective
source ~/.bashrc
After the installation is complete, an <code>xoff</code> command will be created to shut down the software.Then you can run <code>xoff</code> to execute software shutdown.