LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 01-20-2004, 08:06 AM   #1
RedRabbit
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,

Gary.
 
Old 01-20-2004, 08:21 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
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.
 
  


Reply


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 LinuxQuestions.org Member Intro 1 12-28-2004 10:53 PM
Checking In. trophyofgrace LinuxQuestions.org 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 03:51 AM.

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