<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://info.stat.cmu.edu/index.php?action=history&amp;feed=atom&amp;title=Terminal_automation</id>
	<title>Terminal automation - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://info.stat.cmu.edu/index.php?action=history&amp;feed=atom&amp;title=Terminal_automation"/>
	<link rel="alternate" type="text/html" href="https://info.stat.cmu.edu/index.php?title=Terminal_automation&amp;action=history"/>
	<updated>2026-11-05T03:25:25Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://info.stat.cmu.edu/index.php?title=Terminal_automation&amp;diff=845&amp;oldid=prev</id>
		<title>Ajshen at 03:34, 29 June 2026</title>
		<link rel="alternate" type="text/html" href="https://info.stat.cmu.edu/index.php?title=Terminal_automation&amp;diff=845&amp;oldid=prev"/>
		<updated>2026-06-29T03:34:54Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 03:34, 29 June 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Terminal and Command Line]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Automating terminal commands =&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Automating terminal commands =&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key infowiki:diff:1.41:old-35:rev-845:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Ajshen</name></author>
	</entry>
	<entry>
		<id>https://info.stat.cmu.edu/index.php?title=Terminal_automation&amp;diff=35&amp;oldid=prev</id>
		<title>Skipper: Created page with &quot;= Automating terminal commands =  There are a variety of articles on this wiki that include “bash” commands, from Linux_and_department_servers|Linux and department serve...&quot;</title>
		<link rel="alternate" type="text/html" href="https://info.stat.cmu.edu/index.php?title=Terminal_automation&amp;diff=35&amp;oldid=prev"/>
		<updated>2024-03-30T00:00:36Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= Automating terminal commands =  There are a variety of articles on this wiki that include “bash” commands, from Linux_and_department_servers|Linux and department serve...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Automating terminal commands =&lt;br /&gt;
&lt;br /&gt;
There are a variety of articles on this wiki that include “bash” commands, from [[Linux_and_department_servers|Linux and department servers]] to [[Python_on_the_server|Python on the server]] and [[R_on_the_server|R on the server]]. This article presents on two ways to bundle a set of commands ([[make|&amp;lt;code&amp;gt;MakeFile&amp;lt;/code&amp;gt;]]s and [[Bash_files|&amp;lt;code&amp;gt;.sh&amp;lt;/code&amp;gt; bash]] files). Both of these tools can help automate processes (like file and folder creation and running code) and can also “parallelize” your code. These techniques should work on your personal computer as well as the department servers as more.&lt;br /&gt;
&lt;br /&gt;
= What are they good for? =&lt;br /&gt;
&lt;br /&gt;
== bash ==&lt;br /&gt;
&lt;br /&gt;
Bash files are often used to automate the creation of files/folders, small changes of files, and processing a set of files in a similar manner. There are also ways to leverage bash commands to run parallel processes (in a slightly more hacky/more dangerous way than [[Slurm]], but do not require [[Slurm]] syntax).&lt;br /&gt;
&lt;br /&gt;
Please see the [[Bash_files|Bash files]]] article for a deeper dive into bash and &amp;lt;code&amp;gt;.sh&amp;lt;/code&amp;gt; files, and 2 real examples (circa 2021).&lt;br /&gt;
&lt;br /&gt;
== make ==&lt;br /&gt;
&lt;br /&gt;
The use of &amp;lt;code&amp;gt;Makefile&amp;lt;/code&amp;gt;s and the &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; command focus a bit more on the description of processes and dependencies of steps of a process. Because of this, &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; is often used for describing and automating research pipelines (and can be seen if “photo”-ready code repositories are associated with a published paper).&lt;br /&gt;
&lt;br /&gt;
Please see [[make|make]] for a deeper dive into &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;Makefiles&amp;lt;/code&amp;gt;.&lt;/div&gt;</summary>
		<author><name>Skipper</name></author>
	</entry>
</feed>