Multiple choice technology operating systems

cp -p $AXA_BA_ENVPATH/$1/$f $AXA_BA_ENVPATH/$2 -p stands for

  1. Copy and print the contents

  2. Preserve the characteristics of the source_file. Copy the contents, modification times, and permission modes of the source_file to the destination files.

  3. Copy and purges the files

  4. All of the above

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The -p option in the cp command preserves the source file's original attributes, including modification times, access times, file permissions, and ownership, instead of using default settings.