Top "Scripting" questions

Scripting is a form of programming generally characterized by low formality, loose typing, and no requirement for explicit compilation.

Counter increment in Bash loop not working

I have the following simple script where I am running a loop and want to maintain a COUNTER. I am …

linux bash shell scripting counter
How do I get cURL to not show the progress bar?

I'm trying to use cURL in a script and get it to not show the progress bar. I've tried the …

linux bash unix scripting curl
Get name of current script in Python

I'm trying to get the name of the Python script that is currently running. I have a script called foo.…

python scripting basename
Error handling in Bash

What is your favorite method to handle errors in Bash? The best example of handling errors I have found on …

bash error-handling scripting error-logging
How to make a Python script run like a service or daemon in Linux

I have written a Python script that checks a certain e-mail address and passes new e-mails to an external program. …

python linux scripting daemons
Increase max execution time for php

I have added set_time_limit(0); function to increase execution time but its executing only 2-3 minutes maximum. error_reporting(…

php .htaccess scripting php-ini
Shell script to send email

I am on linux machine and I monitor a process usage. Most of the time I will be away from …

linux email shell scripting
How to run a shell script in OS X by double-clicking?

I have a shell script that has user execution permission on OS X, but when I double click on it, …

macos shell scripting desktop
How to execute a bash command stored as a string with quotes and asterisk

I try to execute the following command : mysql AMORE -u username -ppassword -h localhost -e "SELECT host FROM amoreconfig" I …

bash scripting escaping quotes
How to execute an .SQL script file using c#

I'm sure this question has been answered already, however I was unable to find an answer using the search tool. …

c# sql oracle scripting