brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: run mc in the Unraid web terminal for a two-pane file manager

Terminal
~/tips/tip-unraid-midnight-commander

mc

Starts the built-in Midnight Commander to browse and copy files between shares and disks from the terminal.

Unraid ships a small file manager that most people never open. It lives in the terminal and needs no container.

mc

Open the web terminal from the >_ entry in the top-right menu of the Unraid web UI, or connect over SSH, and run mc. You get Midnight Commander with two panes. The Unraid docs describe it for moving files between a mounted network share and /mnt/user/ or /mnt/diskX.

The docs show a way to mount an SMB share for it first:

mkdir /work
mount -t cifs //workstation/share /work -o username=youruser,iocharset=utf8

It asks for the password, so it does not end up in your shell history. Put /work in one pane and a share in the other, and copy. When you are done, run umount /work and rmdir /work.

Caveat: keep both panes on the same kind of path. The docs warn against mixing a user share like /mnt/user/media and a disk path like /mnt/disk1/media in one copy, especially with the same folder names, because it can corrupt or delete data.

Inside Midnight Commander, F1 opens the context-sensitive help, which is where its own docs point you to learn the keys. I’d use it for a one-off copy or a quick look around a share, and go back to the web UI or a proper tool for anything bigger.

Further reading: Unraid docs: Command line interface

More Terminal tips ioreg -rn AppleSmartBattery | grep CycleCount Terminal can save your windows and tabs as a window group Export a Terminal profile to a .terminal file and import it on another Mac hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x700000039,"HIDKeyboardModifierMappingDst":0x700000029}]}' sudo tmutil restore -v "/Volumes/Backup Disk/Backups.backupdb/My Mac/2026-11-30-120000/Macintosh HD – Data/Users/me/Documents/report.pdf" ~/Desktop/ All Terminal tips (116) All topics

Link