Top "Scripting" questions

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

How do I know the script file name in a Bash script?

How can I determine the name of the Bash script file inside the script itself? Like if my script is …

linux bash shell scripting
Windows batch file file download from a URL

I am trying to download a file from a website (ex. http://www.example.com/package.zip) using a Windows …

windows batch-file download scripting
Is there replacement for cat on Windows

I need to join two binary files with a *.bat script on Windows. How can I achieve that?

windows command-line scripting
if arguments is equal to this string, define a variable like this string

I am doing some bash script and now I got one variable call source and one array called samples, like …

bash scripting arguments
How to count objects in PowerShell?

As I'm reading in the PowerShell user guide, one of the core PowerShell concepts is that commands accept and return …

powershell scripting
Get just the filename from a path in a Bash script

How would I get just the filename without the extension and no path? The following gives me no extension, but …

bash scripting shell
How to set current working directory to the directory of the script in bash?

I'm writing a bash script. I need the current working directory to always be the directory that the script is …

bash path scripting
How to urlencode data for curl command?

I am trying to write a bash script for testing that takes a parameter and sends it through curl to …

bash shell curl scripting urlencode
SQL Server - stop or break execution of a SQL script

Is there a way to immediately stop execution of a SQL script in SQL server, like a "break" or "exit" …

sql sql-server scripting exit
How to run a PowerShell script without displaying a window?

How is it possible to run a PowerShell script without displaying a window or any other sign to the user? …

windows powershell scripting batch-file silent