Linux for Beginners: Basic Linux Commands and Shell Scripting by Booth Travis

Linux for Beginners: Basic Linux Commands and Shell Scripting by Booth Travis

Author:Booth, Travis [Booth, Travis]
Language: eng
Format: epub
Published: 2019-10-06T16:00:00+00:00


Copy a file to the present working directory using the relative path. Here we will use ‘.’ to denote the pwd.

Recursively copy files and folders

Example : cp -R copies the folder snapt with files to snipt.

Let’s copy a set of files recursively from one directory to its sub directory.

Command : cp -R ./Y/snapt/test* ./Y/snopt

This is my desktop. I have these files in the Y directory on Desktop. I want to copy test1.txt and test2.txt from Y to snopt directory. After executing the command,

How to use wildcards? We already used it in this example, haven’t we?



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.