<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>..::\\ www.christiano.ch //::.. &#187; Linux</title>
	<atom:link href="http://www.christiano.ch/wordpress/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.christiano.ch/wordpress</link>
	<description>christiano.ch blog - personal knowledge base, news, memoires et cetera</description>
	<lastBuildDate>Thu, 29 Jul 2010 06:18:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<meta xmlns="http://www.w3.org/1999/xhtml" name="robots" content="noindex,follow" />
		<item>
		<title>Linux: View what users are / were logged on a system</title>
		<link>http://www.christiano.ch/wordpress/2010/07/16/linux-view-what-users-are-were-logged-on-a-system/</link>
		<comments>http://www.christiano.ch/wordpress/2010/07/16/linux-view-what-users-are-were-logged-on-a-system/#comments</comments>
		<pubDate>Fri, 16 Jul 2010 06:56:08 +0000</pubDate>
		<dc:creator>christian</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.christiano.ch/wordpress/2010/07/16/linux-view-what-users-are-were-logged-on-a-system/</guid>
		<description><![CDATA[There are several simple commands to show what users are logged a Linux systems. The following commands are standard in all distributions (as of date) w who who –a who and users show who are currently logged on. You can also use last: last Another possibility is to get the users-information from the systems logs: [...]]]></description>
			<content:encoded><![CDATA[<table border="0" cellspacing="0" cellpadding="2" width="675">
<tbody>
<tr>
<td valign="top" width="664">There are several simple commands to show what users are logged a Linux systems.</td>
<td valign="top" width="10"><a href="http://www.christiano.ch/wordpress/wp-content/uploads/2010/07/Logo_linux_Pinguin.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Logo_linux_Pinguin" border="0" alt="Logo_linux_Pinguin" src="http://www.christiano.ch/wordpress/wp-content/uploads/2010/07/Logo_linux_Pinguin_thumb.png" width="139" height="165" /></a> </td>
</tr>
</tbody>
</table>
<p> <span id="more-1056"></span>
<p>The following commands are standard in all distributions (as of date)</p>
<p><em>w</em></p>
<p><em>who</em></p>
<p><em>who –a</em></p>
<p>who and users show who are currently logged on. You can also use last:</p>
<p><em>last</em></p>
<p>Another possibility is to get the users-information from the systems logs: </p>
<p><em>grep sshd /var/log/messages</em> </p>
<p>grep-out Failed login attempts&#160; </p>
<p><em>grep sshd /var/log/messages | grep -i &quot;Failed&quot; | awk &#8216;{print $NF}&#8217; | sort|uniq -c|sort -n</em></p>
<p>see access thru httpd</p>
<p><em>cat /var/log/httpd/access_log</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.christiano.ch/wordpress/2010/07/16/linux-view-what-users-are-were-logged-on-a-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux: Find large files using find command</title>
		<link>http://www.christiano.ch/wordpress/2009/08/04/linux-find-large-files-using-find-command/</link>
		<comments>http://www.christiano.ch/wordpress/2009/08/04/linux-find-large-files-using-find-command/#comments</comments>
		<pubDate>Tue, 04 Aug 2009 10:57:37 +0000</pubDate>
		<dc:creator>christian</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.christiano.ch/wordpress/?p=175</guid>
		<description><![CDATA[To searach for files larger than 100mb (approx.): find / -type f -size +100000k]]></description>
			<content:encoded><![CDATA[<p>To searach for files larger than 100mb (approx.): </p>
<p><code>find / -type f -size +100000k</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.christiano.ch/wordpress/2009/08/04/linux-find-large-files-using-find-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change Date or Time on Linux</title>
		<link>http://www.christiano.ch/wordpress/2009/08/04/change-date-or-time-on-linux/</link>
		<comments>http://www.christiano.ch/wordpress/2009/08/04/change-date-or-time-on-linux/#comments</comments>
		<pubDate>Tue, 04 Aug 2009 09:24:16 +0000</pubDate>
		<dc:creator>christian</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.christiano.ch/wordpress/?p=151</guid>
		<description><![CDATA[Under most configurations, you must be logged on as &#8220;root&#8221; to make this change. You can log on locally (physically at the Linux box) as root. However, if you must perform this remotely (over a network or the Internet), you need to first log on to the machine under a user that will allow you [...]]]></description>
			<content:encoded><![CDATA[<p>Under most configurations, you must be logged on as &#8220;root&#8221; to make this change. You can log on locally (physically at the Linux box) as root. However, if you must perform this remotely (over a network or the Internet), you need to first log on to the machine under a user that will allow you to log on remotely. Then &#8220;switch user&#8221; to &#8220;root&#8221; by typing &#8220;su&#8221; at the prompt and pressing enter. When prompted, type root&#8217;s password and press enter.</p>
<p>To change the time from the bash prompt, as root, use the &#8220;date&#8221; command. Typing &#8220;date&#8221; by itself will return the date, time, and year. Typing &#8220;date MMDDhhmmCCYY&#8221; will allow you to set any part of the date or time.<br />
Linux Examples:</p>
<p>Login to Linux box as root and enter root&#8217;s password:</p>
<p><code>[me@mybox me]$ su<br />
password:</code></p>
<p>Check the current date and time of the Linux box by entering:</p>
<p><code>[root@mybox me]# date<br />
[root@mybox me]# Tue Aug 4 12:03:45 CEST 2009</code></p>
<p>Change the current time and date of the Linux box by entering:</p>
<p>Format is:</p>
<ul>
<li> 2-digits month =&gt; 08</li>
<li>2-digits day =&gt; 04</li>
<li>2-digits hour =&gt; 12</li>
<li>2-digits minutes =&gt;03</li>
<li>4-digits year =&gt;2009</li>
</ul>
<p><code>[root@mybox me]# date 080412032009<br />
[root@mybox me]$ Tue Aug 4 12:03:00 CEST 2009</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.christiano.ch/wordpress/2009/08/04/change-date-or-time-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
