FYI for FreeBSD the driver only supports block size chunks, therefore:
dd if=/dev/cd0 of=/name-the.iso bs=2048Download a file wget
-
**
-
Downloading a file**
wget - Used to download a file. This image we can use as a real life example, it is a local 5k image.
First cd to the tmp directory**cd /tmp
** Usage : wget file.jpg
Example: **wget http://limeit.us/public/random-images/limeit.jpg
**
**
-
Copy files**
cp - Used to copy files or directories from one location to another. We can use the above example for this.
Usage: cp file newlocation
Example: **cp /tmp/limeit.jpg /var/www/httpdocs
**To move ALL files from one directory to another
Example: **cp /tmp/files/* /var/www/httpdocs
** (the “*” tells the machine to copy everything in /tmp/files to /var/www/)
Check your man pages for more information on the cp command**man cp
**
-
-