- July 12, 2011
#command line, #dig, #dns, ...
using dig is very simple, and can provide some rather useful information about a domain. useful for finding out where a domain may be hosted, you can also see nameservers, mx records, ttl. the standard output is quite full of information: [code gutter=”false”] dig tizardsbriefcase.com ; <<>> DiG 9.8.1-P1 <<>> tizardsbriefcase.com ;; global options: +cmd […]
sick of them yet!? here’s how to get rid of those updates you get every single hour, every single day. [code]nano /etc/drweb/drweb32.ini[/code] Find the line that contains “CronSummary” (without the quotes of course :)) Ctrl + W in nano will open a “Find”, just type your text and press enter… Simply change [code]CronSummary Yes[/code] to […]
a cheap bash script to check the availability of domains. easy enough to add more tld’s, though it would be better to write a switch with a check for each tlds “no match”, or equivalent, message. [code language=”bash”] #!/bin/bash if [ "$#" == "0" ]; then echo "You need to supply at least one argument!"; […]
getting files and directories use ncftp to connect to a remote server and get a directory and everything in it. [code]ncftpget -R -u $FTP_USER $FTP_SERVER $LOCAL_DIR $REMOTE_SERVER_DIR[/code] putting files and directories to upload a directory to a remote server: [code]ncftpput -R -u $FTP_USER $FTP_SERVER $REMOTE_SERVER_DIR $LOCAL_DIR[/code] a few flags -R recursively copy directories -u the […]