Trying to delete a folder on windows sometimes is thwarted by the error “ Cannot delete” “volume label syntax is incorrect” I tried every non-destructive method listed out there rd <path> /s aka; rmdir <path> /s changing long file or directory names When I want to delete something I don’t have time to mess [...]
VMWare/Linux Add New Disk CHEATSHEET
Add the disk via vSphere/VirtualCenter Reboot (if you have scsitools you can also run ‘rescan-scsi-bus.sh’ instead of rebooting Commands fdisk -l # Display new disks w/o partition tables fdisk /dev/<newdisk> n (for new partition) p (for primary partition) 1 (partition number) (keep the other values default) w (write changes) fdisk /dev/<newdisk> (change partition type) 8e [...]
Changing Unix Account Passwords in Bulk
In migrating a standalone FTP system, I found that I needed to re-add several users, and wanted a scripted method of updating passwords. awk -F, ‘{ printf(“%s:%s\n”,$3,$4); }’ /tmp/ftpusers.csv | while read line; do echo $line | chpasswd; done where ‘ftpusers.csv’ format is 3rd and 4th column is username and desired password AIX: chpasswd Linux: [...]
IBM ITM Product Code Table
10 Monitoring Agent for Cobb EAI 14 Monitoring Agent for CobbRemoteAgent 15 Monitoring Agent for BillPrint 15 Monitoring Agent for Cobb BillPrintLog 20 Monitoring Agent for Cobb DBClient 3z IBM Tivoli Monitoring Active Directory Feature 3z Monitoring Agent for Active Directory 40 Monitoring Agent for DD690G 41 Monitoring Agent for Cobb UnixExtended 41 Monitoring Agent [...]
ITM Situation Rename — BEWARE
As of ITM 6.2.1, there is a perceived capability to now rename situations within the editor. However, the rename is actually a new attribute called ‘Full Name’ and only changes the TEPS display name for the situation; the EIF will still send the original situation name. IBM responds this is “working as designed” — a [...]
Quick and Dirty LAMP
Installing a LAMP stack: Linux – Apache, PHP, and MySQL on Fedora Core Assuming you already have Linux and Yum installed. 1. Install Apache (httpd), PHP, MySQL (server and client), and the component that allows php to talk to mysql. yum -y install httpd php mysql mysql-server php-mysql 2. Configure the new services to start [...]
Windows Ports
I was experimenting with WAMP on my laptop, not a big deal in itself, but when I rebooted the Apache server failed to start. Event logs showed something else had already been binded to port 80. Quick Fix was to determine which PID had it by running the following: netstat -ano From there you can [...]
“Smart um_cleanup”
DOWNLOAD: The ‘um_cleanup’ script that comes with ITM6 Universal Agent I’m convinced was written by an intern or co-op who just learned the basics of scripting. I “rewrote” the whole darn thing with the following comments and syntax: um_cleanup_jds.ksh -h USAGE: um_cleanup_jds.ksh [UA|CMS|CNPS|ALL] um_cleanup_jds.ksh -f You need only supply a single arg – the [...]
