0
votes
1answer
177 views

How to auto run a simple python program when the terminal opens

Say I have a python program called foo.py that prints a line of text. How can I auto run that program when I boot up the terminal? I know you can, but I can't find the documentation. Also no third ...
2
votes
2answers
249 views

“sed” or “awk” launched on opening terminal window

At some point, I've noticed strange behavior of Terminal app - now on opening new window i get this as normal: Last login: Tue Nov 27 11:54:21 on ttys001 but can't see the "~" sign afterwards and ...
0
votes
1answer
741 views

How can I start postgres automatically on startup?

I can start postgres with: # Start Postgres /usr/local/bin/pg_ctl -D /usr/local/pgsql/data -l logfile start Where can I put that to start up when I start the machine up? I can put it in my ...