|
| cool Statistics |
| | coolcommands: | 1338 | | Categories: | 83 | | Total queries: | 621785 | | Members: | 22813 | |
|
|
|
 |
|
|
Search coolcommands.com
 |
Submitted by:
lvo   |
coolcommand
how to append text at the end of every filename in the current directory |
Description
If you need to rename all ".htm" files to ".html" in the current directory, use this perl code:
# perl -e 'for (@ARGV) { rename $_,$_.'l' unless -e lc($_.l); }' * |
Example
perl -e 'for (@ARGV) { rename $_,$_.'l' unless -e lc($_.l); }' * |
Return to search results
 |  |  |  |
Random coolcommands
coolcommand: vxva - Veritas Volume Manager gui
Example: vxva
[show me the details] |
coolcommand: how to update a row in mysql
Example: update dbname.tablename set type="abc" where type="all";
[show me the details] |
coolcommand: lshmc - to list the HMC network configuration, the remote command configuration, and VPD data
Example:
lshmc [ -n ] [ -v ] [ -r ] [ -F < format > ] [ —help ]
[show me the details] |
coolcommand: how to find the largest stripe you can have in Veritas Volume Manager
Example: vxassist maxsize layout=stripe
[show me the details] |
|
|
coolcommands.com - the search engine for UNIX sysadmins :: unix commands and scripts
|  |  |  |  |
|
|
|
|
 |
|
|
|
Top 5 Submitters
|
|---|
| lvo | 1160 |
| audet | 37 |
| kah00na | 32 |
| Mariom | 24 |
| lebjf000 | 14 |
Top 5 Searches
|
| Category Solaris | 52056 |
| Category AIX | 49317 |
| Category General UNIX | 47854 |
| solaris | 23555 |
| aix | 22814 |
|
|
|
|