https://dev.to/n350071/bashprofile-4ebd
๐ brew
brew install peco #Simplistic interactive filtering tool
brew cask install atom
brew cask install visual-studio-code
brew cask install amethyst
brew install htop
brew install jq # => use like this : curl localhost:8080/api/json | jq .
brew cask install eqmac # ใคใณใฉใคใถใผ
brew cask install postman
brew install tree
brew install blueutil
brew software
Find the application process id
$ ps aux | grep rails
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
n350071 2071 0.0 1.9 5419064 323140 ?? S 2Sep19 13:18.55 /Users/n350071/.rbenv/versions/2.4.6/bin/ruby script/rails s
Then, the rails pid is 2071
.
About Exit code
Exit code | meaning |
---|---|
0 | Success |
1 | General errors, Miscellaneous errors, such as "divide by zero" and other impermissible operations |
2 | Misuse of shell builtins (according to Bash documentation) Example: empty_function() {} |
Workaround for white space
find -print0 | xargs -0
xargs with arguments
echo 1 2 3 4 | xargs -I{} echo {}
find all components
mdfind -name "kindle"
Top comments (0)