<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Two question force logout and copy from buffer in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/two-question-force-logout-and-copy-from-buffer/m-p/6385847#M602964</link>
    <description>&lt;P&gt;Hi Everyone&lt;BR /&gt;1- sometime when I copy every text or command from terminal and paste it in for example notepad it work but sometimes not work!!&lt;/P&gt;&lt;P&gt;2- I use below command for force logout an user from server but when I copy this command to other terminal , not work??&lt;/P&gt;&lt;P&gt;ps -u username | while read a b c^Jdo^Jkill -9 $a^Jdone&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;</description>
    <pubDate>Sun, 23 Feb 2014 06:42:39 GMT</pubDate>
    <dc:creator>Alexo</dc:creator>
    <dc:date>2014-02-23T06:42:39Z</dc:date>
    <item>
      <title>Two question force logout and copy from buffer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/two-question-force-logout-and-copy-from-buffer/m-p/6385847#M602964</link>
      <description>&lt;P&gt;Hi Everyone&lt;BR /&gt;1- sometime when I copy every text or command from terminal and paste it in for example notepad it work but sometimes not work!!&lt;/P&gt;&lt;P&gt;2- I use below command for force logout an user from server but when I copy this command to other terminal , not work??&lt;/P&gt;&lt;P&gt;ps -u username | while read a b c^Jdo^Jkill -9 $a^Jdone&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;</description>
      <pubDate>Sun, 23 Feb 2014 06:42:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/two-question-force-logout-and-copy-from-buffer/m-p/6385847#M602964</guid>
      <dc:creator>Alexo</dc:creator>
      <dc:date>2014-02-23T06:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: Two questions force logout and copy from buffer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/two-question-force-logout-and-copy-from-buffer/m-p/6386055#M602965</link>
      <description>&lt;P&gt;&amp;gt;1 sometime when I copy every text or command from terminal and paste it in notepad sometimes not work&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is more of a Windows issue, nothing to do with HP-UX.&amp;nbsp; What doesn't work?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;2 I use below command for force logout an user from server but when I copy this command to other terminal, not work?&lt;/P&gt;&lt;P&gt;ps -u username | while read PID b c; do kill -9 $PID; done&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In general you should never first use kill -9.&amp;nbsp; You should do a normal kill first.&lt;/P&gt;&lt;P&gt;What doesn't work, the copy or the kill script fragment?&lt;/P&gt;</description>
      <pubDate>Sun, 23 Feb 2014 12:58:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/two-question-force-logout-and-copy-from-buffer/m-p/6386055#M602965</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2014-02-23T12:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Two question force logout and copy from buffer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/two-question-force-logout-and-copy-from-buffer/m-p/6386177#M602966</link>
      <description>&lt;P&gt;thank you for your answer&lt;/P&gt;&lt;P&gt;in 1 case i connect to the server by windows software and in the new enviroment i can load a xterminal of hp-ux&lt;BR /&gt;.i am not in hp-ux directly.but i access to hp-ux by terminal.and copy from terminal somtimes work!!&lt;/P&gt;&lt;P&gt;in 2 case i dont want to one by one proccess i want the user has been&amp;nbsp; force logout.this command work when i load that from history (ESc and /) but when i type or copy that it doesn't work.&lt;/P&gt;</description>
      <pubDate>Sun, 23 Feb 2014 10:19:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/two-question-force-logout-and-copy-from-buffer/m-p/6386177#M602966</guid>
      <dc:creator>Alexo</dc:creator>
      <dc:date>2014-02-23T10:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: Two questions force logout and copy from buffer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/two-question-force-logout-and-copy-from-buffer/m-p/6386367#M602967</link>
      <description>&lt;P&gt;&amp;gt;I am not in HP-UX directly but I access to HP-UX by terminal and copy from terminal sometimes work&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use putty and don't have problems with cut&amp;amp;paste between it and Windows.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;in 2 case I don't want to one by one process... This command works when I load that from history (Esc and /) but when I type or copy that it doesn't work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Instead of typing newlines, use semicolons as I had above:&lt;/P&gt;&lt;P&gt;ps -u username | while read PID b c; do kill -9 $PID; done&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or better yet, put it in a script.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 23 Feb 2014 12:58:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/two-question-force-logout-and-copy-from-buffer/m-p/6386367#M602967</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2014-02-23T12:58:10Z</dc:date>
    </item>
  </channel>
</rss>

