I'm new to the bash script. Running a bash script to send a list of packages through a file to client machines. But it gives me the error as "Script timed out while executing."
Here is the code for the same.
#!/bin/bash #Script to write the output into a file
#Create output file, override if already present
output=output_file.sh
sudo -S chmod u+w+x output_file.sh
#Write data to a file
echo "accountsservice" >> output _file.sh
echo "acl" >> output _file.sh
echo "acpi-support" >> output _file.sh
echo "acpid" >> output _file.sh
arp -ni eth0 | awk 'NR>1 {print $1}'
“remote.SSH.showLoginTerminal”: true, “remote.SSH.useLocalServer”: false,
#Checking the content of the file
gedit output_file.sh
cat output_file.sh
fi
PLease help me in this regard.
Thank you.