Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- shell commands
- chmod
- Glob shell * when searching for files
- sudo rm my-app/src/*Component/*
- find my-app/ -type d -regex '.*Component'
- for F in ./App* ; do p4 edit $F; echo > $F; done
- Stdout stdin stderr
- Dev/null
- ls -a -l | grep '.p4ignore'
- Stat
- Ls -s filename
- Source filename to load .sh script into current environment
- Whereis programName
- Brew install um (written in ruby?)
- Write your own man pages
- christohersmini:mainFork slime$ lsof -t -i :8080
- christohersmini:mainFork slime$ lsof -t -i :8081
- 17931
- christohersmini:mainFork slime$ kill 17931
- christohersmini:mainFork slime$ lsof -t -i :8081
- ps aux
- netstat
- #find a file
- [ -f $HOME/.bash_profile ]
- adb devices
- #convert std:err to std: out and re-direct to a file
- (/Users/slime/Perforce/freshWorkspaceOfJadoMain/MAIN/node_modules/.bin/./jest /Users/slime/Perforce/freshWorkspaceOfJadoMain/MAIN/test/ui/screens/settings/components/settings-back-button.test.tsx) > /tmp/foo 2>&1
- Shell command: job to run things in the background
- kill $(lsof -t -i :8081)
- Greedy, glob
Add Comment
Please, Sign In to add comment