Pages

 

Thứ Ba, 13 tháng 8, 2013

Basic Backtrack Commands


How to Login in BackTrack:

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

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 192.168.1.8
root@bt:~# route add default gw 192.168.1.1
root@bt:~# echo nameserver 192.168.1.1 > /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}
passwd: password updated successfully
root@bt:~#

How to start services?

root@bt:~# /etc/init.d/openvpn start
Starting Virtual private network daemon(s)…
root@bt:~# /etc/init.d/openvpn stop

How to check kernel version?

Use the uname -a as show below

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 <package< b="" style="margin: 0px; padding: 0px; ">> Shows a lot more detail about , and its relationships to other packages.</package<>

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

Will come back to you soon with detailed Backtrack tutorials...
Share this post
  • Share to Facebook
  • Share to Twitter
  • Share to Google+
  • Share to Stumble Upon
  • Share to Evernote
  • Share to Blogger
  • Share to Email
  • Share to Yahoo Messenger
  • More...

Nhận Tin Qua Email

Cùng tham gia với hơn 1500 người đã đăng ký nhận tin qua Email với các Tin mới nhất,Nóng nhất trong ngày cập nhật liên tục 24h trên Tintuc.tv từ các Báo Mạng uy tín của Việt Nam!

Khi đăng ký nhận tin,Bạn sẽ nhận được Email từ chúng tôi.Đăng nhập email để hoàn tất quá trình đăng ký.

0 nhận xét

:) :-) :)) =)) :( :-( :(( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ :-$ (b) (f) x-) (k) (h) (c) cheer

TÀI KHOẢN

Chuyển Khoản :

CHI NHÁNH HCM 10 VÕ VĂN KIỆT QUẬN 1

VIETCOMBANK

SÔ TK : 0071000785618

TÊN TK : VŨ HUỲNH ANH

PHÒNG GIAO DỊCH 07

460 CÁCH MẠNG THÁNG 8 P11 Q3

TƯ VẤN MIỀN NAM


Mr. vũ – 092.295.2095
Mr. vũ

nick yahoo BYG


Mr. Sun

nick yahoo support1






Bài viết hot

FOLLOW US ON FACEBOOK :P

Blog Archive

 
Posts RSSComments RSSBack to top
Copyright © 2013 by CHIA SẼ VÌ CỘNG ĐỒNG ∙ Templated by Tin tuc 24h.
Tin tức thời sự cập nhật liên tục 24h từ các báo mạng uy tín Việt Nam.