coolcommands.com - the search engine for unix sysadmins :: unix commands and scripts
Wednesday July 23, 2014


 Home
 Search
 Advanced Search
 Category Search
 Affiliates
 Acknowledgements
 Cool Links

Username

Password

Remember me
Forgot your password?

Who's Online
We have 27 guests online

Newest Member

nbewwmbxog

Hit Counter
13711891 Visitors

cool Statistics
coolcommands:1345
Categories:83
Total queries:637847
Members:22813





Search coolcommands.com
Search Keyword:


coolcommand

chmod - setting setuid or setgid
Description

Setting setuid or setgid with chmod

To setuid:

# chmod u+s dir | file

To setgid:

# chmod g+s dir | file

Meaning:

rwSrwSrwS ( "S" = "S - x" setuid/setgid but not executable)
rwsrwsrws ( "s" = "s + x" setuid/setgid and executable)
Example

chmod u+s file

Return to search results

Random coolcommands

coolcommand: dsmc - restore from the command line with TSM (Tivoli Storage Manager)
Example: dsmc res
[show me the details]
coolcommand: how to make the group permissions of a file the same as another reference file in Linux
Example: chgrp --reference file1 file2
[show me the details]
coolcommand: how to add a virtual interface (alias) on a network card in Sun Solaris
Example: ifconfig hme0:1 inet 10.10.1.2 netmask 255.255.255.0 broadcast 10.10.1.255 up
[show me the details]
coolcommand: cpio - copy source directory or filesystem to a another destination
Example: cd /source ; find . -print | cpio -pdm /destination
[show me the details]

coolcommands.com - the search engine for UNIX sysadmins :: unix commands and scripts



FREE
myPMS

Password
Management
System

by

LVOware.com




Top 5 Submitters

lvo1166
audet37
kah00na32
Mariom24
lebjf00015

Top 5 Searches

Category Solaris53066
Category General UNIX52643
Category AIX51597
solaris23799
aix23176

Terms of Use
Privacy
Contact


 
coolcommands.com © 2014. All Right Reserved.
Programming by PRATTICO Consulting . Hosting by Apricusum