How to use Diff command to create Patch?

This article shows how you can create a diff patch file that can be used in Git repositories. The diff command line tool shows the difference between the two files. Such a difference between the two files is called a patch. The diff syntax is: diff [options] [original filename] [changed filename] diff [options] [original directory] … Read more

FFMPEG: Convert & Edit Video via Command Line

FFMPEG is a free software that lets you create/edit/convert videos via command line. You can download and install FFMPEG for Linux, Windows, and Mac Operating System. FFMPEG provides a lot of features that you can apply to an video like: – get detailed information of the video – record video – convert video to audio … Read more

ImageMagick: Convert/Edit Multiple Images

This article shows how you can edit multiple images with a single command using ImageMagick. Convert Single Image We can use the convert program to edit single image. For example, We can convert an image from one format to another: convert input.png output.jpg Or, we can resize any image: convert input.png -resize 50% output.png Convert … Read more

ImageMagick: Convert & Edit Image via Command Line

ImageMagick is a free software that lets you create/edit/convert images via command line. You can download and install ImageMagick for Linux, Windows, and Mac Operating System. ImageMagick provides a lot of features that you can apply to an image like: – get detailed image information – resize, crop image – flip and rotate image – … Read more

Ubuntu Linux: Increase decrease volume from command line & keyboard shortcut

Here are some linux commands (pactl and amixer) to increase and decrease volume. You can also use these commands to set keyboard shortcut to increase and decrease volume. pactl pactl command is used to control a running PulseAudio sound server. Increase volume by 10% pactl — set-sink-volume 0 +10% Decrease volume by 10% pactl — … Read more

Linux: Convert Video to Audio using FFmpeg

You can convert any video file to audio format (extract audio from video) with the help of FFmpeg tool. FFmpeg is a complete, cross-platform solution to record, convert and stream audio and video. It includes libavcodec – the leading audio/video codec library. Installing FFmpeg on Ubuntu Linux sudo apt-get install ffmpeg libavcodec-extra-53 Note that you … Read more

Xubuntu iBus: Unable to type in local language / No input method listed

Problem: I am using Xubuntu (lightweight version of Ubuntu) and I am unable to type in local language using iBus (an input method (IM) framework for multilingual input in Unix-like operating systems). iBus is already installed. When I go to its ‘Preferences‘ and then click the ‘Input Method‘ tab, I could only see ‘Chinese‘ language … Read more