Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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, 09: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, 09:21 AM   #2
Bruce Hill
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Fedora, Gentoo, Ubuntu (all servers at work are openSUSE)
Posts: 6,931

Rep: Reputation: 128Reputation: 128
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 05: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 11:53 PM
Checking In. trophyofgrace Member Intro 1 11-27-2004 03:32 PM
C - checking internet connection szparag Programming 4 10-27-2004 04:07 PM
just checking... bandofmercy Linux - Hardware 3 03-28-2003 09:30 PM
just checking... bandofmercy Linux - Hardware 1 03-28-2003 09:26 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:33 AM.

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