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…

how to chain commands in linux command line (with examples)

sort command with redirection

Sometimes you would want to run multiple commands in succession or simultaneously. This is usually useful when running processes or commands that is expected to run for a long period of time. This allows you to automate a process that include several commands that may or may not depend on the result of the previous command. Linux command chaining is the…

how to get more traffic from google adwords

Keywords CTR in Google Adwords

One of the major goals of running a internet marketing campaign is to generate more sales and revenue. In order to do so, you will need to generate more hits or traffic to your website. In the strictest sense, there are only two ways you can increase traffic to the site. One is to increase the overall or total impressions…

a simple strategy on how to choose keywords for adwords

adwords phrase match type

Quite often the challenging part for beginners, is the task of choosing and configuring keywords for different ad groups in Google Adwords. The most common questions usually include: What if I do it wrong and choose the wrong keywords? Why don’t I get enough clicks or traffic? Why does it cost so much? All of these questions are either directly…

adwords: how same keyword in different ad groups affect your campaign

Converted Clicks in Google Adwords

It is very common to have different campaigns in your account and different ad groups with in your campaigns. It is always ideal to have different keywords in each of these ad groups. But some times you will end up with the same keywords (or similar keywords) in different ad groups. First of all, this can happen accidentally especially if you…

how to make an alexander martini drink

alexander cocktail drink

An Alexander is a drink that originated sometime in the early 20th century. The drink uses Rye whiskey as its base spirit. I found the drink originally in the Straub’s Manual of Cocktail Drinks, which was published in the early 1910s. This was probably before the invention of another class of drinks by the same name. In modern times an Alexander is…