2
votes
1answer
47 views

Automatically stop a terminal script when locking MacBook Pro

I have written a bash script that I manually start when logging in onto the laptop, but I want it to stop running when I lock my laptop. This doesn't seem a very standard scenario, but I don't want ...
1
vote
3answers
1k views

How can I create a folder named like the current date in bash

So I'm messing around in my .bashrc making different aliases and playing with my prompt. I'm trying now to make an alias that will move into a specific directory, make a new directory based on the ...
3
votes
2answers
2k views

How do I make invisible files (like bash profile) visible in the finder?

question is in the title. There's some files that most Apple users don't need access to, but if you program you do need access to. in particular the bash profile. anyone know how to make these visible ...