<?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>command searches &#8211; lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</title>
	<atom:link href="https://lifelinux.com/tag/command-searches/feed/" rel="self" type="application/rss+xml" />
	<link>https://lifelinux.com</link>
	<description>All About Linux !</description>
	<lastBuildDate>Tue, 03 Jan 2012 08:02:57 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.5.3</generator>
	<item>
		<title>How To View Linux Last Reboot / Shutdown Date And Time</title>
		<link>https://lifelinux.com/how-to-view-linux-last-reboot-shutdown-date-and-time/</link>
					<comments>https://lifelinux.com/how-to-view-linux-last-reboot-shutdown-date-and-time/#respond</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Tue, 03 Jan 2012 07:47:48 +0000</pubDate>
				<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[/var/log/wtmp]]></category>
		<category><![CDATA[/var/run/utmp]]></category>
		<category><![CDATA[aix last reboot]]></category>
		<category><![CDATA[command searches]]></category>
		<category><![CDATA[display server reboot time]]></category>
		<category><![CDATA[display server shutdown time]]></category>
		<category><![CDATA[last command]]></category>
		<category><![CDATA[linux last command]]></category>
		<category><![CDATA[linux last login]]></category>
		<category><![CDATA[linux sys admin]]></category>
		<category><![CDATA[reboot system]]></category>
		<category><![CDATA[server last reboot]]></category>
		<category><![CDATA[shutdown system]]></category>
		<category><![CDATA[time of last system boot]]></category>
		<category><![CDATA[unix last reboot]]></category>
		<category><![CDATA[wtmp]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=1295</guid>

					<description><![CDATA[<p>Q. How do you find Linux system last reboot/shutdown date and time? A. You can use &#8220;last&#8221; command which will display all the previous reboot date and time for the system. This picks the information from the /var/log/wtmp file. Last command Use last command to display listing of system last reboot time and date: # [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://lifelinux.com/how-to-view-linux-last-reboot-shutdown-date-and-time/">How To View Linux Last Reboot / Shutdown Date And Time</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><p><span style="color: #ff0000;"><strong>Q</strong></span>. How do you find Linux system last reboot/shutdown date and time?<br />
<span style="color: #008000;"><strong>A</strong></span>. You can use &#8220;last&#8221; command which will display all the previous reboot date and time for the system. This picks the information from the /var/log/wtmp file.<br />
<span id="more-1295"></span></p>
<h2>Last command</h2>
<p>Use last command to display listing of system last reboot time and date:</p>
<pre># last reboot -1</pre>
<p>Output</p>
<pre>reboot   system boot  2.6.18-274.12.1. Wed Dec 14 06:01</pre>
<p>To display last shutdown date and time use following command:</p>
<pre># last -x | grep shutdown | head -1</pre>
<p>Output</p>
<pre>shutdown system down  2.6.18-274.12.1. Wed Dec 14 06:44</pre>
<h2>Who command</h2>
<p>Use the &#8220;who -b&#8221; command which displays the last system reboot date and time</p>
<pre># who -b</pre>
<p>Output</p>
<pre>system boot  2011-12-14 06:44</pre>
<g:plusone href="https://lifelinux.com/how-to-view-linux-last-reboot-shutdown-date-and-time/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="https://lifelinux.com/how-to-view-linux-last-reboot-shutdown-date-and-time/">How To View Linux Last Reboot / Shutdown Date And Time</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lifelinux.com/how-to-view-linux-last-reboot-shutdown-date-and-time/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Listing Of Last Reboot / Shutdown Date And Time</title>
		<link>https://lifelinux.com/listing-of-last-reboot-shutdown-date-and-time/</link>
					<comments>https://lifelinux.com/listing-of-last-reboot-shutdown-date-and-time/#respond</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Wed, 24 Aug 2011 00:48:51 +0000</pubDate>
				<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[/var/log/wtmp]]></category>
		<category><![CDATA[/var/run/utmp]]></category>
		<category><![CDATA[aix last reboot]]></category>
		<category><![CDATA[command searches]]></category>
		<category><![CDATA[display server reboot time]]></category>
		<category><![CDATA[display server shutdown time]]></category>
		<category><![CDATA[last command]]></category>
		<category><![CDATA[last reboot]]></category>
		<category><![CDATA[linux last command]]></category>
		<category><![CDATA[linux last login]]></category>
		<category><![CDATA[linux sys admin]]></category>
		<category><![CDATA[reboot system]]></category>
		<category><![CDATA[server last reboot]]></category>
		<category><![CDATA[shutdown system]]></category>
		<category><![CDATA[time of last system boot]]></category>
		<category><![CDATA[unix last reboot]]></category>
		<category><![CDATA[wtmp]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=1009</guid>

					<description><![CDATA[<p>Using last command to show listing of last reboot / shutdown date and time. Last command which searches back through the file /var/log/wtmp (or the file designated by the -f flag) and displays a list of all users logged in (and out) since that file was created. Names of users and tty&#8217;s can be given, [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://lifelinux.com/listing-of-last-reboot-shutdown-date-and-time/">Listing Of Last Reboot / Shutdown Date And Time</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><p>Using <strong>last command</strong> to show listing of last reboot / shutdown date and time. <strong>Last command</strong> which searches back through the file /var/log/wtmp (or the file designated by the -f flag) and displays a list of all users logged in (and out) since that file was created. Names of users and tty&#8217;s can be given, in which case last will show only those entries matching the arguments. Names of ttys can be abbreviated, thus last 0 is the same as last tty0.<br />
<span id="more-1009"></span><br />
To show listing of last reboot, type the following command</p>
<pre>
# last reboot
</pre>
<p>Sample output</p>
<pre>
reboot   system boot  2.6.18-194.32.1. Wed May 25 09:52         (90+21:57)
reboot   system boot  2.6.18-194.32.1. Sat Apr 23 09:20         (122+22:28)
reboot   system boot  2.6.18-194.32.1. Mon Apr 18 14:13         (4+02:33)

wtmp begins Tue Apr  5 15:15:41 2011
</pre>
<p>To show listing of last shutdown, type the following command</p>
<pre>
# last -x | grep down
</pre>
<p>Sample output</p>
<pre>
shutdown system down  2.6.18-194.32.1. Fri Apr 22 16:46 - 07:50 (123+15:03)
</pre>
<p><strong>Where</strong><br />
-x: Display the system shutdown entries and run level changes.</p>
<g:plusone href="https://lifelinux.com/listing-of-last-reboot-shutdown-date-and-time/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="https://lifelinux.com/listing-of-last-reboot-shutdown-date-and-time/">Listing Of Last Reboot / Shutdown Date And Time</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lifelinux.com/listing-of-last-reboot-shutdown-date-and-time/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
