View Single Post
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#4
'fi' is simply the sh-style name for 'endif', to finish an 'if' statement. E.g.:
Code:
#!/bin/sh
# Check if this file exists:
if test -e config.file
then
  echo "You have a config.file file"
else
  echo "No such file config.file"
fi
echo "Finished with my 'if' test"
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.
 

The Following User Says Thank You to TA-t3 For This Useful Post: