Windows Grep Equivalent
I needed to find a specific IP address from the output of the netstat command. Turns out, there’s a Windows’ grep equivalent called findstr: netstat -aon | findstr /R /C:”192.168.0.1″ See superuser.com
I needed to find a specific IP address from the output of the netstat command. Turns out, there’s a Windows’ grep equivalent called findstr: netstat -aon | findstr /R /C:”192.168.0.1″ See superuser.com
Did you know that China doesn’t like Google? Did you know that WordPress, for all its awesome features, defaults to the Open Sans font and fetches it via CDN from Google’s servers? Well, now you do. If you’re wondering why this is a concern (but, let’s face it, if you’re …
If you’re having trouble, here are some tips: Query all the users by using the following command: dsquery user -limit 1000 > users.txt Find the bind_dn user from this list and copy and paste the entire line. It will be a format similar to: ‘CN=Name\, Display,OU=Some Organizational Unit,OU=Another Organizational Unit,DC=domain,DC=com’ …
Having trouble starting SSH on Bitnami virtual appliances? You’ll need to do an extra step before starting the daemon: $ sudo mv /etc/init/ssh.conf.back /etc/init/ssh.conf $ sudo start ssh See bitnami.com
Did you download Bitnami’s Gitorious Appliance? Did you convert it to VMware’s OVF format and add it to your infrastructure? Great! However, if you run into an issue where you can’t login using Bitnami’s default username and password (user/bitnami), you’ll need to make sure of a few things: For reference, …
Here’s one reason, among many, to enable SSL on your site. But now that Google is up-ranking sites that use SSL, it’s even more important to do so. So…do it! Want to test your SSL-enabled server for vulnerabilities? Go to https://www.ssllabs.com/ssltest/. Here’s dForge.net’s report. NOTE: For the recommended perfect forward …
Ever needed the logon time for users in your Active Directory domain? Use the following command: For /F “Skip=1 Tokens=3” %I in (‘Dsquery * domainroot -filter “(&(objectCategory=Person)(objectClass=User)(samaccountname=))” -attr name lastLogon’) Do @w32tm /ntte %I The above command runs the Dsquery command and pipes the output to the w32tm command to …
If you installed Ubuntu 12.04 Server and don’t know why the splash screen isn’t showing up, you’ll need to modify the grub configuration file: sudo vi /etc/default/grub Next, replace the following line: GRUB_CMDLINE_LINUX_DEFAULT=”” With: GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash”
You’ll need the GParted ISO before you start. Delete any snapshots (this allows you to increase the disk size). Edit virtual machine settings, then increase the disk size. Create a snapshot in case anything goes wrong. Boot GParted ISO. Resize the partition related to the LVM volume. Save your changes …
If you need to access a Microsoft CRM 2011 report via a URL, you’ll need to do the following: Publish the report for external use: Go to your SSRS Report Manager (https://<server_name>/Reports). Navigate to your published report. Click on the drop down and select Manage: Click on Parameters. Here you …