Category Archives: Linux

How to Flush DNS.

If you are running into a lot of “Page Not Found” errors and you know you’re connected to the internet, try flushing your DNS cache to have your computer request new information.
Open the command prompt and type ipconfig /flushdns and press key Enter.
Because most of computers that are connected to the internet automatically cache the hostname of the websites you have visited to make reloading the pages faster than if there was no cache.
If you used Linux OS then just use this: service restart network-manager and press key Enter. This will flush your fucking DNS.

Posted in All, Linux, Windows 10. Tagged with , , , .

Fix Bash vulnerability under Linux OS .

If some Bash code outside of the curly brace then it will then be executed by the linux system.

If your system is vulnerable, it will then output:

How Do You Fix It ?
Just open up a terminal, and type:

or under Fedora with :

Posted in All, Commands, Linux. Tagged with , , , .

Calibre – best application to read your books.

I wrote about this application because I used often when I read books, programming books or documentation
Calibre is an open source e-book tool that allows you to:

      • organize your e-book library
      • convert e-books to various formats
      • interact with your e-book reader
      • Library Management
      • E-book conversion
      • Syncing to e-book reader devices
      • Downloading news from the web and converting it into e-book form
      • Comprehensive e-book viewer
      • Content server for online access to your book collection
      • E-book editor for the major e-book formats

Also can be used with Windows , Linux , Macintosh or calibre portable build can be run on any windows computer.
This is one screenshot , you can also customize this application.
calibre

Posted in All, Linux, Windows 7, Windows 8, Windows XP. Tagged with , , , , , , , , , .

Sort files with ls by last modified date and time.

The ls –help come with this args :
-t sort by modification time, newest first
You need to pass the -t option to the ls command to sort by time modified.

Also if you want to reverse the order of the sort then use -r option.

Let see one example:

with iso time style

with full-iso time style

with long-iso time style

Posted in All, Commands, Linux. Tagged with , , .

How to convert mkv file into avi file format with ffmpeg.

This is very simple. You need to use ffmpeg tool.
If your file is named my_file.mkv then use this command:
ffmpeg -acodec copy -vcodec copy -i my_file.mkv out_file.avi
The output will be out_file.avi with directly copy the audio and video streams from the mkv to an avi .

Posted in All, Commands, Linux, Windows 7, Windows 8, Windows XP. Tagged with , , , , , , .