Updating Backtrack 5
Since Backtrack is based on Ubuntu 10.04 (which is based on Debian), it has the apt-get command. Apt-get is a powerful command-line tool that is used for installing new software packages, updating, and even upgrading the operating system. We will use this command to get the latest version of Backtrack. After logging in to Backtrack, open a terminal (Applications > Accessories > Terminal):root@bt:~# apt-get update && apt-get upgrade && apt-get dist-upgrade
Linux Commands
There are many Linux commands, and they can be used in various combinations. I will list a the basic ones which you should learn if you are new to Linux and Backtrack. Most commands can have parameters which gives them added functionality. To see the parameters, or to learn what a command does, add -h or –help after them.(Example: cat –help).
- cat – This is command is short for “Concatenate” and prints out the standard output
Example: cat filename - cd – Change Director. Switches the current directory you are in.
Example: cd foldername
Example: cd root/Desktop/ - clear – clears the terminal screen.
- ls – List the files and folders within the current directory. (Note that is ‘L’ not ‘i’)
- mkdir – Make Directory. Create a new directory of the given name
Example: mkdir myFolder - ping – Send a packet to a host and waits for a response.
Example: ping -c 4 google.com (The -c 4 parameter limits the ping to 4 counts). - rm – Remove. Removes a file or folder.
Example: rm filename
No comments:
Post a Comment