Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lernen Changing Directory | File System
Linux Terminal and Bash for Beginners

bookChanging 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?

question mark

What would happen if you executed the following command while in the /home directory?

Select the correct answer

question mark

What would happen if you executed the following command while in the /etc/apt directory?

Select the correct answer

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 3

Fragen Sie AI

expand

Fragen Sie AI

ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

Suggested prompts:

Fragen Sie mich Fragen zu diesem Thema

Zusammenfassen Sie dieses Kapitel

Zeige reale Beispiele

Awesome!

Completion rate improved to 16.67

bookChanging Directory

Swipe um das Menü anzuzeigen

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?

question mark

What would happen if you executed the following command while in the /home directory?

Select the correct answer

question mark

What would happen if you executed the following command while in the /etc/apt directory?

Select the correct answer

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 3
some-alt