|
| cool Statistics |
| | coolcommands: | 1338 | | Categories: | 83 | | Total queries: | 620201 | | Members: | 22813 | |
|
|
|
|
Search coolcommands.com
 |
Submitted by:
lvo   |
coolcommand
how to make the owner and group permissions of a file the same as another reference file in Linux |
Description
To make the owner and group permissions of a file the same as another reference file in Linux:
# chown --reference file1 file2 |
Example
chown --reference file1 file2 |
Return to search results
 |  |  |  |
Random coolcommands
coolcommand: csplit or split - split a large file into smaller ones
Example: csplit file keyword
[show me the details] |
coolcommand: restore from backup mkcd of an IBM RS/6000 of type chrp
Example: boot cdrom:\PPC\CHRP\BOOTFILE.EXE
[show me the details] |
coolcommand: how to sort a hosts file by ip address
Example: ypcat hosts | sort -n -t. +0 -1 +1 -2 +2 -3 +3 -4
[show me the details] |
coolcommand: how to test if a file exists and is a character special file in a shell script
Example: test -c file; [ -c file ]
[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 | 51943 |
| Category AIX | 49009 |
| Category General UNIX | 47557 |
| solaris | 23554 |
| aix | 22739 |
|
|
|
|