Check default

(linux/ubuntu)What command should I type to check my default editor and default window manager?
I had checked a lot of websites, all also teaching about how to change your editor to vi those, but I just want to type a command to show it out, anyone know that?
1)command to show default editor
2)command to show default window manager
Last edited on
Not sure if there is a default editor. Don't you just type the command of the editor you want to use? If you want to use vi you type vi, if you want emacs you type emacs, or am I missing something?
Topic archived. No new replies allowed.