what does -e stands for


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers what does -e stands for
# 1  
Old 09-24-2011
what does -e stands for

Below is a part of a script -
if [ -e $3 ]

I know -eq means equals in a n if statement but what does this -e means here ?
Please help.
Thanks
# 2  
Old 09-24-2011
From your shell try "help test" or "man test" for the rest..

Code:
 -e FILE        True if file exists.

This User Gave Thanks to neutronscott For This Post:
# 3  
Old 09-24-2011
it checks weather the file exists or not
This User Gave Thanks to polineni For This Post:
 
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

What does "?" stands for?

Hi,can someone tell me what does ? stand for.. ---------- Post updated at 01:56 AM ---------- Previous update was at 01:56 AM ---------- I mean for example * stands for a wildcard character.. because I need to modify a config file that contains.. mfint003???.in* mfint003??.in*... (2 Replies)
Discussion started by: sonja
2 Replies

2. Red Hat

In ypserv what yp stands for?

Hi can any one please tell what yp stands for in ypserv daemon (1 Reply)
Discussion started by: Gopi Krishna P
1 Replies

3. Shell Programming and Scripting

"cc +DS1.1 +DA1.1" what does this option stands for?

Hi all cc +DA1.1 +DS1.1 -o /tmp/testapis /tmp/file.c While compiling the temp.c file i encounter the above line in my shell script. I would like to know what the options +DA1.1 and +DS1.1 is used for. After googling i found that we need to use it on PA RISC machines but a more detailed... (0 Replies)
Discussion started by: gurubarancse
0 Replies

4. Shell Programming and Scripting

-s option stands for ? *Urgent

if ] in the above command, i want to know what exactly -s options stands for, more detailed help is most welcomed, thanks in advance, and $FTPFILE is a variable, wchich contains some filename, pls..help asap. thanks in advace, regards Kunal (3 Replies)
Discussion started by: niceboykunal123
3 Replies

5. UNIX for Dummies Questions & Answers

file extension stands for mksys?

hi, what does this mksys stands for in unix? seems like its something to do with the os. i am using aix (1 Reply)
Discussion started by: yls177
1 Replies
Login or Register to Ask a Question