LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-19-2002, 11:49 AM   #1
Moeses
LQ Newbie
 
Registered: Jun 2002
Location: Pacific Northwest
Posts: 2

Rep: Reputation: 0
Unhappy cat Command


I am working for a corporation in Washington. We have a bunch of mahcines that are using LINUX as their operating systems. This is my first exposure to the OS so I am still trying to figure it out. My question has to deal with the 'cat' command. We are trying to view a port that has a reciever on it and it is constantly recieving reads from a transmitter nearby. We are using the 'cat' command to view the port but this command times out after a certain amount of time. I was curious as to if there is a way to either extend the timeout period of the command, or if there is a different or more efficient command to use to look at the port. Any suggestions or insight is greatly appreciated by me.
Thanx

We use the 'tail -f' command to look at the logs created by our machines. We tried to use it to view the port but it does not work. I am pretty sure that the 'tail' command is pretty much strictly for text.

Last edited by Moeses; 06-20-2002 at 10:35 AM.
 
Old 06-20-2002, 03:27 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
maybe you would get a better result from using "tail -f" i think. it will stay open permanently and output the end of the file as and when it changes for forever
 
  


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
MSDOS version for cat command frankie_DJ General 9 07-22-2005 08:08 AM
cat command for text files minm Linux - Newbie 5 07-03-2005 12:32 AM
how to run cat command in silent mode user_linux Linux - Newbie 4 06-16-2005 10:21 AM
cat command juanb Linux - Newbie 4 08-19-2004 11:14 AM
what are the limits to the 'cat' command? Frybyte Linux - General 12 04-22-2004 04:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration