Search Results

Search: Posts Made By: Mohan0509
3,669
Posted By Mohan0509
case statement in unix
Thanks robin, have modified the code and it works only if one file exists (it doesn't work in case redundant file name exists)

Have read the file testing today and written the below code based on...
3,669
Posted By Mohan0509
Case statement in UNIX shell script
have written the below code to check whether the string received from user is a file name or dir using case statement, but its going into default case*).


#!/bin/sh
#Get a string from user...
Showing results 1 to 2 of 2

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