Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
unix_tunis
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
hub-courses
unix_tunis
Commits
5011c961
Commit
5011c961
authored
2 years ago
by
Bertrand NÉRON
Browse files
Options
Downloads
Patches
Plain Diff
fix rst syntax in file_system
parent
a7d509e0
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#87640
passed
2 years ago
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
source/Unix/file_system.rst
+13
-13
13 additions, 13 deletions
source/Unix/file_system.rst
with
13 additions
and
13 deletions
source/Unix/file_system.rst
+
13
−
13
View file @
5011c961
...
...
@@ -37,7 +37,7 @@ do you already know a tree structure in biology?
:width: 500px
file system tree structure
=========================
=========================
=
.. figure:: ../_static/unix/images/UnixDirectoryTree.png
:class: align-center
...
...
@@ -272,20 +272,20 @@ mv warning
The **mv** command has not the same effect depending if src and dest are directories or files.
+--------------+-----------+------------------------------------------------------------+
| src type | dest type | action |
+==============+===========+============================================================+
+--------------+-----------+------------------------------------------------------------
=
+
| src type | dest type | action
|
+==============+===========+============================================================
=
+
| one file | file | the src file is renamed into dest file |
| | | beware if dest file already exists it's lost |
+--------------+-----------+------------------------------------------------------------+
| | | beware if dest file already exists it's lost
|
+--------------+-----------+------------------------------------------------------------
-
+
| several file | file | all src files are lost only the last one is renamed as dest |
+--------------+-----------+------------------------------------------------------------+
| file | dir | all src files are moved in dest directory |
| | | dest directory must exists. If not it is consider as a file
|
+--------------+-----------+------------------------------------------------------------+
| dir | dir | all src directories are moved in dest directory |
| | | the dest directory must already exists |
+--------------+-----------+------------------------------------------------------------+
+--------------+-----------+------------------------------------------------------------
-
+
| file | dir | all src files are moved in dest directory
|
| | | dest directory must exists. If not it is consider as a file |
+--------------+-----------+------------------------------------------------------------
-
+
| dir | dir | all src directories are moved in dest directory
|
| | | the dest directory must already exists
|
+--------------+-----------+------------------------------------------------------------
-
+
Exercise:
---------
...
...
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