4

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

user1800997
  • 377
  • 1
  • 4
  • 17

1 Answers1

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

Sergiy Kolodyazhnyy
  • 105,154
  • 20
  • 279
  • 497