Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8230961
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T17:18:53+00:00 2026-06-07T17:18:53+00:00

I have written a bash script that writes my computer’s current dynamic ip address

  • 0

I have written a bash script that writes my computer’s current dynamic ip address to a file which I have set to be synced to my Dropbox account using dropbox client on ubuntu.
The file which I’m syncing is an HTML file which on parsing shows some static text and a link to my computer’s ip-address.

Dropbox allows to create a static link to that file and distribute it to anyone. But problem is that when I open that link from anywhere, It first shows the link to download this file, on reloading the page it shows as it text of the file with all those html tags…

I want to parse that dropbox file as html, so that opening the file will show me a webpage consisting of a link to my current IP address.

Is it possible to do this with dropbox? then how ?
is there any other service which allows it? If yes then do they provide client for ubuntu or need to write some code for that..?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T17:18:55+00:00Added an answer on June 7, 2026 at 5:18 pm

    Inferring what the real problem is – you might look into a dynamic-dns service.

    http://dnslookup.me/dynamic-dns/

    If you have your own domain, you can then CNAME a host within your domain, say ‘home.example.com’ to the ddns service’s obscure hostname ‘yourusername.ddns.example.com’. Then set up your bash script to keep the ddns service up-to-date.

    No need to futz with html files, just reference home.example.com in your links, and they will (almost) always point to the right IP.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have written a bash script which installs a number of packages, however for
I have written a small bash script which needs an ssh tunnel to draw
I have written a bash script that gets three paths based on input parameters
I have a bash script that runs a simulation program written in Fortran 90,
I have written a little bash script that reads commands (one per line), in
I have written a script that gets data from solr for which date is
I have written a bash script, A, that is calling another script, B, over
I have written a raw binary image file into a buffer which is an
I've written a bash script on Cygwin which is rather like rsync , although
I have the following snippet in a bash script written in Solaris 10: printf

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.