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.

I did a dumb

Featured Replies

So, I was trying to clear a directory and accidentally typed rm -R /* instead of what I meant to type. Looks like my VMs are running and the web server is still running albeit giving a 500 error.

 

Any way to resolve this remotely or am I going to have to rebuild the USB drive? If so, whats the best way to do either of these.

 

I promise to remember not to run console commands when tired.

  • Community Expert

 Did you reboot the server yet?  Did you kill the process before it finished?  

 

Get a screen capture of the output of these two commands:

ls -al /

and

ls -al /boot

Post them up in your next post.

 

Also check to see if there are any files missing from the array.  What you should be concerned about is "Did it get to the   /boot    and/or    /mnt    directories?" As far as I can recall, everything else is recreated when the server is rebooted.

 

PS---  You can avoid this problem if you ALWAYS run an ls -al  command using the path that you intend on using for the rm command.  Then paste the path from the ls command into the rm command.  The  rm command is probably the most dangerous Linux/Unix command that you can run--- particularly as root.  

 

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.