#TIL #unix 파일 크기가 알고 싶을 때
$ du -h ~/.emacs.d/init.el 8.0K /Users/ohyecloudy/.emacs.d/init.el $ du -h ~/.emacs.d/init.el | cut -f1 8.0K
$ du -h ~/.emacs.d/init.el 8.0K /Users/ohyecloudy/.emacs.d/init.el $ du -h ~/.emacs.d/init.el | cut -f1 8.0K
$ curl -s http://support-sp.apple.com/sp/product?cc=`system_profiler SPHardwareDataType | awk '/Serial/ {print $4}' | cut -c 9-` | sed 's|.*<configCode>...
#!/bin/sh ... export PATH="node_modules/.bin:node_modules/hubot/node_modules/.bin:$PATH" exec node_modules/.bin/hubot --name “hubot" "$@"
batch script
$ gem update jemoji Updating installed gems Updating jemoji Fetching: jemoji-0.6.2.gem (100%) ERROR: While executing gem ... (Gem::FilePermissionError) ...
$ sudo tee /etc/yum.repos.d/docker.repo <<-'EOF' [dockerrepo] name=Docker Repository baseurl=https://yum.dockerproject.org/repo/main/centos/$releasever...
grep -r --include='*.txt' --include='*.xml' texthere .
$ cat $GERRIT_SITE/etc/gerrit.config | grep -A 1 auth [auth] type = DEVELOPMENT_BECOME_ANY_ACCOUNT