Monday, 22 July 2013

To Break Password of root on Linux ( Centos, Redhat, Fedora, etc ) .



To enter single-user mode, reboot your computer. If you use the default boot loader, GRUB, you can enter single user mode by performing the following:
  1. At the boot loader menu, use the arrow keys to highlight the installation you want to edit and type [A] to enter into append mode.
  2. You are presented with a prompt that looks similar to the following:
    grub append> ro root=LABEL=/
  3. Press the Spacebar once to add a blank space, then add the word single to tell GRUB to boot into single-user Linux mode. The result should look like the following:
    ro root=LABEL=/ single
  4. Press [Enter] and GRUB will boot single-user Linux mode. After it finishes loading, you will be presented with a shell prompt similar to the following:
    sh-2.05b#
  5. You can now change the root password by typing
    sh-2.05b# passwd root
    You will be asked to re-type the password for verification. Once you are finished, the password will be changed. You can then reboot by typing reboot at the prompt; then you can log in to root as you normally would.

    Enjoy , if  you like my blog . please write the comment .

    Ravi ranjan kr singh

    " If  you like the blog please write the comment "

    Ravi Ranjan Kr Singh
    If you like my blog than please Donate

    PAYTM 

Take Backup through script on linux



Through this script , we can take backup of file , folder , any drive etc 

Create a folder to take backup . For Example :-

$mkdir ~/backup/
$cd  /usr/local/bin/
$vi backup.sh
***********************************************************************************
***********************************************************************************
         #!/bin/bash
         # A script for backing up any file & folder
         # First argument : The directory to be backed up
         # Second argument : The location to back-up to.
                        ORIG=$1
                        BACK=~/backups/

          if [ -e $BACK ]
          then
                        echo "WARNING:$BACK exists"
                        read -p "Press Ctrl+c to exit or Enter to Proceed:"
          fi
          cp -av $ORIG $BACK
          echo "Backup of $ORIG to $BACK completed at:$(date)"


       :wq
************************************************************************************
************************************************************************************
$ chmod 755 backup.sh
$ backup  (Path of file & folder Only )
$ cd  ~/backup/
$ ls -l                                             ( Your all backup in this folder )


*********************************************************************************
**************************************Enjoy *************************************
*********************************************************************************

Enjoy , if  you like my blog . please write the comment .


Ravi Ranjan Kr Singh
If you like my blog than please Donate

PAYTM 

Sunday, 21 July 2013

How to install teamviewer on Ubuntu 12.04 step by step ?

How to install teamviewer on Ubuntu 12.04 step by step ?


It is used to remote access one system to another system through internet anywhere in the world .

If you want to take remote of your friend system , than you need to install TeamViewer both the system . If you install teamviewer in your system or friend system , than you see that automatically gerate user ID or Password 

Open the terminal and type the following command

# sudo wget http://www.teamviewer.com/download/teamviewer_linux.rpm

                                                       OR 
we can visit to the site for manually downloading the .deb.

http://www.teamviewer.com/en/download/linux.aspx



Change the permission

# chmod 777  teamviewer_linux_x64.deb


Than Double click on "teamviewer_linux_x64.deb" , if you click on deb package . It is
automatically open "Ubuntu Software Center"  .



Click on install put the password , it will take few minutes to install all packages .
when your teamviewer is install follow some steps Application>internet>teamviewer



Take Teamviewer user ID or Password of your friend system . Put your friend user ID 
in "Partener ID" when you connect than it ask password "Put your friend password "

Now you can see that friend desktop . You can do any thing on your friend desktop .






Enjoy , if  you like my blog . please write the comment .


Ravi ranjan kr singh

" If  you like the blog please write the comment "

Saturday, 20 July 2013

Convert gsm to mp3 on ubuntu

Convert gsm to mp3 on ubuntu


Visit Our video Link on youtube.com

https://www.youtube.com/watch?v=Tq7QwlT_FOs
 https://www.youtube.com/watch?v=Tq7QwlT_FOs






Enjoy , if  you like my blog or vedio . please write the comment .


Ravi ranjan kr singh

" If  you like the blog please write the comment "

Ravi Ranjan Kr Singh
If you like my blog than please Donate

PAYTM 

How to find port number on ubuntu , centos , redhat ?

How to find port number on ubuntu , centos , redhat  ? 


How to see port no of  FTP, HTTP, SSH etc
Open terminal type a command , 
#cat /etc/services |grep ftp
 #cat /etc/services | grep http

 #cat /etc/services | grep ssh
We can see that all port number , type the command

#cat /etc/services







Enjoy , if  you like my blog . please write the comment .


Ravi ranjan kr singh

" If  you like the blog please write the comment "


Ravi Ranjan Kr Singh
If you like my blog than please Donate

PAYTM 




Linux Solutions

How to install Xvidcap on ubuntu 13.04 or 12.04 step by step ?

To install Xvidcap on ubuntu 13.04 or 12.04 step by step Xvidcap is desktop movement capture tool to convert on video format . This soft...