Interesting pop quiz

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Alan Dayley
Date:  
To: Main PLUG discussion list
Subject: Interesting pop quiz
I found this question an interesting exercise to answer. It is a real
question that came up the other day.

You are logged in as root in a bash shell. You issued the following
commands:

mount /dev/sda1 /mnt
cd /

Your goal is to copy your current file and directory structure onto the
sda1 partition. You can issue one of two commands.

A. cp -avx * /mnt
B. cp -avx / /mnt

Quiz: Describe the difference between the results you will get from each
of the above commands, A and B. Which will accomplish the stated goal?

(Behold, the power of the Linux command line!)

Alan
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss