i am by no means a  shell script expert. i am sure there is an easier way to
do this, but this makes sense to me. it should also work for you also... let
me know if this is any help to you.

just put it into a file and change the permissions so it is executable.


#!/bin/sh
if ( -e /tmp/folder ) then
    echo 'folder exists'
else
    echo 'no such folder'
endif


----- Original Message -----
From: "SBTM" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 23, 1999 11:59 PM
Subject: tcsh shell


> Hello All,
>
> I've got a quick question. I am in the process of making a shell
> script that at login would check if there exists a directory in
> temp. My question is, what command do I need with their options in my
> shell script?
>
> Thanx.
>
> --Sadiq
>
>
> --
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.
>
>


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to