4

Is there command in Ubuntu that is equivalent on restarting explorer.exe in Windows?

1

1 Answer 1

8

If your goal is to restart file manager , then pkill nautilus && nohup nautilus 2> /dev/null &.

If you want to restart your desktop session, sudo service lightdm restart. This command kills everything, kicks you back to login screen. Effectively restarts your graphical session

7
  • 1
    But the latter kills all the app, right?
    – tigerjack
    Jun 8, 2015 at 17:05
  • @tigerjack89 later kills everything, kicks you back to login screen. Effectivelly restarts your desktop session Jun 8, 2015 at 17:05
  • 1
    yep, this is my point. I think you should add this to your answer because it is very different from killing explorer.exe in Windows.
    – tigerjack
    Jun 8, 2015 at 17:07
  • @tigerjack89 I've already mentioned that it restarts desktop session in my answer, but I guess I can add that bitt,too Jun 8, 2015 at 17:08
  • sudo service lightdm restart is probably equivalent to ctrl + alt + backspace in most distros
    – Davide
    Jun 8, 2015 at 17:26

Not the answer you're looking for? Browse other questions tagged .