Home > Uncategorized > How to Logout User from remote pc

How to Logout User from remote pc

How to Logout User from remote pc

just log in by ssh.

#assume for lan
ssh prosun@192.168.0.93
killall -u prosun
#the above line will kill all processes of prosun user, eventually make the logged out.

***
Trap writing of one terminal into another terminal

on first terminal ( this terminal is /dev/pts/0 )
cat /dev/pts/1

Then open a second terminal and write on that terminal ( /dev/pts/1)

Now everything written on /dev/pts/1 will automatically come to /dev/pts/0

***
banner Happy Birthday Mitra

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: