Copying files from BackTrack to flash drive

I have had a number of questions from rookie Linux users as to how to copy files from BackTrack to a USB flash drive so here it is.

  1. Create a mounting point directory under the /mnt folder using the mkdir command such as “mkdir /mnt/usbflash”.
  2. Mount the usb flash drive to this mount point using the mount command such as “mount /dev/sdb1 /mnt/usbflash”.
  3. Copy files using the cp command such as “cp /pentests/exploits/framework3/output.exe /mnt/usbflash/output.exe”.
  4. Unmount the usb drive using the umount command such as “umount /mnt/usbflash”.

The key with this is knowing what device the Linux distribution you are working with will designate your usb flash drive as. In the case of this example it was /dev/sdb1. You can use the mount command with no options to show a listing of devices.

About these ads

0 Responses to “Copying files from BackTrack to flash drive”



  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




Categories

Twitter Updates


Follow

Get every new post delivered to your Inbox.

%d bloggers like this: