How to change character encoding of a text file on Linux

Question: I have an “iso-8859-1”-encoded subtitle file which shows broken characters on my Linux system, and I would like to change its text encoding to “utf-8” character set. In Linux, what is a good tool to convert character encoding in a text file? As you already know, computers can only handle binary numbers at the […]
Continue reading…

 

How to create a video DVD on Linux desktop

Question: I want to create a video DVD from MP4 movie files. Is there an open-source DVD authoring tool that I can use to create a video DVD in the Linux desktop environment? DeVeDe is an open-source (GPLv3) DVD authoring software that allows you to create video DVD, VCD, SVCD or DivX from any number […]
Continue reading…

 

How to change date and time from the command line on Linux

Question: In Linux, how can I change date and time from the command line? Keeping the date and time up-to-date in a Linux system is an important responsibility of every Linux user and system administrator. Many applications rely on accurate timing information to operate properly. Besides, inaccurate date and time render timestamp information in log […]
Continue reading…

 

How to detect and patch Shellshock vulnerability in bash​​

Question: I would like to know how to test whether or not my Linux server is vulnerable to bash Shellshock bug, and how to protect my Linux server against the Shellshock exploit. On September 24, 2014, a bash vulnerability nicknamed “Shellshock” (aka “Bashdoor” or “Bash bug”) was discovered by a security researcher named Stephane Chazelas. […]
Continue reading…

 

How to create a MySQL database from the command line

Question: I have a MySQL server up and running somewhere. How can I create and populate a MySQL database from the command line? To create a MySQL database from the command line, you can use mysql CLI client. Here is a step-by-step procedure to create and populate a MySQL database using mysql client from the […]
Continue reading…