howto open html using trminal


Results 1 to 7 of 7

Thread: howto open html using trminal

  1. #1
    Join Date
    Mar 2008
    Posts
    22

    Question howto open html using trminal

    good evening,
    I came across a little problem: I downloaded a grub-doc in html format. Its in my /usr/share directory. I can open that html document using gui (open with firefox), but how would I open it using the command line? Im using Ubuntu 8,04. I remember a cmd like gtksudo or something similar. Nontheless how would I do that? thank you...Rich

  2. #2
    Join Date
    May 2002
    Posts
    1,254
    Define open. What are you trying to accomplish?
    Do you want to view the raw html contents?

    gtksudo is a graphical form of sudo. It will allow you to run apps as root in a GUI environment. I would say you already have read permissions.

    In addition this is a duplicate post.

  3. #3
    Join Date
    Mar 2008
    Posts
    22

    open html

    good morning,
    I posted again due to the ambiguous answer on previous post.
    Iam trying to open a html file to read it in human form from the command line. Can this be done? ....Rich

  4. #4
    Join Date
    May 2002
    Posts
    1,254
    So how does starting a new thread with the same question hope for a better answer? And why did you not ask a follow up question in the same thread?
    I am just as guilty for replying.

    I see a couple of options; elinks, lynx and links are command line web browsers but they do not have graphics capabilities. Conversion utilities like html2text (remove the HTML code) are another possibility.

  5. #5
    Join Date
    Jun 2002
    Location
    Michigan
    Posts
    875
    Can't you just view it using nano or vi?

  6. #6
    Join Date
    May 2002
    Posts
    1,254
    The OP has requested human readable form so not unless the HMTL tags etc have been removed.

  7. #7
    Join Date
    Apr 2001
    Location
    SF Bay Area, CA
    Posts
    14,936
    http://www.justlinux.com/forum/showt...187#post886187

    Continue there. DO NOT post a new thread!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •