Today : | at : | Safemode : ON
> Det_Not Hacker | White Hat Aliance | Angkasa Hacker Team | Indonesia | Satu Gertakan Untuk Pertahankan Bumi Pertiwi | Safework of Angkasa Pura database, server MIL.ID | Thanks for all support : BD Green Hat, Nation blood, ID Codding, Jakarta Style cracking, Newbie's HACKER, US ortodox specialist | Learn your skill here with our style.
Title Author Perms Comt Modified Category
Showing posts with label basic. Show all posts
Showing posts with label basic. Show all posts

Linux Basic Command on Backtrack 5 R3 Unknown rwxr-xr-x 0 21:40

Title Linux Basic Command on Backtrack 5 R3
Permission rw-r--r--
Author Unknown
Date and Time 21:40
Category
Share
Backtrack 5 R3 is one of the Linux operating system so we can operate Backtrack with Linux common command. Learning Linux operating system is very easy and you must familiar with the unix commands if you want use Backtrack 5 R3. Here I am post some common Linux commands which will be used on Backtrack 5.


ls
Used to listing the files in a directory
ls /usr/local/bin
Used to listing the files in a specific directory (/usr/local/bin)
Displaying the contents of a file
cat filename.txt
Changing the directories
cd /var/tmp
Creating new file
touch filename.txt
Copying file
cp /source/file/dir/filename /target/file/dir/filename
Creating a directory.
mkdir directoryname
Renaming file
mv oldfile.txt newfile.txt
Moving file
mv file.txt target/dir/
Finding the number of lines in a file
wc logfile.txt
Showing your active dir
pwd
Removing file
rm file name
If you want more information about basic command in Backtrack you can read my previous article about Backtrack 5 common command or Basic command for installing package

How to Install Package on Backtrack 5 Unknown rwxr-xr-x 0 21:25

Title How to Install Package on Backtrack 5
Permission rw-r--r--
Author Unknown
Date and Time 21:25
Category
Share
After I post about Backtrack 5 Basic Common Commands now I will share about basic commands about installing package. We can install package from repository or install it manually (if you downloaded the package). If the application available on the Backtrack repo, you just install it with the apt commands but if the package not listed on the repo you must download it and install it manually (use dpkg command). Here are the basic commands
apt basic commands can find on my post before Backtrack 5 Basic Common Commands and the dpkg basic command I listed below


dpkg -i <package.deb>

Installs a package file

dpkg -c <package.deb>

Lists the contents of <package.deb>

dpkg -I <package.deb>

Extracts package information

dpkg -r <package>

Removes an installed package

dpkg -P <package>

Purges an installed package (purge will deletes all configuration files)

dpkg -L <package>

Gives a listing of all the files installed by <package>

dpkg -s <package>

Shows information on the installed package

dpkg-reconfigure <package>

Reconfigures an installed package

Backtrack 5 Common Commands [Basic] Unknown rwxr-xr-x 0 21:21

Title Backtrack 5 Common Commands [Basic]
Permission rw-r--r--
Author Unknown
Date and Time 21:21
Category
Share
Backtrack 5 build under Linux machine so the commands is same as the other Linux OS (Ubuntu, Debian, Fedora, Linux Mint, etc). If you are using Linux before you won't difficulty using Backtrack 5. But if you are a newbie / beginner on Linux world and want learn about Backtrack here are some help for me, the Backtrack 5 Basic Command.
The default username and password of Backtrack is root/toor but if you want to change the password you can run this command and type your new password.

passwd

Now the common commands of installing a program

apt-get install <package>


Downloads <package> and all of its dependencies, and installs them.

apt-get remove [--purge] <package>

Removes <package> and any packages that depend on it.

apt-get update

Updates packages listings from the repo.

apt-get upgrade

Upgrades all currently installed packages.

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 <pattern>

Searches packages and descriptions.

apt-cache show <package>

Shows the full description about the package.

apt-cache showpkg <package>

Shows a lot more detail about package.

man apt

Give more info on these commands. Man command shows the manual page of command
Powered by Blogger.