Search Results

Search: Posts Made By: dondav
6,041
Posted By dondav
Hi, To add a command line arguement to a...
Hi,

To add a command line arguement to a script try:

listit.sh

#!/bin/sh
if test $# -gt 0; then
target=$1;
else
echo "no output file specified using default.lst"
target=default.lst...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 09:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy