Today I Learned - Rocky Kev

TIL how to see if terminal commands exist

POSTED ON:

TAGS:

Use the command -v to see if the command exists.

For example:

$ command -v nvm
nvm

$ command -v git
/usr/bin/git


Related TILs

Tagged:

TIL using the find command

find [path] -user [username] [options]

TIL Find Command

I wanted to look for files with a specific extension. You can do that with ls *.(mp3|exe|mp4)

TIL playing Tetris inside Zsh

If you're using a Mac, you're probably using iTerm. 1. Load iTerm 2. launch emacs. 3. Launch Tetris.