I already wrote about nohup command, which allows you to ignore HUP (hangup) signal and keep running the command after user logged out. You can accomplish the same behavior using screen or disown command. setsid is another program that runs a program in a new session. For example run a script called ~/scripts/mirror.site: ssh firstname.lastname@example.org […]
Generally you use ps command to find out all running process. You may also pipe out ps command output via grep command to pickup desired output. Basically you don’t want display grep command as the process. Let us run combination of ps and grep command to find out all perl processes: $ ps aux | […]
By hiding out DNS server version number you can improve server security. fpdns is a program that remotely determines DNS server versions. It does this by sending a series of borderline DNS queries which are compared against a table of responses and server versions. (just like nmap command’s remote OS detection facility). A nameserver basically […]
Both Linux and Unix like operating systems comes with z* commands. These command allows you to read gzip compressed text files using zless, zcat, zmore and friends command. The gzip command reduces the size of the files using Lempel-Ziv coding (LZ77). Whenever possible, each file is replaced by one with the extension .gz, while keeping the same ownership modes, access and modification times. z* commands has some cool usage too; such as display the current time in different zonename.
Here is a quick tip, if you wish to perform an unattended download of large files such as Linux DVD ISO file use the wget command as follows:
I’ve already written about a shell script to check / monitor domain renew / expiration date here. Now I’ve modified matt’s domain-check script to support additional C/TLDs .in, .biz, .org and .info domains. I’ve also added 5 seconds delay to avoid whois server rejecting query. This script checks to see if a domain has expired. […]
I’m little surprised to find that Ubuntu Linux skips development man pages by default. A quick search using apt-cache pointed out to manpages-dev package. It includes manual pages about using GNU/Linux for development. Install development man pages Use apt-get command: $ sudo apt-get install manpages-dev To view library calls (functions within program libraries), enter: $ […]