Emacs from a linux shell

  • Thread starter ehrenfest
  • Start date
  • #1
2,012
1

Main Question or Discussion Point

When I open emacs from a linux shell, it always makes it run in the "foreground" so that I cannot do anything else in the shell until I close emacs. I used to know a way around this with some extra command after "$ emacs" but I forgot it. Does anyone know what I am talking about?
 

Answers and Replies

  • #2
You automatically background commands by adding & behind it.

So for example "emacs foo.txt &"

Also if you suspend a program, you can resume it in the background with the command bg. Example would be

"jobs -l" outputs 512 for your emacs program, so then you run "bg %512".
 

Related Threads for: Emacs from a linux shell

  • Last Post
Replies
2
Views
3K
  • Last Post
Replies
3
Views
2K
  • Last Post
Replies
6
Views
6K
  • Last Post
Replies
6
Views
1K
Replies
18
Views
2K
Replies
56
Views
6K
  • Last Post
Replies
4
Views
647
  • Last Post
Replies
1
Views
5K
Top