Search Results

Search: Posts Made By: praveen.1
14,517
Posted By praveen.1
plink and shell script
if i add the interperet explicitly then its working fine..

#!/bin/sh
DIRECTORY=/XYZ/PQR
if [ -f $DIRECTORY/TTT/* ]; then
echo "In test.."
else
echo "lno.."
fi


This works fine..are...
10,215
Posted By praveen.1
variable in dos batch file
Is there any chance the directory u want to access in ur pen-drive has a space in its name...

like b:\New Folder...something like this.. space between.?
14,517
Posted By praveen.1
plink and shell script
This is my shell script... test.sh

DIRECTORY=/XYZ/PQR
if [ -f $DIRECTORY/TTT/* ]; then
echo "In test.."
else
echo "lno.."
fi


when i run this script through a putty its output is:...
Showing results 1 to 3 of 3

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