This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Prompt the user for input | |
read -p "Enter MySQL database name: " dbName | |
read -p "Enter MySQL username: " dbUser | |
read -s -p "Enter MySQL password: " dbPassword | |
echo | |
# Prompt the user for input | |
read -p "Enter value for @rangeFrom: " rangeFrom |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Ask for input numbers | |
echo "Enter file names, one per line. Type 'done' and press Enter when finished:" | |
numbers=() | |
while read -r line; do | |
if [ "$line" == "done" ]; then | |
break | |
fi | |
numbers+=("$line") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Set MySQL credentials | |
mysql_username="root" | |
# Initialize a variable to check if the password is correct | |
password_correct=0 | |
while [ $password_correct -eq 0 ]; do | |
# Prompt the user for the MySQL password | |
read -s -p "Enter the MySQL password for user '$mysql_username': " mysql_password |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Author: sibinc | |
# Latest Update: 2023-10-17 | |
echo "***** Payroll Master Auto Login *****" | |
echo "What Will It Do:" | |
echo "# Automatically open the 'mypayrollmaster' website when you log in to your system." | |
echo "# Note: Automating the login process may require additional browser setup." | |
echo "# Uninstallation:" | |
echo "# To remove this automation, you can use the provided uninstall option in the script." | |
# Find the path to the Google Chrome executable |