Changing Directory
Now, let's travel to those directories we discussed in the previous chapter. To navigate to a different directory, we use the cd
command, which stands for "change directory." Let's give it a try!
Task
- Open your terminal.
- Utilize the
cd
command to navigate through various directories such as/
(Root Directory),/etc
(Configuration Files), and the user's directory. - Experiment with different approaches to moving between directories.
1. What would happen if you executed the following command while in the /home
directory?
2. What would happen if you executed the following command while in the /etc/apt
directory?
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 1. Capítulo 3
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo
Suggested prompts:
Pergunte-me perguntas sobre este assunto
Resumir este capítulo
Mostrar exemplos do mundo real
Awesome!
Completion rate improved to 16.67
Changing Directory
Deslize para mostrar o menu
Now, let's travel to those directories we discussed in the previous chapter. To navigate to a different directory, we use the cd
command, which stands for "change directory." Let's give it a try!
Task
- Open your terminal.
- Utilize the
cd
command to navigate through various directories such as/
(Root Directory),/etc
(Configuration Files), and the user's directory. - Experiment with different approaches to moving between directories.
1. What would happen if you executed the following command while in the /home
directory?
2. What would happen if you executed the following command while in the /etc/apt
directory?
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 1. Capítulo 3