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.

How to use MC on Terminal via WebUI on Chrome

Featured Replies

Can someone help me and explain how to use mc on chrome?

On 6/30/2018 at 5:49 PM, HPatel027 said:

how to use mc on chrome

mc is the program named Midnight Commander https://midnight-commander.org/. This is a pseudo command-line GUI, somehow similar with Total Commander, Free Commander and so on from Windows.

To start the mc from your browser:

1. Login first to the unRaid Web UI

2. Start a Terminal session

image.png.2c19042ac372421a29306175ce60b95f.png

3. Type into the webterminal window opened as pop-up mc and hit Enter

image.png.7ab12b037fb8ecabd7327382eff7df8d.png

4. Now you are in Midnight Commander

With mc you have full access to the whole heart of the unRaid, hoever to avoid any damage (if you have no experience with Linux shell) my recommandation is to use ony the /mnt folder, where your unraid array and disks are mounted.

ATTENTION: Please be aware that you may only copy data from disk to disk or share to share, never copy disk to share or share to disk, as this my lead to massive data corruption.

image.png.1ba71a941de6a90415e1d7e461a4d350.png

Description:

/mnt/cache - the cache disk(s), if you have

/mnt/disk1 to /mnt/diskX- the physical disks from your array

/mnt/disks - the unassigned disks to the array, if are mounted via Unassigned Devices plugin

/mnt/user - the shares from all disks in array + cache disk(s)

/mnt/user0 - the shares from all disks in array, without cache disk(s)

 

  • 2 weeks later...

What's the trick to using the F-keys from webterminal? I can't seem to make anything work but the arrow and tab keys. 

 

Thanks

buzz

 

Edit: Never mind I figured it out. I was remoting from work to my home PC and launching webterminal. That won't work. F-keys get lost in the translation.

Edited by buzzra

  • 2 years later...

So i still don't know how to use it guys.

 

I've got mc open in terminal.

I've got a file that I need to remove.

None of the keys do anything apart from f8 and that tells me Cannot stat "file.xml" Structure needs cleaning.

 

Even just an explanation of how to launch the help would be awesome. (If it has a list of commands)

  • 2 months later...

Anyone figured this out ? How to make function keys wotking ? F keys do some weird stuff like F3 instead of view it selects/deselects all files. Is that browser issue ? 

ALT+1 means F1 ...... etc

Works like a charm! Thank you good sir ;-)

  • 7 months later...
On 1/20/2021 at 10:20 AM, Vr2Io said:

ALT+1 means F1 ...... etc

 

Hello, how about F10 or F11 and so on? If I click F+1+0 it will open the help which is F1. 

 

image.png.1a8d31eec316e0ef2461f650f7e8dcc1.png

ALT+0 means F10, no idea of F11 F12 and MC seems no F11 F12 etc

CTRL + ALT + 1 = F1, CTRL + ALT + 2 = F2 ....  for me on firefox

  • 6 months later...

Hence everything happening on server side, does Putty needs to be open during the copying files?

Presume not but who knows...

16 hours ago, BeersTeddy said:

does Putty needs to be open during the copying files?

Depends on whether or not you started a screen session before you ran mc.

21 minutes ago, JonathanM said:

Depends on whether or not you started a screen session before you ran mc.

Actually tested this myself.

 

Test 1

Started putty in windows

Logged in to Tower

Typed MC

Started copying file from one mounted unassigned disk to another one

Closed putty

Copying stopped - clearly depends on solid connection between machine with putty and UNRAID machine.

Sounds like a receipt for disaster if moving large amount of files.

 

Test 2

Logged in to UNRAID machine through web browser

Opened Terminal

Typed MC

Started copying file from one mounted unassigned disk to another one

Closed terminal window

logged out from UNRAID 

Success - Files are copying in the background, about the same result as "nohup mv". Just no idea how to see the progress, since going back to MC in terminal doesn't show anything.

 nohup mv /mnt/disk1/Movies/* /mnt/disk2/Movies &

 

Edited by BeersTeddy

3 minutes ago, BeersTeddy said:

Started putty in windows

Logged in to Tower

Typed MC

Started copying file from one mounted unassigned disk to another one

Closed putty

Copying stopped - clearly depends on solid connection between machine with putty and UNRAID machine.

Sounds like a receipt for disaster if moving large amount of files.

If you start screen before you start mc you can log back in and resume the screen session and pick back up exactly where you left off.

2 minutes ago, JonathanM said:

If you start screen before you start mc you can log back in and resume the screen session and pick back up exactly where you left off.

What you mean by "If you start screen before you start mc"?

8 minutes ago, JonathanM said:

I presume I need to install some sort of plugin first since any command like "screen --version" "sudo apt install screen" gives the same output "command not found"

 

I know, very simple question but I'm very new in to Linux

 

Edit:

I'm getting there

https://wiki.unraid.net/index.php/Configuration_Tutorial#Install_Screen_without_using_UnMENU

Edited by BeersTeddy

  • Community Expert

The NerdPack plugin includes screen as one of the packages it can install.

DON'T go wild and install everything in the nerdpack. Have a specific reason and use for anything you select. Some tools create issues just by being installed. That's one reason why they aren't just all installed in the normal version of Unraid.

2 minutes ago, itimpi said:

The NerdPack plugin includes screen as one of the packages it can install.

Thanks. Literally just found it.

 

1 minute ago, JonathanM said:

DON'T go wild and install everything in the nerdpack. Have a specific reason and use for anything you select. Some tools create issues just by being installed. That's one reason why they aren't just all installed in the normal version of Unraid.

Thanks.

Already learned this the hard way.

Luckily this is only testing machine, so no harm can be done, just need to start over :(

  • Community Expert
2 minutes ago, BeersTeddy said:

Thanks. Literally just found it.

 

Thanks.

Already learned this the hard way.

Luckily this is only testing machine, so no harm can be done, just need to start over :(

The advantage of installing packages via Nerdpack is that it tries to install a version compatible with the release of Unraid you  are running.

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.