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
afc47c1d
Commit
afc47c1d
authored
4 months ago
by
alexis.dereeper_ird.fr
Browse files
Options
Downloads
Patches
Plain Diff
Update bash-3-navigating.md
parent
86fb7aaf
No related branches found
No related tags found
No related merge requests found
Pipeline
#39165
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-3-navigating.md
+5
-3
5 additions, 3 deletions
docs/pages/bash/bash-3-navigating.md
with
5 additions
and
3 deletions
docs/pages/bash/bash-3-navigating.md
+
5
−
3
View file @
afc47c1d
...
...
@@ -45,14 +45,16 @@ The `ls` command allows to list the content of a directory.
??? example "Click to show the solution"
`ls`
Check if you can see the {{extra.working_directory}} directory.
Check if you can see the
`{{extra.working_directory}}`
directory.
!!! question "Can you list the files and directories present inside the
`{{extra.working_directory}}`
directory?"
??? example "Click to show the solution"
`ls {{extra.working_directory}}`
## Change directory (cd)
If you see {{extra.working_directory}} you can move in it using the
`cd`
command. This command means
`Change Directory`
.
If you see
`
{{extra.working_directory}}
`
you can move in it using the
`cd`
command. This command means
`Change Directory`
.
```
bash
cd
{{
extra.working_directory
}}
...
...
@@ -63,7 +65,7 @@ cd {{extra.working_directory}}
??? example "Click to show the solution"
You can look at your prompt or check with the
`pwd`
command.
## List files
and directorie
s (ls -F)
## List files
with option
s (ls -F)
!!! question "How you differentiate between a file and a directory? Run the
`ls`
command if you are unsure."
...
...
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