Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
How would I go about watching /dev/pts/x and still let his commands go through? If I cat it then he doesn't recieve any stdout. This has been bothering me for quite some time, and your help is appreciated. Thanks.
I think I've solved the problem. The command 'cat /dev/pts/0 | tee -a pts0log' will work, to log it to a file. Tee takes input and writes to a find and prints to stdout. Well, I guess I'll test it.
If you want to watch a specific connection live, use screen. It allows you to watch a user in real time. man screen, and google screen user's guide. (It has a chapter on multiple users.)
Otherwise I'm not aware of any way to 'watch', in real time, a random login.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.