tail -f /var/log/messages &
or
tcpdump -i enp0s25 port 25 -w out.pcap
Which allows me to carry on debugging problems while I can see any stdout on my terminal.
Although these commands spawn sub-processes - that are attached to the (parent) terminal process.
The other day I came accross a pretty cool command that will allow me to leave these commands running - effectively releasing them from the parent process - so I can terminate the shell:
disown -a && exit
0 comments:
Post a Comment