📖 Scenario: You want to learn how to open the terminal on your Linux computer and run simple commands to see how it works.
🎯 Goal: Learn to open the terminal, check your current folder, and list files inside it.
📋 What You'll Learn
Open the terminal application
Use the pwd command to show the current folder
Use the ls command to list files in the current folder
💡 Why This Matters
🌍 Real World
Opening and using the terminal is the first step to controlling your computer with commands. It helps you manage files, run programs, and automate tasks.
💼 Career
Many jobs in IT, programming, and system administration require using the terminal to work efficiently and solve problems.
Progress0 / 4 steps
1
Open the Terminal
Open the terminal application on your Linux computer. You do not need to type anything yet.
Linux CLI
Hint
Look for an app called 'Terminal' or press Ctrl + Alt + T to open it.
2
Show Current Folder
Type the command pwd and press Enter to show your current folder path.
Linux CLI
Hint
The pwd command means 'print working directory'. It shows where you are in the folder system.
3
List Files in Current Folder
Type the command ls and press Enter to list all files and folders in your current folder.
Linux CLI
Hint
The ls command lists files and folders in the current folder.
4
View the Output
Look at the output of the pwd and ls commands you typed. This shows your current folder path and the files inside it.
Linux CLI
Hint
The output should show a folder path like /home/yourname and a list of files or folders.
Practice
(1/5)
1. What is the main purpose of opening a terminal on a Linux system?
easy
A. To type commands to control the computer
B. To watch videos
C. To browse the internet
D. To play music
Solution
Step 1: Understand what a terminal does
The terminal allows users to type commands to control and manage the computer.
Step 2: Compare options with terminal use
Watching videos, browsing internet, and playing music are done with other apps, not the terminal.
Final Answer:
To type commands to control the computer -> Option A
Quick Check:
Terminal = command control [OK]
Hint: Terminal is for commands, not media [OK]
Common Mistakes:
Thinking terminal is for media
Confusing terminal with GUI apps
Not knowing terminal controls computer
2. Which of the following commands correctly opens a new terminal window in most Linux desktop environments?
easy
A. gnome-terminal
B. open-terminal
C. start-terminal
D. launch-term
Solution
Step 1: Identify common terminal commands
The command gnome-terminal is the standard way to open a terminal window in GNOME desktop.
Step 2: Check other options
Commands like open-terminal, start-terminal, and launch-term are not standard Linux commands.