LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 06-11-2010, 10:03 AM   #1
meandsushil
Member
 
Registered: Feb 2010
Posts: 143

Rep: Reputation: 14
Unhappy Can i make my messages directly appear at command prompt of client?


HI ALL EXPERTS!

CAN I MAKE MY MESSAGES DIRECTLY APPEAR AT COMMAND PROMPT OF CLIENT FROM SERVER?

NORMALLY WE TYPE

tailf /var/log/messages

to see messages sent by other machine.

so can I send my messages directly at command prompt?
 
Old 06-11-2010, 10:13 AM   #2
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
Are you referring to sending a message from one user to another, both logged into the same machine, on the console? If so, use the `write` command. It does exactly that, and there's another thread around here somewhere where I showed an example of how to do it; if you cannot find it, or can't get it to work, or if this is totally not what you are wanting, I'll (or someone) will try to help more, just clarify if necessary (like maybe you wish to have the system log(s) from the server appear directly onto a console screen on a remote machine? The word "messages" is a bit misleading here -- it implies the /var/log/messages file as you mentioned, but might also mean user-user messages. I'd think it'd not be enjoyable to log into a server, and then the server starts filling your console with messages!)

So, anyhow, please clarify a little bit which it is you wish to do.

Sasha
 
Old 06-11-2010, 11:16 AM   #3
nuwen52
Member
 
Registered: Feb 2009
Distribution: CentOS 5, Gentoo, FreeBSD, Fedora, Mint, Slackware64
Posts: 205

Rep: Reputation: 46
Is this what you want?
Code:
ssh <server> tail -f /var/log/messages
This only works if the client machine has ssh (obviously).

If not, as mentioned by GrapefruiTgirl, please clarify your question.
 
  


Reply

Tags
at, command, directly, messages, prompt


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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Thin Client boot logo and command prompt an0nymous Linux - Software 3 06-18-2009 03:41 PM
error messages after login in command prompt.. kirtikjr Linux - Software 2 07-13-2007 11:11 AM
Cisco VPN client connects no command prompt kender Linux - Networking 1 09-06-2006 07:34 AM
making a secure client/server connection with command prompt williamp0044 *BSD 4 03-06-2004 08:43 AM
Boot to command prompt directly josejohn Red Hat 5 11-26-2003 07:24 PM


All times are GMT -5. The time now is 03:56 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