The term 'shell' refers to a general class of text-based interactive command interpreters most often associated with the Unix & Linux operating systems. For questions about shell scripting, please use a more specific tag such as 'bash', 'powershell' or 'ksh'. Without a specific tag, a portable (POSIX-compliant) solution should be assumed, though using 'posix' in addition or 'sh' instead is preferable.
I have to run a local shell script (windows/Linux) on a remote machine. I have SSH configured on both machine
I need to check the existence of an input argument. I have the following script if [ "$1" -gt "-1" ] then e
I want to pause input in a shell script, and prompt the user for choices. The standard Yes, No, or Cancel type
I'm trying to run a find command for all JavaScript files, but how do I exclude a specific directory? He
I want to write a script that loops through 15 strings (array possibly?) Is that possible? Something like: f
We've got a PHP application and want to count all the lines of code under a specific directory and its su
How do I know if a variable is set in Bash? For example, how do I check if the user gave the first parameter
I have a pretty simple script that is something like the following: #!/bin/bash VAR1="$1" MOREF='sudo r
How would I use sed to delete all lines in a text file that contain a specific string?
How can I recursively find all files in current and subfolders based on wildcard matching?
I have this string stored in a variable: IN="[email protected];[email protected]" Now I would like to split the stri