Top "Scripting" questions

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

How to create batch file in Windows using "start" with a path and command with spaces

I need to create a batch file which starts multiple console applications in a Windows .cmd file. This can be …

windows batch-file scripting
Wait for a process to finish

Is there any builtin feature in Bash to wait for a process to finish? The wait command only allows one …

bash scripting process wait
find difference between two text files with one item per line

I have two files: file 1 dsf sdfsd dsfsdf file 2 ljljlj lkklk dsf sdfsd dsfsdf I want to display what is …

bash file scripting sed awk
How to run a script at a certain time on Linux?

I have a text file containing a specific date and time. I want to be able to run a script …

linux bash scripting debian
How to run a script file remotely using SSH

I want to run a script remotely. But the system doesn't recognize the path. It complains that "no such file …

scripting ssh
How can I run a function from a script in command line?

I have a script that has some functions. Can I run one of the function directly from command line? Something …

linux bash scripting
Escaping Double Quotes in Batch Script

How would I go about replacing all of the double quotes in my batch file's parameters with escaped double quotes? …

scripting parameters batch-file escaping quotes
What is the $? (dollar question mark) variable in shell scripting?

I'm trying to learn shell scripting, and I need to understand someone else's code. What is the $? variable hold? I …

shell scripting
Best way to simulate "group by" from bash?

Suppose you have a file that contains IP addresses, one address in each line: 10.0.10.1 10.0.10.1 10.0.10.3 10.0.10.2 10.0.10.1 You need a shell script that …

bash scripting
How can I run a PHP script in the background after a form is submitted?

Problem I have a form that, when submitted, will run basic code to process the information submitted and insert it …

php scripting background