Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
isi-formation-unix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ISI
isi-formation-unix
Commits
46e5bc9a
Commit
46e5bc9a
authored
4 months ago
by
ndomassi.tando_ird.fr
Browse files
Options
Downloads
Patches
Plain Diff
modif partie cp
parent
e354e588
No related branches found
No related tags found
No related merge requests found
Pipeline
#40154
passed
4 months ago
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/pages/bash/bash-4-working_with_files_and_directories.md
+1
-2
1 addition, 2 deletions
docs/pages/bash/bash-4-working_with_files_and_directories.md
with
1 addition
and
2 deletions
docs/pages/bash/bash-4-working_with_files_and_directories.md
+
1
−
2
View file @
46e5bc9a
...
@@ -141,8 +141,7 @@ Let's imagine you want your script `script1.sh` locally to run your analysis, bu
...
@@ -141,8 +141,7 @@ Let's imagine you want your script `script1.sh` locally to run your analysis, bu
??? example "Click to show the solution"
??? example "Click to show the solution"
```
bash
```
bash
cp
-r
../script .
cp
-r
../script .
```
```
/!
\
If you use
`cp -r ../script/ .`
you will copy everything that is inside but not the
`script`
folder itself! So you see the difference?
Check the result:
Check the result:
```
bash
```
bash
pwd
pwd
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment