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…

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…

7 linux commands that will help you learn other linux commands

man rm command

One of the daunting task that most Linux beginners face is the sheer number of several different commands and utilities that are available. Some of these commands might seem to do the exact same things. Each of these commands have numerous command line options on top of it. Yes. having choices comes at a price. It is quite impractical to learn…

how to change line spacing or line height in html

html line spacing css

When coding html pages for a website, the line spacing of the text content is probably one of attributes that is usually left as default. Most of the time, you do not even think about it and the default works the best. The line spacing or line height is the vertical height between lines of text in a rendered html page….

how to format an usb drive in fat16/fat32/ntfs from linux command line

fdisk listing of drive

One of the reasons of having to use an usb drive is to transfer files between different machines, usually with different operating systems. Unfortunately, there are still enough Windows machines out in the wild that reads only specific file systems in formats such as FAT32 or NTFS. This means you will need to format your USB drives in formats that is…