Jianming Li
"Slow down and enjoy life. It's not only the scenery you miss by going too fast, you also miss the sense of where you are going and why" – Eddie Cantor
Skip to content
Welcome
Oracle Technology
American Idioms
←
Install RHEL 5.1 on x86 Systems
Shell script: display tab character
→
Checking a directory is empty
Posted on
May 26, 2009
by
Jianming Li
#!/bin/bash if [ "$(ls -A $1)" ]; then echo "$1 not empty" else echo "$1 is empty" fi
This entry was posted in
unix
. Bookmark the
permalink
.
←
Install RHEL 5.1 on x86 Systems
Shell script: display tab character
→
Meta
Log in
Entries feed
Comments feed
WordPress.org
Search for:
Categories
Categories
Select Category
app (1)
visio (1)
appliance (2)
juniper (2)
appsvr (131)
apache (21)
IIS (6)
jboss (12)
oc4j (23)
tomcat (4)
weblogic (68)
weblogic11g (62)
bio (1)
bioinfo (1)
cms (14)
alfresco (5)
activiti (1)
joomla (3)
moodle (1)
wordpress (6)
com (84)
dell (2)
DuoSecurity (1)
google (2)
hosting (1)
hp (1)
fortify (1)
microsoft (9)
adfs (6)
Outlook (2)
win7 (1)
oracle (68)
certification (28)
fusion (46)
adf (3)
soa11g (41)
WebCenter (2)
db (115)
db2 (2)
derby (1)
ldap (9)
OpenDJ (3)
redhat-ds (1)
mysql (7)
oracle (88)
10g (3)
11g (2)
aq (2)
goldengate (22)
net8 (3)
postgresql (1)
SqlServer (6)
errors (8)
fun (69)
coffee (1)
photo (5)
recipe (33)
soccer (24)
coerver (1)
travel (5)
van (2)
health (6)
eye (1)
house (1)
ac (1)
ide (16)
eclipse (5)
jdev (9)
sqlmodeler (1)
visualStudio (1)
info (1)
lang (165)
ant (1)
architecture (3)
c# (35)
WIF (3)
cpp (12)
dotNet (7)
asp.net (2)
html (1)
java (61)
applet (1)
jaas (3)
jpa (1)
jsf (9)
cdi (1)
trinidad (2)
jsr (1)
logging (1)
regex (2)
JavaScript (8)
Knockout (2)
jquery (1)
maven (1)
mule4 (1)
otherlang (1)
perl (3)
php (9)
PowerShell (2)
python (1)
shell (7)
sql (5)
pl/sql (3)
uml (1)
xml (10)
xquery (2)
xslt (1)
os (124)
cygwin (4)
docker (1)
infra (1)
Linux (26)
centos (8)
redhat (3)
x11 (1)
mac (3)
iPhone (3)
solaris (14)
ubuntu (1)
unix (23)
vi (1)
vm (19)
virtualbox (6)
vmware (13)
ESXi (5)
win (45)
RT (1)
win10 (1)
win2008 (1)
win7 (10)
pc (3)
dell (1)
lenovo (2)
repair (2)
scm (15)
git (4)
maven (4)
svn (8)
security (54)
ad (1)
firewall (2)
idM (12)
OpenIdm (7)
SunIDM (5)
kerberos (6)
openam (5)
pki (3)
saml (4)
spam (1)
ssh (3)
ssl (14)
web (2)
soa (88)
bpel (7)
bpms (4)
esb (11)
jax-rpc (3)
jax-ws (15)
jaxb (1)
jbi (1)
jms (2)
layer7 (7)
R&R (7)
restful (2)
ws stds (15)
ws util (1)
wstest (1)
tech (28)
biometrics (7)
bluetooth (1)
firefox (1)
freenas (1)
mobile (2)
verizon (1)
nas (2)
truenas (1)
word (2)
Uncategorized (25)
util (8)
color (1)
pdf (1)
zip (1)
Tags
1Z0-102
1Z0-451
11g
AD
admin
backup
c#
centos
cert
certification
cluster
example
git
goldengate
install
java
javaScript
jdev
kerberos
layer7
ldap
linux
maven
mysql
OpenAM
OpenDJ
OpenIDM
oracle
pork
recipe
regex
RESTful
security
setup
soa
solaris
ssh
ssl
SunIDM
sync
vmware
weblogic
win7
wls
wlst