Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have been asked to test a web application running inside Tomcat server in Linux Environment.

Regarding this I have a question. After logging in as a user, how can we open a file browser from your current command prompt/terminal?

I have tried firefox (After logging in as a normal user), but it did not work.

share|improve this question

migrated from stackoverflow.com Nov 13 '11 at 12:20

This question came from our site for professional and enthusiast programmers.

closed as not a real question by DragonLord, slhck, Daniel Beck, Wuffers, RedGrittyBrick Nov 13 '11 at 22:28

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.

Please clarify. When you login to a terminal session you are in a kind of file manager. cd, mv, cp, ... Alternatives could be Nautilus, Thunar, or if it's got to be a command line one, Midnight Commander (mc). –  RobinJ Nov 12 '11 at 22:49

2 Answers 2

Are you sure the server even has firefox installed? None of the tomcat-servers I have encountered has had firefox installed (usually not even x-windows).

The usual way to connect directly to a tomcat server is to to point your browser to http://name.of.tomcat.server:8080 or http://ip.of.your.server:8080 (8080 is the default port but can be almost anything really)

share|improve this answer

From command line, you'd start your file manager (or browser) with $PWD following it (firefox $PWD might work, I don't have firefox installed)

$PWD is the current directory in command line.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.