linux bash copy paste file code example
Example: copy and paste file in linux shell
# use cp for copy pasting BOTH files and folders in linux shell
cp source_file target_file
cp source_dir target_dir
# use cp for copy pasting BOTH files and folders in linux shell
cp source_file target_file
cp source_dir target_dir