Search Results

Search: Posts Made By: gsflash80
1,621
Posted By ahamed101
dirs=(MSSQL SQL\ SERVER SQLSERVER ABC) ...
dirs=(MSSQL SQL\ SERVER SQLSERVER ABC)
for((i=0;i<${#dirs[@]};i++))
do
printf "${dirs[$i]} ";
test -d "${dirs[$i]}" && echo exists || echo "does not exist"
done

--ahamed
4,244
Posted By Subbeh
no need to escape the space. Just do test=$(pwd)...
no need to escape the space. Just do test=$(pwd) and cd "$test"
Showing results 1 to 2 of 2

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