Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nrigaudiere/unixcommands

Unix Commands
https://github.com/nrigaudiere/unixcommands

Last synced: about 1 month ago
JSON representation

Unix Commands

Awesome Lists containing this project

README

        

# unixcommands
Unix Commands

Remove all .DS_Store files
```bash
sudo find / -name ".DS_Store" -depth -exec rm {} \;
```

Disable .DS_Store files
```bash
defaults write com.apple.desktopservices DSDontWriteNetworkStores true
```

Open all jpg files in the current subfolders
```bash
find . -name "*.jpg" | xargs open
```

Flush OSx DNS
```bash
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder; say DNS cache flushed
```

Download IE VMs
```bash
curl -s https://raw.githubusercontent.com/xdissent/ievms/master/ievms.sh | env IEVMS_VERSIONS="7 9 EDGE" bash
```

List npm packages version and avoid errors
```bash
npm ls --depth=0 "$@" 2>/dev/null
```