|
| cool Statistics |
| | coolcommands: | 1313 | | Categories: | 82 | | Total queries: | 523832 | | Members: | 4281 | |
|
|
|
 |
|
|
Search coolcommands.com
 |
Submitted by:
lvo   |
coolcommand
how to test if a file exists and is a symbolic link in a korn shell script |
Description
The test command evaluate a condition and, if its value is true, return a zero exit status; otherwise, return a nonzero exit status. An alternate form of the command uses [ ] rather than the word test.
# test -L file
or
[ -L file ] |
Example
test -L file; [ -L file ] |
Return to search results
 |  |  |  |
Random coolcommands
coolcommand: log.php - php include file to do logging to a text file
Example: log.php
[show me the details] |
coolcommand: how to find the location of the Sun Solaris kernel
Example:
/kernel/genunix/platform/`uname -m`/kernel/unix
[show me the details] |
coolcommand: how to mirror the rootvg in IBM Virtual I/O Server
Example: mirrorios -f hdisk1
[show me the details] |
coolcommand: dmpmqlog - how to dump a formatted version of the Websphere MQ system log
Example: dmpmqlog -m MQBOBOQ1
[show me the details] |
|
|
coolcommands.com - the search engine for UNIX sysadmins :: unix commands and scripts
|  |  |  |  |
|
|
|
|
 |
|
|
|
Top 5 Submitters
|
|---|
| lvo | 1138 |
| audet | 37 |
| kah00na | 32 |
| Mariom | 24 |
| lebjf000 | 13 |
Top 5 Searches
|
| Category Solaris | 42690 |
| Category AIX | 38082 |
| Category General UNIX | 34254 |
| solaris | 20802 |
| aix | 19388 |
|
|
|
|