how to test if a file exists and its owner is the effective user id 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.
coolcommand: unmirrorvg - how to unmirror a volume group in IBM AIX
Example: unmirrorvg workvg hdisk7
[show me the details]
coolcommand: DB2 - add an alias for an IBM DB2 database
Example: db2 catalog tcpip node db2dbname remote hostname server db2fncc
[show me the details]
coolcommand: how to convert a string to a date in Oracle
Example: INSERT INTO orders (title, date_added) VALUES ('Test title', to_date('2003/07/09', 'yyyy/mm/dd'))
[show me the details]
coolcommand: how to find the NFS share definitions in linux
Example: /etc/exports
[show me the details]
coolcommands.com - the search engine for UNIX sysadmins :: unix commands and scripts