Sunday, June 21, 2015

Open and close CD / DVD Drive using this trick

0 comments

Open and close (CD / DVD Drive) using this trick

Linux terminal (or Shell language generally) can do many beautiful things such as tricks, whether in terms of benefit of programming, or in terms of tricks and entertainment, and in this lesson we will learn about small code that executes an infinite loop which make the drive (CD / DVD Drive) closes and opens itself repeatedly, and of course will not stop unless you stop your own script, and you will learn about it.

1. First, Create a new text file under any name you want (for example, I I would call it script), at the end of your file name, add .sh 
now the name will be like this : script.sh

Create Document


Script.sh


2. Now, copy the following codes, and paste then in the text file script.sh :

#! / Bin / sh
while [1 = 1]
do
#eject CDROM
eject
#pull CDROM tray back in
eject -t
done

3. Save the file and close it.

4. Go to the File Properties and Permissions tab, check the option appeared in the picture :

allow executing file as program

5. Now run the file, and if this message appears, press Run in Terminal, and now you will see how the drive will still opens and closes on its own, until you stop it.

run in terminal


How do I stop it ? Simply close the terminal window.

     
Read more...

Saturday, May 16, 2015

How to Check MD5 Hash using Terminal

0 comments

How to Check MD5 Hash using terminal

In this post, we will explain how to check the md5sum value on Linux distributions, using the Terminal.

What is MD5 and why  should be validated ?


When you download the ISO file, for example (whether an operating system or program or any other file) it is advisable to test its health, safety and file security, lest there be damaged or corrupted, in this case it's called MD5 Test or hash value (retail), which is about mathematical equation consists of a set of numbers and letters, and the way to verify the equality of the value of the real hash to the given party publisher with the value of the ISO file that is loaded; the higher the ISO file size the greater the need for a testing process to avoid errors during use.

Test Method


There are some different software in the Linux system to verify the integrity of the file and is known to many, but in here we will test the validity through the Terminal, without the need for programs.

1. Open the terminal Ctrl + Alt + T and paste the following command :

cd Downloads

Downloads must be replaced with the name of the folder in which the file to check is allocated in.

2. paste the following command :

md5sum ubuntu-11.10-dvd-i386.iso

Replace ubuntu-11.10-dvd-i386.iso with the desired file.

3. The following result will appear, note that you have produced a hash value :

8044d756b7f00b695ab8dce07dce43e5 ubuntu-11.10-dvd-i386.iso

4. Now you should check matching the number that publisher gave you, with the number that resulted in the terminal, the correspondence with each other, the safe the file is, but if they have not corresponded you must re-download the file again.

5. That's it.

     
Read more...

Wednesday, February 11, 2015

How to Set Chromium into Private (Incognito) Mode by Default

0 comments

How to Set Chromium into Private (Incognito) Mode by Default


If you like Chromium and keeping your browsing private, use Incognito mode. you can always use that mode by clicking "New incognito window" from the menu as the image bellow shows :

New incognito window

Or by just pressing Ctrl + Shift + N.

However here’s a handy trick for always starting Chromium in incognito mode by default.
First, edit Chromium.desktop which is located here /usr/share/applications/chromium.desktop. I"m using nano here, so the command will be :

sudo nano /usr/share/applications/chromium.desktop 

In this code : Exec=chromium %U add --incognito, so It will be Exec=chromium --incognito %U

Now when you open Chromium, It will open in incognito mode.

     
Read more...

Thursday, December 25, 2014

Merry Christmas!!

0 comments


I want to wish everyone a Merry Christmas. I hope everyone is having a very good time with your loved ones these days.
Enjoy!. 


     
Read more...

Friday, November 7, 2014

BlackArch .. a Linux distribution of security and penetration with more than 1,000 tool

0 comments

BlackArch .. a Linux distribution of security and penetration with more than 1,000 tool

After the late death of the Backtrack and some developers went of the distribution to Kali Linux and others have started their own projects .. many security distributions and penetration appeared, today our appointment with the BlackArch distribution, a Linux distribution based on Arch Linux and comes with more than 1,000 tool to protect the free and ready penetration for use directly, making it a good distro for those interested in the field of security information.

Distribution like her mother, is installed via the command line, which also come in several windows system managers like FluxBox, OpenBox and Awesome and Spectrwm, it is very light to reduce consumption, and do not forget, it is based on Arch, which means latest packages and updates.

blackarch awesome

blackarch spectrwm

To download BlackArch or to add to their repository to Arch Linux, see this link.
Have you tried BlackArch before ? How was your experience with it ?

     
Read more...

Release of openSUSE 13.2

0 comments

Release of openSUSE 13.2

The community of OpenSUSE distro announced the release of the final version, 13.2 after months of constant development, the new version comes with several updates, such as the Linux kernel 3.16 and GNOME Desktop 3.14, KDE 4.11 and 4.14,XFCE and the latest stable version of LXDE desktop environment.

Btrfs Filesystem has become is the default filesystem in openSUSE 13.2 for the root (/) while XFS is the default filesystem the Home folder (/ home), which is considered a significant change to the level of performance and speed, in fact, also been several improvements made to the package management application of openSUSE so-called "Yast2" such as removing support for GRUB Legacy and focus on supporting the GRUB 2 just as well to restructure Sticky distribution and make it more automatic in the performance of tasks, as well as to improve the formal aesthetic of the overall distribution and update all packets to the latest versions.

Speaking of KDE, Kda plasma 5 became available in the official repositories for anyone who wants to try it, and KDE 3.5 for those who wants to stay on it, GNOME Shell 3.14 is pre-existing and its applications, interface MATE 1.8 is also available official repository, also have been added several scientific applications to their own official repository such as Pythia and Yoda and Cadabra, in addition to many other features.

To download the version of openSUSE 13.2, click here.

     
Read more...