Kill a pricessID forcefully. For Example: kill -9 <PID#>
-
-
ps
Limit process listing to those belonging to a given user by piping the output through grep. For example, processes belonging to a user with a username charles can be displayed with the following: ps -ef | grep charles The -l option generates a long listing, and when used together with the -e and -f options creates a table with 15 columns, which can also be piped for the user name: ps -efl | grep charles
-
Advanced Python Video on Google
-
TrueCrypt
Great encryption software, although there is no full disk encryption for the Mac from TrueCrypt I hope to see it eventually. By the way, I didn’t mention this yet: it’s free. http://www.truecrypt.org/ UPDATE: While TrueCrypt does not do full disk encryption (FDE) for the boot volume still, it does do FDE for other volumes fairly easily and of course free. If you need FDE for boot volumes on Mac OS X check out PGP and CheckPoint FDE. PGP Desktop is easy to install and use and has a great command line interface. CheckPoint though seems to be a bit more mature and has an easier methodology for mass deployment.
-
Linux: Install Wireshark from yum
Using CentOS or Red Hat Enterprise Linux (RHEL) 5, install and run Wireshark over the command line. To install Wireshark, use yum: yum install wireshark Run a capture: tethereal -i eth1 -w ~/mycapture.pcap This command will run a Wireshark capture on the eth1 interface and output the data to a file called mycapture.pcap in your home directory. You can then view this file in the X11 interface for Wireshark or grep it for specific information.
-
Fedora: Installing fail2ban
Install fail2ban using this command: yum install fail2ban Next, create the system startup links for fail2ban: chkconfig –levels 235 fail2ban on Next, start fail2ban: /etc/init.d/fail2ban start The config files are now in /etc/fail2ban.
-
Ubuntu: Install phpldapadmin
To install phpldapadmin on Ubuntu couldn’t be easier, just use this command: apt-get install phpldapadmin
-
Add Amavis schema to LDAP
To add the amavis schema to your LDAP config, edit your slapd.conf file to include the following line: include /etc/ldap/schema/amavis.schema
-
Enable Detailed Error Reports
By default, GoDaddy automatically disables detailed error messages. However, when you’re troubleshooting you kinda’ need them. To enable them look for the httpErrors tag in your web.config file. From here, change the errorMode setting to “Detailed” and then try and run your script again and debug away! <httpErrors errorMode=”Detailed” > </httpErrors>
-
Setting up MySQL Clustering with UltraMonkey
http://www.howtoforge.com/loadbalanced_mysql_cluster_debian