mirror of
https://github.com/bregman-arie/devops-exercises.git
synced 2026-02-05 16:19:10 +00:00
541 B
541 B
Copy Time
Objectives
- Create an empty file called
xin/tmp - Copy the
xfile you created to your home directory - Create a copy of
xfile calledy - Create a directory called
filesand movexandythere - Copy the directory "files" and name the copy
copy_of_files - Rename
copy_of_filesdirectory tofiles2 - Remove
filesandfiles2directories
Solution
touch /tmp/x
cp x ~/
cp x y
mkdir files
cp x files
cp y files
cp -r files copy_of_files
mv copy_of_files files2
rm -rf files files2