coolcommands.com - the search engine for unix sysadmins :: unix commands and scripts
Thursday April 24, 2014


 Home
 Search
 Advanced Search
 Category Search
 Affiliates
 Acknowledgements
 Cool Links

Username

Password

Remember me
Forgot your password?

Who's Online
We have 41 guests online

Newest Member

nbewwmbxog

Hit Counter
13248904 Visitors

cool Statistics
coolcommands:1344
Categories:83
Total queries:633127
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: how to check if a perl module is installed in your perl distribution
Example: perl -MModule::Build -e 'print "installed!\n"'
[show me the details]
coolcommand: how to query the available filesystem snapshots in AIX
Example: snapshot -q /filesystem_name
[show me the details]
coolcommand: pfiles - to report fstat(2) and fcntl(2) information for all open files in each process in Sun Solaris
Example: pfiles 204
[show me the details]
coolcommand: how to convert a decimal to hexadecimal
Example: echo "obase=16;ibase=10; 15" | bc
[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

lvo1165
audet37
kah00na32
Mariom24
lebjf00015

Top 5 Searches

Category Solaris52779
Category General UNIX51793
Category AIX50421
solaris23774
aix23013

Terms of Use
Privacy
Contact


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