The UNIX and Linux Forums
Forum Home
Linux and Unix Man Pages
Search Forums
Search Community Posts
Today's Posts
Quick Links
Man Pages
RedHat Commands
OpenSolaris Commands
Linux Commands
SunOS Commands
FreeBSD Commands
All UNIX Man Pages
All Linux Man Pages
Full Man Repository
Login or Register to Ask a Question and Join Our Community
Search Forums
Show Threads .
Show Posts
Tag Search
Advanced Search
Quick Links
Contact Us
Forum Rules
Today's Posts
FAQ
Pictures & Albums
All Albums
Miscellaneous
What is My IP
Whois
Mark Forums Read
Shell Programming and Scripting
if -z
Tags
shell scripts
Login to Discuss or Reply to this Discussion in Our Community
Thread Tools
Search this Thread
Top Forums
Shell Programming and Scripting
if -z
#
1
06-19-2008
kripssmart
Registered User
43,
0
Join Date: Jun 2008
Last Activity: 4 August 2010, 10:17 PM EDT
Location: Hyderabad
Posts: 43
Thanks Given: 0
Thanked 0 Times in 0 Posts
if -z
hi,
can anyone help me by saying what exactly the '-z' will do..
thanks,
Krips.
kripssmart
View Public Profile for kripssmart
Find all posts by kripssmart
#
2
06-19-2008
zaxxon
Registered User
6,575,
572
Join Date: Sep 2007
Last Activity: 5 November 2019, 9:08 AM EST
Location: St. Gallen, Switzerland
Posts: 6,575
Thanks Given: 179
Thanked 572 Times in 484 Posts
In ksh and bash it means "true", if string is empty.
Korn shell scripts
http://tldp.org/LDP/abs/html/refcards.html#AEN20644
zaxxon
View Public Profile for zaxxon
Find all posts by zaxxon
#
3
06-19-2008
kripssmart
Registered User
43,
0
Join Date: Jun 2008
Last Activity: 4 August 2010, 10:17 PM EDT
Location: Hyderabad
Posts: 43
Thanks Given: 0
Thanked 0 Times in 0 Posts
thanks a lot zaxxon..
kripssmart
View Public Profile for kripssmart
Find all posts by kripssmart
Login or Register to Ask a Question
Previous Thread
|
Next Thread
Login or Register to Ask a Question
Member Badges and Information Modal
×