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
cdcommand 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?
Var alt klart?
Tak for dine kommentarer!
Sektion 1. Kapitel 3
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat
Suggested prompts:
Spørg mig spørgsmål om dette emne
Opsummér dette kapitel
Vis virkelige eksempler
Awesome!
Completion rate improved to 16.67
Changing Directory
Stryg for at vise menuen
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
cdcommand 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?
Var alt klart?
Tak for dine kommentarer!
Sektion 1. Kapitel 3