Stupid WordPress tricks

This post is published courtesy of Perishable Press. Check out the other terrific info there as well! Perishable Press By the way, this stuff is far from stupid… very nice references here. WORDPRESS SHORTCODES  Save time by replacing your most commonly typed words and phrases with WordPress shortcodes. For example, if you are frequently typing…


Linux CLI Shortcuts

Some of the very useful shortcuts when using the CLI (command line interface) are (the ‘*’ or dash ‘-‘ is not included in the command) * / – root directory * ./ – current directory * ./command_name – run a command in the current directory when the current directory is not on the path *…


Single user mode

Steps for entering/running the single user mode. 1) Reboot the machine. At GRUB [Boot Loader] there will be the listing of the Kernel selection. You will only have about 2 seconds to catch this option during the boot process. You will need to push the Esc key, F1 or Del key to enter this mode….


Docky

Docky is an AWN look-alike which was formerly integrated with GNOME Do. Docky is now an independent application that has maintained many of its goodies like the in-built plug-ins and aspires to bring in more functionality as time goes on. This application is still at an early alpha level but worth a try as it…


Block all ftp access except your country

I recently had a client that, because of constant security breaches, wanted me to block ftp access from everyone except his home country where all of his clients were located. Wait a minute… did you say… access… from everyone??? except your own country???? That fact was slow to dawn on me as the implications of…


Iptables rule limit (numiptent) is too low

If installing csf on a VPS and add too many entries to one of the allow or deny files (/etc/csf/csf.allow or csf.deny) You may come across with a “numiptent” error message while trying to restarting iptables on a VPS. The error looks somewhat like: The VPS iptables rule limit (numiptent) is too low (491/500) –…


Getting website though CLI mirroring

Mirroring a site was never that easy. No software required just a single line command all is done.Let me explain how i did that. 1. Found a site had good AWK manual. 2. Went through the AWK manual and located two good options to the command that worked just well, though i had few wrong…


HardInfo – Benchmark Linux

Benchmarking means measuring the speed at which a computer system will execute a computing task, in a way that will allow comparison between different hardware/software combinations. It does not involve user-friendliness, aesthetic or ergonomic considerations or other subjective judgment. HardInfo is a system profiler and benchmark for Linux systems. It can gather information about your…


Advanced Bash Scripting Guide

The Advanced Bash Scripting Guide is both a reference and a tutorial on shell scripting. This comprehensive book (the equivalent of 974 print pages) covers almost every aspect of shell scripting. It contains 364 profusely commented illustrative examples, a number of tables, and a cross-linked index/glossary. Not just a shell scripting tutorial, this book also…


tailf – Watch logs in realtime

The most widely used command for monitoring log file is tail. Tail binary allows a user to watch the log file grow in realy time. Watching the log file grows can be done using an additional -f parameter. Alternatively, another approach to watch a log file grows can be done using tailf binary command. Tailf:…