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

Зміст курсу

Linux Terminal and Bash for Beginners

Linux Terminal and Bash for Beginners

1. File System
2. Users and Permissions
3. Data Redirection
4. Bash Scripting

book
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?
What would happen if you executed the following command while in the `/home` directory?

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

Виберіть правильну відповідь

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

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

Виберіть правильну відповідь

Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 1. Розділ 3
We're sorry to hear that something went wrong. What happened?
some-alt