The question: I was working mostly on Mac, so I have no idea about how to set up git environment on Windows 8. Today, I was going to start AngularJS on my Windows Machine. On tutorial, I saw it requires git, and I downloaded the “Git for windows”, called “MINGW64”. On tutorial, it asked me … Read more
I want to wrap 3 lines of execution into an alias, but I also need to pass a parameter when I call it in terminal.
I often use
fzf to navigate the filesystem, especially the Alt-c key binding.
I’m using git-bash on Windows 7. I’d like to see a tree of the current directory. However:
I have been trying to learn the keyboard shortcuts for the shell on macOS, but when I tried using ALT+B, it did not work.
I would like to use the
ls command to first show directories and then files. I tried:
I have found this question [blog]: Difference between .bashrc and .bash_profile very useful but after seeing the most voted answer (very good by the way) I have further questions. Towards the end of the most voted, correct answer I see the statement as follows :
I’m pretty comfortable with bash, but recently I ended up in a substitution I didn’t know.
I have a bunch of bash completion scripts set up (mostly using bash-it and some manually setup).
How can I change my DNS server from the Terminal on Mac OS X? [I need this because my DNS is not working correctly with my VPN. Sometimes it’s using the DNS for my main connection, and sometimes it’s using the DNS specified for the VPN (which it should).]