XScript: Difference between revisions

Line 81: Line 81:
1. Prepaid the xSoft.sh command
1. Prepaid the xSoft.sh command
  sudo cp -f ./xSoft.sh                /usr/local/bin/
  sudo cp -f ./xSoft.sh                /usr/local/bin/
2. Then run the following command to create a alias 'xoff' command
2. Then run the following command to create a alias '''xoff''' command
  echo "alias xoff='sudo /usr/local/bin/xSoft.sh 0 27'" >>  ~/.bashrc
  echo "alias xoff='sudo /usr/local/bin/xSoft.sh 0 27'" >>  ~/.bashrc
3. Run the following command to make the alias '''xoff''' effective
3. Run the following command to make the alias '''xoff''' effective