bash script accept parameter when called
example :
#!/bin/bash
echo this is the first parameter supplied $1, and this is script name is $0
example :
#!/bin/bash
echo this is the first parameter supplied $1, and this is script name is $0
When installing ports and it complain about “this ports has vulnerabilities“, preventing installation to continue. disable the vulnerabilities checking by “export DISABLE_VULNERABILITIES=true” and retry the installation again.
After upgraded to Firefox3, some https (SSL) website is unable to load. But reading the error messages (”Secure Connection Failed”) carefully, it actually have an option to bypass the security check. Here’s how :
- click on the link says “Or you can add an exception”,
- then click on the button “Add Exception …”,
- when the window “Add Security Exception” pops up, click on “Get Certificate” and then “Confirm Security Exception” button.
Voila, the page reloads !!!