how to find all files containing specific text in a linux filesystem?

search text in file content with grep

Most search utilities work by crawling, parsing and generating an index of the file content so that they can be searched later. Many operating systems and desktop environment follow this approach to make searching faster. We will see how to search through file content from the command line, without the use of such indexes or engines. Needless to say, these…

how to forward ports on a network router

port forwarding for age of empiers

Network Routers are an integral part of your home network. Most applications and services works without having to open up ports on your router. But sometimes there are some applications, such as multiplayer games, p2p networks and web servers that necessitates the need for certain ports to be open or forwarded so that they can function correctly. The network router…

7 of the best web browsers that you can use in linux

vivaldi browser in linux

Everybody needs a web browser. The web browser is probably one of mostly widely used tools in this day of cloud computing and internet. Google even made an operating system out of a browser. What browser you use depends much on its feature set and your own preferences. Almost all of the popular web browser today, have a very similar…

how to change the document root directory in apache web server in linux

document root in apache web server

The Apache Web Server is one of the most popular web servers that is used both in development and production. As per the latest count, it boasts close to 50% of the market share. There are many reasons as to why the Apache server is popular. It is easy to install, configure and run. It is pretty light weight and…

how to sort the output of ‘top’ command by memory or cpu usage

linux top command sorted by cpu

One of the programs that you can use to quickly see the process information is the top command. The fact that the command can be run from virtually any command prompt and it is self updating makes it a handy tool. You can quickly find the processes that are consuming too much resources on the machine. In most cases, running…

how to sort du command output by size in linux

sorting du output in linux

If you use a Linux system often enough, you should already be familiar with the du command. The du command allows you to check or print the file space usage. You can use it to print out the current disk usage for a set of files and folders. The ability to print out folders sorted by size can be useful when…

how to get current date and time inside a shell script

date and time in shell

When writing shell scripts, many times you would want to get the current time and date, that is the date and time when the script is getting executed. This value can be saved to a variable and used through out the script for various different purposes. You can use them to generate informative file names or even other variables. You can…

seo: should you use outbound links in your pages and its effect in seo

content with external links

Having outbound or external links in your content is often a marker of good quality content. It can positively affect your brand reputation and your search engine ranking. Firstly, let’s first define what an outbound link is. A link or URL in a webpage is a piece of content that an user can click on and browse or be redirected to…

seo: start title tags and urls with your target keyword to improve ctr

keywords in title tags

When creating content for your website or writing posts for your blog, there are mainly three things that you need to focus on. The first and foremost is probably the quality of the content. The next is the title of the page itself and then the slug (or URL) of the page. The title of the page is important for…

how to prompt for input from user in a linux shell script

shell script select command menu

When writing shell scripts, you will have scenarios you want to get input from the command line. And you would want to perform some specific action based on the user input. Programming a shell script to accept user input from the console is quite simple. We will see some examples of how you can do this in a bash script….

how to use wget to find broken links on your website

broken links detection with wget

As websites get larger and larger with ever-growing content, it could easily get to be a nightmare to maintain. It is true for any website. But this is especially true of a blog, a forum or any site with a constant influx of new content. Over time, content on the website can get outdated and removed. This could lead to…