• Why echo and print are not Functions in PHP and their differences

    I hear few of my colleagues call ‘echo‘ and ‘print‘ as functions in PHP. But actually they are not. According to the descriptions from ‘php.net‘, echo and print are language constructs and not functions. It means, you are not required to use parenthesis for both ‘echo‘ and ‘print‘ (you can use parenthesis,…

  • How to Scan your Linux Box for Trojan, Malware and Virus using ClamAV

    This tutorial will take you through the ClamAV installation on CentOS, which can help you to detect Virus, Malware, Trojans and other malicious threats on your Linux machine. Before we get into the installation steps, I’ll quickly brief you about ClamAV. ClamAV is an open source antivirus engine or a…

  • 7 Ways to Detect Virtualization from your VM [Xen,VirtualBox,KVM,OpenStack with KVM]

    At Techglimpse we frequently receive mails from our readers asking us to write a tutorial on ‘Virtualization Detection’ from a VPS or a Virtual machine. However, we were not able to respond to those emails immediately, as we didn’t have a test setup comprising of popular hypervisors (at least few) such as…

  • How to Edit Left Sidebar Menu in MediaWiki?

    I recently deployed MediaWiki for one of my project to help my team members share and collaborate on specific research areas. By default, MediaWiki comes with a left sidebar that features navigation links such as Main page, Tools, Special pages, Recent changes, Upload file etc…If you ever want to change the menu…

  • How to detect Virtualization using Sys::Detect::Virtualization Perl script?

    Off late, I started working on a Cloud security project where I need to detect the type of hypervisor that runs a virtual machine. For experiment, I had setup test environments based on OpenStack cloud platform with KVM as the underlying hypervisor and also standalone KVM with QEMU, Xen and VirtualBox….

  • Yum Install Error – Insufficient space in download directory [Solved]

    Question: Hi, I was using ‘yum‘ command to install ‘lshw‘ package on CentOS virtual machine. Unfortunately, the command failed with an error message as “lshw-B.02.17-3.el6.x86_64: Insufficient space in download directory /var/cache/yum/x86_64/6/base/packages“. Below is the snapshot of the complete error: [root@sandy ~]# yum install lshw Installing: lshw x86_64 B.02.17-3.el6 base 253…

  • Did you Enable Bot Filtering in Google Analytics?

    For the past couple of months, my website received huge number of traffic from bots, spams referrals and unusual direct visits  – check out my articles on blocking clictune and WeSEE_Bot. During the process of fixing those, I also learnt a new feature called “Bot Filtering” in Google Analytics, which…

  • How to Disable or Remove Plugin’s CSS File in WordPress?

    One of the problem that I face with WordPress Plugins is that – the plugins can include their own CSS and JavaScript files. If you are not going to write custom CSS or override the styles offered by the plugins, then it’s fine (ah! not fine, if the developer has not…

  • Why ‘sshpass’ is not the right way of automating file transfers in Linux

    Question: I’ve been assigned a task to automate file transfers between remote machines using scp. But I’m not sure how to give password as a parameter to the scp command. One of my friend suggested to use ‘sshpass‘ command (it can take password as an argument), but my boss says “sshpass is not…

  • 5 Ways to Customize Product Tabs in WooCommerce!

    I was recently working on WooCommerce for some of my client projects, where I learned to customize product tabs according to the client’s requirement. Well, you got it. I’m going to share few tips that helped me to customize product tabs in WooCommerce – which includes, renaming tab names, re-ordering the…

  • ImportError: No module named dbus while executing system-config-firewall-tui [Solved]

    Question: I was trying to configure firewall using ‘system-config-firewall-tui‘ command on my CentOS VPS. However the command ended up with the below error message. I saw a similar post at techglimpse where you suggested to start messagebus service, but I don’t find that service in my machine. Can you tell me how to…

  • How to hide or remove Product tabs in WooCommerce?

    Just a day before I wrote a tutorial on how to rename additional information tab in WooCommerce. But the case is different today, as one of my client wants me to hide or remove the product tabs completely on a single product page. So if you ever want to remove…

  • How to Rename Additional Information tab in WooCommerce Product Page?

    By default, WooCommerce will display “Additional Information” tab in product page – which will contain the product attributes. But most of my clients does not want the tab to be called as “Additional Information”, instead they like to rename it as “Product Info” or “Specification”. Well, that sounds quite logical…

  • How to Block Unwanted Spam Traffic From Bad Referrer Websites like Clictune?

    My website generally gets consistent web traffic – means, I don’t see big jump or downfall all of a sudden. But for the past few days, the website saw huge increase in traffic – according to Google Analytics, the website has received almost 1000-2300 unique visits every day from clictune. Strangely, the visitors…

  • How to Display/Fix Indian Currency Symbol in WooCommerce?

    Indian Currency symbol was officially announced in 2010 and thereafter operating systems, word processors and websites started to use the new rupee symbol. Particularly for websites, the webrupee api set the tone (for some reason, the webrupee api does not seem to work now – but Jagadesh Boopathi has an…