What is export for? What is the difference between: export name=value and name=value
How can I reload .bash_profile from the command line? I can get the shell to recognize changes to .bas
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 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
I have this string stored in a variable: IN="[email protected];[email protected]" Now I would like to split the stri
In PHP, strings are concatenated together as follows: $foo = "Hello"; $foo .= " World"; Here, $foo becomes