OK guys Here i am giving you a list of commands for those who want to learn basics backtrack commands.
Check them all if you have any problem in following any command do comment below the comment box.

How to Log in

Once the installation of BackTrack is done, the default username and password required to log in Those are root(username) / toor (password)

How to Open GUI Environment BackTrack

After you are logged in you can start the GUI Environment by issuing the startx command

How to check IP address

root@bt:~# ifconfig

How to Setup IP Address Manually

root@bt:~# ifconfig eth0

root@bt:~# route add default gw

root@bt:~# echo nameserver > /etc/resolv.conf

How to Change the Root Password

root@bt:~# passwd Enter new UNIX password: {enter your new password here}

Retype new UNIX password: {enter your new password again}

How to start services

root@bt:~# /etc/init.d/openvpn start

Starting Virtual private network daemon(s)…

root@bt:~# /etc/init.d/openvpn stop

passwd: password updated successfully

How to check kernel version

Use the uname -a Shows Kernel Version

Common Apt Commands

apt-get install Downloads and all of its dependencies, and installs or upgrades them.

apt-get remove [--purge] Removes and any packages that depend on it. –purge specifies that packages should be purged.

apt-get update Updates packages listings from the repo, should be run at least once a week.

apt-get upgrade Upgrades all currently installed packages with those updates available from the repo. should be run once a week.

apt-get dist-upgrade [-u] Similar to apt-get upgrade, except that dist-upgrade will install or remove packages to satisfy dependencies.

apt-cache search Searches packages and descriptions for .

apt-cache show Shows the full description of .

apt-cache showpkg Shows a lot more detail about , and its relationships to other packages.

man apt Will give you more info on these commands as well as many that are in less common usage.

Common dpkg commands

dpkg -i Installs a package file; one that you downloaded manually, for example.

dpkg -c Lists the contents of a .deb file.

dpkg -I Extracts package information from a .deb file.

dpkg -r Removes an installed package named

dpkg -P Purges an installed package named . The difference between remove and purge is that while remove only deletes data and executables, purge also deletes all configuration files in addition.

dpkg -L Gives a listing of all the files installed by . See also dpkg -c for checking the contents of a .deb file.

dpkg -s Shows information on the installed package . See also apt-cache show for viewing package information in the Debian archive and dpkg -I for viewing package information extracted from a .deb file.

dpkg-reconfigure Reconfigures an installed package

man dpkg Will give you more info on these commands as well as many that are in less common usage.

This is Part 1 I will post more basic commands on backtrack r5 stay connected to learn more on backtrack.

Do share ,comment and likes ..Thanks :)

Post a Comment

Feel Free To Ask Your Query we Love To Answer