mirror of
https://github.com/bregman-arie/devops-exercises.git
synced 2026-02-05 08:09:13 +00:00
* Update solution.md * Fix typo fixes the typo for linux exercise create_remove * fix typo
544 B
544 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
mv x files | mv y files
cp -r files copy_of_files
mv copy_of_files files2
rm -rf files files2