Catagories
-
.1.3.6.1.4.1.674.10892.1 12th Generation 504 bad xml bash bios cheatsheet chmod custom delete Dell dellBiosUpdate dell_dup_componentid_00159 ESXi ESXI 4.1 ESXi 5.0 Exec format error files find firmware folders Helo command rejected HP IIS libdsupt.so libdsupt.so.1 Mail No network adapters were detected No such object oid older omreport OMSA Openmanage Prolient R410 R520 R620 R720 script snmp snmptranslate srvadmin Windows
Your Information
Category Archives: Linux
Change files back to 644 and folders back to 755 with chmod
If you want to get rid of the nasty 777 on all files/folders see: find /path/to/base/dir -type d -print0 | xargs -0 chmod 755 find /path/to/base/dir -type f -print0 | xargs -0 chmod 644
HP Prolient disk tool hpacucli (cheat sheet)
Utility Keyword abbreviations Abbreviations chassisname = ch controller = ctrl logicaldrive = ld physicaldrive = pd drivewritecache = dwc hpacucli utility hpacucli # hpacucli # hpacucli help Note: you can use the hpacucli command in a script Controller Commands Display … Continue reading
remove files older than X days
find example to remove files older than 5 days: find /path/to/files* -mtime +5 -type f -exec rm {} \; Note that this command will not work when it finds too many files. It will yield an error like: bash: /usr/bin/find: … Continue reading