Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

bash / terminal history

Featured Replies

Hey Guys,

 

i want to have a bash history to see my previus commands. But i didnt find any option for that.

 

Did anyone know how to do that?

 

Thanks

at the bash command prompt #

history

 

  • Author

thanks but this is only from the last restart. Iam looking for all ever entered commands.

Since the OS runs in RAM and can't make any assumptions about anyones persistent storage there is nothing to keep that history. 

  • Author

Oh ok but thanks for the info

  • 2 years later...

is there a workaround, to enable this, if wanted?

  • 3 years later...

Claude managed to give me this which seems to work ok:


Add this to your go file (which runs on every boot):

  1. Edit /boot/config/go:

bash

nano /boot/config/go
  1. Add these lines at the end:

bash

# Persist bash history
ln -sf /boot/config/bash_history /root/.bash_history
touch /boot/config/bash_history
  1. Save and exit (Ctrl+X, Y, Enter)

  2. Make the initial history file:

bash

touch /boot/config/bash_history
ln -sf /boot/config/bash_history /root/.bash_history

How it works

  • /boot is your USB flash drive, which persists across reboots

  • This creates a symbolic link from /root/.bash_history (the default history location in RAM) to a file on your USB

  • The go file recreates this link on every boot

  • Your command history is now saved to the USB automatically

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.