<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.pedromussato.com/index.php?action=history&amp;feed=atom&amp;title=Linux_system_information_gathering</id>
	<title>Linux system information gathering - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.pedromussato.com/index.php?action=history&amp;feed=atom&amp;title=Linux_system_information_gathering"/>
	<link rel="alternate" type="text/html" href="https://wiki.pedromussato.com/index.php?title=Linux_system_information_gathering&amp;action=history"/>
	<updated>2026-04-08T10:29:50Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://wiki.pedromussato.com/index.php?title=Linux_system_information_gathering&amp;diff=105&amp;oldid=prev</id>
		<title>413vhcu1lq0463ob: Created page with &quot;Save your linux configurations before making a change is important for at least 2 reasons:  * If something goes wrong you can restore with the data collected * If something goes wrong but not related to what you did, you&#039;ll need prof of this (trust me this happens)  My script:  echo &#039;cat /etc/*release&#039;   cat /etc/*release   echo   echo   echo &#039;df -h&#039;   df -h   echo   echo   echo &#039;ip a&#039;   ip a   echo   echo   echo &#039;ps -ef&#039;   ps -ef   echo   echo   echo &#039;netstat -nr&#039;   net...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.pedromussato.com/index.php?title=Linux_system_information_gathering&amp;diff=105&amp;oldid=prev"/>
		<updated>2024-10-10T17:32:47Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Save your linux configurations before making a change is important for at least 2 reasons:  * If something goes wrong you can restore with the data collected * If something goes wrong but not related to what you did, you&amp;#039;ll need prof of this (trust me this happens)  My script:  echo &amp;#039;cat /etc/*release&amp;#039;   cat /etc/*release   echo   echo   echo &amp;#039;df -h&amp;#039;   df -h   echo   echo   echo &amp;#039;ip a&amp;#039;   ip a   echo   echo   echo &amp;#039;ps -ef&amp;#039;   ps -ef   echo   echo   echo &amp;#039;netstat -nr&amp;#039;   net...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Save your linux configurations before making a change is important for at least 2 reasons:&lt;br /&gt;
&lt;br /&gt;
* If something goes wrong you can restore with the data collected&lt;br /&gt;
* If something goes wrong but not related to what you did, you&amp;#039;ll need prof of this (trust me this happens)&lt;br /&gt;
&lt;br /&gt;
My script:&lt;br /&gt;
 echo &amp;#039;cat /etc/*release&amp;#039; &lt;br /&gt;
 cat /etc/*release &lt;br /&gt;
 echo &lt;br /&gt;
 echo &lt;br /&gt;
 echo &amp;#039;df -h&amp;#039; &lt;br /&gt;
 df -h &lt;br /&gt;
 echo &lt;br /&gt;
 echo &lt;br /&gt;
 echo &amp;#039;ip a&amp;#039; &lt;br /&gt;
 ip a &lt;br /&gt;
 echo &lt;br /&gt;
 echo &lt;br /&gt;
 echo &amp;#039;ps -ef&amp;#039; &lt;br /&gt;
 ps -ef &lt;br /&gt;
 echo &lt;br /&gt;
 echo &lt;br /&gt;
 echo &amp;#039;netstat -nr&amp;#039; &lt;br /&gt;
 netstat -nr &lt;br /&gt;
 echo &lt;br /&gt;
 echo &lt;br /&gt;
 echo &amp;#039;rpm -qa&amp;#039; &lt;br /&gt;
 rpm -qa &lt;br /&gt;
 echo &lt;br /&gt;
 echo &lt;br /&gt;
 echo &amp;#039;uptime&amp;#039; &lt;br /&gt;
 uptime &lt;br /&gt;
 echo &lt;br /&gt;
 echo &lt;br /&gt;
 echo &amp;#039;uname -a&amp;#039; &lt;br /&gt;
 uname -a &lt;br /&gt;
 echo &lt;br /&gt;
 echo &lt;br /&gt;
 echo &amp;#039;uname -r&amp;#039; &lt;br /&gt;
 uname -r &lt;br /&gt;
 echo &lt;br /&gt;
 echo &lt;br /&gt;
 echo &amp;#039;sudo yum history&amp;#039; &lt;br /&gt;
 sudo yum history &lt;br /&gt;
 echo &lt;br /&gt;
 echo &amp;#039;uptime&amp;#039; &lt;br /&gt;
 uptime &lt;br /&gt;
 echo &lt;br /&gt;
 echo &amp;#039;sudo yum update --assumeno&amp;#039; &lt;br /&gt;
 sudo yum update --assumeno &lt;br /&gt;
 echo done&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Usually I prefer in one line, easyer and i can just send to the server and save the output easyer&lt;br /&gt;
 echo &amp;#039;cat /etc/*release&amp;#039; ; cat /etc/*release ; echo ; echo ; echo &amp;#039;df -h&amp;#039; ; df -h ; echo ; echo ; echo &amp;#039;ip a&amp;#039; ; ip a ; echo ; echo ; echo &amp;#039;ps -ef&amp;#039; ; ps -ef ; echo ; echo ; echo &amp;#039;netstat -nr&amp;#039; ; netstat -nr ; echo ; echo ; echo &amp;#039;rpm -qa&amp;#039; ; rpm -qa ; echo ; echo ; echo &amp;#039;uptime&amp;#039; ; uptime ; echo ; echo ; echo &amp;#039;uname -a&amp;#039; ; uname -a ; echo ; echo ; echo &amp;#039;uname -r&amp;#039; ; uname -r ; echo ; echo ; echo &amp;#039;sudo yum history&amp;#039; ; sudo yum history ; echo ; echo &amp;#039;uptime&amp;#039; ; uptime ; echo ; echo &amp;#039;sudo yum update --assumeno&amp;#039; ; sudo yum update --assumeno ; echo done&lt;/div&gt;</summary>
		<author><name>413vhcu1lq0463ob</name></author>
	</entry>
</feed>