<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=4984&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] Bash history configuration]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=4984</link>
		<description><![CDATA[The most recent posts in [SOLVED] Bash history configuration.]]></description>
		<lastBuildDate>Fri, 15 Apr 2022 22:44:59 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] Bash history configuration]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=35607#p35607</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>hevidevi wrote:</cite><blockquote><div><p>... that system would have to enable some sort of admin ...<br />... possible to build busybox ash, bash with certain flags to enable ...</p></div></blockquote></div><p>Could be.<br />But the idea is to avoid building anything with/for OpenWRT as it would complicate eventual sysupgrades.</p><p>I found this:<br /><a href="https://forum.sailfishos.org/t/busybox-how-to-manage-the-command-history-of-ash/6808/11" rel="nofollow">https://forum.sailfishos.org/t/busybox- … sh/6808/11</a></p><p>Not really a big deal.<br />When I finally get this NAS figured out and running as I want, I won&#039;t be needing access all the time like I&#039;m having to do now.<br />I&#039;ll mark this thread solved.</p><p>Thanks for your input.</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Fri, 15 Apr 2022 22:44:59 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=35607#p35607</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Bash history configuration]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=35597#p35597</link>
			<description><![CDATA[<p>surely that system would have to enable some sort of admin, i suppose it would depend on how that particular embedded devices busybox was built too?</p><p>Not quite sure but i think it is possible to build busybox ash, bash with certain flags to enable features like history and such, might be worth it to look into the busybox documentation. </p><p><a href="https://busybox.net/" rel="nofollow">https://busybox.net/</a></p>]]></description>
			<author><![CDATA[dummy@example.com (hevidevi)]]></author>
			<pubDate>Fri, 15 Apr 2022 13:27:16 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=35597#p35597</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Bash history configuration]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=35586#p35586</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>hevidevi wrote:</cite><blockquote><div><p>try these in your .bashrc if you do not already have them.</p><div class="codebox"><pre><code>export HISTSIZE=10000
export HISTFILESIZE=10000
export HISTCONTROL=ignorespace:ignoredups</code></pre></div></div></blockquote></div><p>Hmm ...<br />I don&#039;t have a <span class="bbc">user</span> set up on this system.<br />Maybe that&#039;s the reason? Have not had time to set up <span class="bbc">sudo</span> either yet.</p><p><span class="bbu">Edit:</span></p><p>I <span class="bbu">keep</span> forgetting that this is a small footprint OS for embedded systems, a very different type of Linux.<br />That means that I should look in the right place and not bug my fellow Dev1 members.</p><p>OpenWRT does not use <span class="bbc">bash</span> but <span class="bbc">ash</span>.</p><p>From: <a href="https://forum.openwrt.org/t/enable-bash-history/70815" rel="nofollow">https://forum.openwrt.org/t/enable-bash-history/70815</a></p><div class="quotebox"><blockquote><div><p>Ash (mainly the dash fork) is also fairly popular in embedded Linux systems. dash version 0.3.8-5 was incorporated into BusyBox 3, the catch-all executable often employed in this area, and is used in distributions like DSLinux, Alpine Linux 1, Tiny Core Linux and Linux-based router firmware such as OpenWrt, Tomato and DD-WRT.</p></div></blockquote></div><p>and</p><div class="quotebox"><blockquote><div><p>ash is provided by busybox, which provides all basic shell &amp; Linux default app features in OpenWrt.<br />You can enable the history feature in busybox and recompile a personal version of it for yourself, so that you can have ash that remembers history.</p></div></blockquote></div><p><span class="bbc">ash</span> is part of the firmware image and while I can install the <span class="bbc">bash</span> package, it will not survive a system upgrade.</p><p>There seems to be a work-around, I&#039;ll have to investigate further.</p><p>Thanks a lot for your input.</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Thu, 14 Apr 2022 14:32:57 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=35586#p35586</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Bash history configuration]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=35585#p35585</link>
			<description><![CDATA[<p>try these in your .bashrc if you do not already have them.</p><div class="codebox"><pre><code>export HISTSIZE=10000
export HISTFILESIZE=10000
export HISTCONTROL=ignorespace:ignoredups</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (hevidevi)]]></author>
			<pubDate>Thu, 14 Apr 2022 14:18:08 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=35585#p35585</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] Bash history configuration]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=35584#p35584</link>
			<description><![CDATA[<p>Hello:</p><p>Playing around with SSH and my new My Book Live thingy, i have found a few things I&#039;m used to do not work as expected.</p><p>This is the OpenWRT installed on the unit:</p><div class="codebox"><pre><code>~# uname -a
Linux_book 5.4.179 #0 Wed Feb 16 20:29:10 2022 ppc GNU/Linux
~# </code></pre></div><p>&#160; </p><p><span class="bbc">dmesg</span> shows this:</p><p>One of those things is the <span class="bbc">bash</span> history I use a lot.<br />It is an important part of my slow-ish training to eventually master the use of the terminal as much as possible.<br />eg: the history does not survive a reboot of the system.</p><p>How can I fix this?</p><p>Thanks in advance,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Thu, 14 Apr 2022 14:07:55 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=35584#p35584</guid>
		</item>
	</channel>
</rss>
