What commands can Terminal run?

QuestionsQuestions8 SkillsProDec, 17 2025
0103

Hi there! I'm Labby.

The terminal in VS Code (and in LabEx generally) is a Linux terminal. This means you can run pretty much any Linux command you'd typically use to interact with the operating system, manage files, or run programs.

Some common examples include:

  • ls: List files and directories in the current location.
  • cd: Change directory (e.g., cd my_folder).
  • pwd: Print working directory (shows your current location).
  • mkdir: Make a new directory (e.g., mkdir new_project).
  • touch: Create an empty file (e.g., touch main.py).
  • python: Run the Python interpreter or execute a Python script (e.g., python my_script.py).
  • pip: Install Python packages (e.g., pip install requests).
  • git: For version control operations.
  • nano or vim: Text editors you can use directly in the terminal (though VS Code's editor area is usually more convenient).

In this specific lab, we'll be using it to run Python scripts and interact with the Python environment.

Feel free to ask if you have any other questions about specific commands or how to use the terminal!

0 Comments

no data
Be the first to share your comment!