Sponsored Content
Full Discussion: What -f can do?
Top Forums UNIX for Dummies Questions & Answers What -f can do? Post 302922920 by gull04 on Wednesday 29th of October 2014 06:24:00 AM
Old 10-29-2014
Hi,

To chck for a directory, you would want to use,
Code:
if [ -d  Dirname ]
then
       echo "directory exits."
else
       echo "directory is NOT there."
fi

Regards

Dave

Last edited by gull04; 10-29-2014 at 07:24 AM.. Reason: Typo
This User Gave Thanks to gull04 For This Post:
 
asadmin-stop-appserv(1AS)					   User Commands					 asadmin-stop-appserv(1AS)

NAME
asadmin-stop-appserv, stop-appserv - stops the domains inthe specified directory SYNOPSIS
stop-appserv [--domaindir install_dir/domains] [--terse=false] [--echo=false] This command has been deprecated. Please use stop-domain to stop the domains in the specified or default domains directory. stop-appserv stops the domains in the specified or default domains directory. If the domains directory is not specified, the domains in the default domains directory are stopped. The default domains directory is install_dir/domains. This command can only be run locally. OPTIONS
--domaindir directory where the domains are stopped. If specified, path must be accessible in the filesystem. If not specified, the domain is stopped in the default install_dir/domains directory. --terse indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well- formatted data for consumption by a script. Default is false. --echo setting to true will echo the command line statement on the standard output. Default is false. EXIT STATUS
0 command executed successfully 1 error in executing the command asadmin-create-domain(1AS), asadmin-start-domain(1AS), asadmin-stop-domain(1AS), asadmin-delete-domain(1AS), asadmin-list-domains(1AS) J2EE 1.4 SDK March 2004 asadmin-stop-appserv(1AS)
All times are GMT -4. The time now is 09:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy