Terminal
Find a File in a …
If you’ve ever needed to find a file in a directory or subdirectory without clicking around this handy terminal command might help you find the file(s) more quickly. The find command will search directories based on a name or pattern supplied. Example find /path/to/dir -name …
Enabling Search in the …
If you use the terminal, even a little bit, you will likely need to reuse past commands. Usually this means pressing the up arrow a bunch of times until you find what you need. Here is a handy setup to allow you to “search” past commands and pick the necessary command from a list. Simply …
Which Bash File Am I Even …
If you’ve ever battled various bash profiles to see which one is being used or over ridden, here’s a quick way to troubleshoot. Note: You can find out what shell you’re using by entering: echo $SHELL in your terminal. Let’s say we have two bash files, ~/.bash_profile and …