Project work often moves between source files and shell commands. On the Linux desktop, Eclipse IDE can open a local shell in its integrated Terminal view so your project stays in sight while you work at the prompt.
The project you choose in Project Explorer sets the shell's starting directory. That directory is the project's location on disk, which can be outside the workspace folder if you imported the project in place.
The local shell runs under your Linux desktop account. Commands can use the tools installed on your machine and access project files with that account's usual permissions.
Start with your project open and visible in Project Explorer in an Eclipse installation that includes the local Terminal connector. Have the project's full path on disk handy for the final check. The images use a project named hello in the eclipse-workspace workspace.
If the Install Java 27 Support notice is visible, Remind Me Later dismisses it without installing Java support. Start at step 1 once the workbench is ready.
Steps to use the integrated terminal in Eclipse:
- Right-click your project in Project Explorer.

- Point to Show in Local Terminal in the project menu.

- Select Terminal from the submenu.

- Drag the divider above the Terminal view upward to make room for the command and its output.

- Run
pwdat the shell prompt in the Terminal view. Example output:/home/reader/eclipse-workspace/hello
- Confirm that the path printed in Terminal matches your project's location on disk.
The
helloproject prints/home/reader/eclipse-workspace/hello. The next shell prompt is ready for another command in that directory.