coolcommands.com - the search engine for unix sysadmins :: unix commands and scripts
Tuesday July 26, 2016


 Home
 Search
 Advanced Search
 Category Search
 Affiliates
 Acknowledgements
 Cool Links

Username

Password

Remember me
Forgot your password?

Who's Online
We have 19 guests online

Hit Counter
18165969 Visitors

cool Statistics
coolcommands:1346
Categories:83
Total queries:659955
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 rename all the files in the current directory to lower case
Example: perl -e 'for (@ARGV) { rename $_, lc($_) unless -e lc($_); }' *
[show me the details]
coolcommand: how to mount an ISO file in AIX v6 and above
Example: loopmount -i /iso/dvd.iso -l loop0 -o "-V cdrfs -o ro" -m /mnt/dvd
[show me the details]
coolcommand: bootlist - how to modify the boot list in IBM AIX
Example: bootlist -m normal hdisk0 hdisk1
[show me the details]
coolcommand: how to find the file where all the filesystem descriptions are in linux
Example: /etc/fstab
[show me the details]

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


Top 5 Submitters

lvo1167
audet37
kah00na32
Mariom24
lebjf00015

Top 5 Searches

Category General UNIX59985
Category AIX54450
Category Solaris54239
solaris23973
aix23444




Terms of Use
Privacy
Contact


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