Permanently (Ubuntu):
File > Settings > Editor > General > Appearance > Show Line Numbers
For just the current editor:
View > Active Editor > Show Line Numbers
Permanently (Ubuntu):
File > Settings > Editor > General > Appearance > Show Line Numbers
For just the current editor:
View > Active Editor > Show Line Numbers