Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 01-20-2004, 08:06 AM   #1
LQ Newbie
Registered: Dec 2003
Posts: 6

Rep: Reputation: 0
Checking if you are on the internet

Guys, could you please tell me if there is an easy way to check if you are online. I already know about PING, but i want something that i could do without having to ping any host. Can you not just say to your modem ("Are you connected to the internet?").

I am trying to build a bash program to count how long you have been online for.

Any help is appreciated,

Old 01-20-2004, 08:21 AM   #2
Bruce Hill
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL
Distribution: Gentoo / Funtoo
Posts: 6,926

Rep: Reputation: 126Reputation: 126
LQ Rules I just read this same question from you in another post, didn't I?

Last edited by Bruce Hill; 01-20-2004 at 04:20 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Checking In PitCritter Member Intro 1 12-28-2004 10:53 PM
Checking In. trophyofgrace Member Intro 1 11-27-2004 02:32 PM
C - checking internet connection szparag Programming 4 10-27-2004 03:07 PM
just checking... bandofmercy Linux - Hardware 3 03-28-2003 08:30 PM
just checking... bandofmercy Linux - Hardware 1 03-28-2003 08:26 PM

All times are GMT -5. The time now is 04:34 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration