"if" is obvious.
"[" means the same as the command "test" as in here:-
And "-d" is to denote that a directory/drawer/folder is the thing to look for.
"$drawer" could be any absolute or relative path.
The braces "{}" in my first reply are not doing anything in my original case but can
be used for special expansion conditions. (Added for fullness.)
And also I forgot, "]" ends that particular test proceedure...
I will let you research on the curly braces... ;o)
Last edited by wisecracker; 02-08-2014 at 11:55 AM..
Reason: Added the "forgot" bit...
This User Gave Thanks to wisecracker For This Post:
Hi all,
I am a newbe to aix 5.2. I want to specify the characters used by users while creating user in aix like specifying the length of the password
should i use some sript for that if it is then please let me know how to do this
if yes give me the link for the scripts.
Thanks in advance
... (2 Replies)
hi all,
I'm trying to resolve a scenario where we prompt the user to enter 1 or more disk names.
From there we would run a command on each disk which would give its location.
This would allow us to create a list of disks at location A, a list of disks at location B,....etc...
Any help... (1 Reply)
I have list of files named file_username_051208_025233.log. Here 051208 is the date and 025233 is the time.I have to run thousands of files daily.I want to put all the files depending on the date of running into a date directory.Suppose if we run files today they should put into 05:Dec:08... (3 Replies)
So I have a loop that stated if a directory exists or not. If it does it prints the number of files within that directory. I use this code...
result=`(ls -l . | egrep -c '^-')`
However, no matter which directory I input, it outputs the number "2"
What is wrong here? (4 Replies)
I need to make a shell script that accepts a directory input by the user. The program searches for the directory and finds if it exists or not. Then if it does exist, it outputs the number of files within that directory. Here's what I have so far.
result=
echo "Please input a directory:... (5 Replies)
Hi,
echo "Enter file name of input file list along with absolute path : "
read inputFileList
if
then
for string in `cat inputFileList`
do
echo $string
done
else
echo " file does not exist"
fi
From the above code, if the user enters a invalid file... (1 Reply)
i have a script which takes input from user, if user gives either Y/y then it should continue, else it should quit by displaying user cancelled.
#!/bin/sh
echo " Enter your choice to continue y/Y OR n/N to quit "
read A
if
then
echo " user requested to continue "
##some commands... (7 Replies)
Hi I'm trying to create a basic script that pauses for user input to verify a file name before generating the output.
I have numerous SSL certificate files which I am trying to determine the expiry date so what I'm trying to do is write a script so that is pauses to request the name of the .pem... (9 Replies)
I am trying to allow a user to enter in text and then store that text in a variable $gene to run in an awk command in which those values are used to run some calculations. I am getting syntax errors however, when I try. Thank you :).
The awk runs great if it is a pre-defined file that is used,... (7 Replies)
Hi Experts,
Need your support
Redhat 6.5
I want to create a user with all(read, write, execute) privileges except that user should not be able to create any new user from his login
to perform any task. (10 Replies)
Discussion started by: as7951
10 Replies
LEARN ABOUT OSF1
sysman_intro
sysman_intro(8) System Manager's Manual sysman_intro(8)NAME
sysman_intro - Introduction of SysMan applications
DESCRIPTION
SysMan is a suite of applications for managing Tru64 UNIX systems. The SysMan applications provide a simple, easy to use, graphical user
interface (GUI) for common system management tasks including installation and configuration.
When you follow the installation instructions in the Installation Guide, the installation GUI, Installation Setup, is displayed automati-
cally.
To help you prepare the system for general use, the Tru64 UNIX: System Setup checklist is displayed when you log in as root for the first
time after performing an installation.
SysMan applications and help are available from the Application Manager (tool drawer) icon on the CDE front panel, or from the SysMan
Applications panel above the SysMan Station icon on the root CDE window.
For additional information, see the Welcome to SysMan help volume by performing the following procedure: Click on the Application Manager
icon (the file drawer) on the CDE front panel. Double click on the System_Admin application group icon. Double click on the Welcome to
SysMan icon.
If you are not running CDE, but have installed it, you can open the Welcome to Sysman help volume by entering the following sequence of
commands at the command line: /bin/sh PATH=$PATH:/usr/dt/bin export PATH DTHELPSEARCHPATH=/usr/dt/appconfig/help/C/%H export DTHELPSEARCH-
PATH DTUSERSESSION=${USER}-`uname -n`-0 export DTUSERSESSION dthelpgen -dir $HOME/.dt/help/$DTUSERSESSION dthelpview -helpVolume browser
SEE ALSO
Commands: bttape(8), bindconfig(8), diskconfig(8), dxaccounts(8), dxadvfs(8), dxarchiver(8), dxdw(8), dxfileshare(8), dxhosts(8), dxkernel-
tuner(8), dxlicenses(8), dxlsm(8), dxpower(8), dxpresto(8), dxproctuner(8), dxshutdown(8), dxsysinfo(8), mailconfig(8), mailusradm(8), net-
config(8), nfsconfig(8), printconfig(8), sysman(8),
System Administration
Release Notes
Installation Guide
Technical Overview
X Window System Administrator's Guide
Network Administration
Common Desktop Environment: User's Guide
CDE Companion
Common Desktop Environment: Advanced User's and System Administrator's Guide
Common Desktop Environment: Programmer's Overview
Common Desktop Environment: Programmer's Guide
Common Desktop Environment: Help System Author's and Programmer's Guide
Common Desktop Environment: Style Guide and Certification Checklist
OSF/Motif Style Guide
sysman_intro(8)