If you don't have Xcode and don't want to download about 6 GB, you can use sudo chflags hidden|nohidden Ĭhflags is a BSD command and it also has a Man Page just enter this in Terminal man chflagsįor those who don't like to enter commands self and just would like to know what there stands in the man. SetFile is not a OS X native command it comes bundled with DevTools/Xcode. SetFile can change a lot of other file attributes and metadata, as well. osx file for OS X-specific preferences and settings. Imgur() Īll of these are in my ~/.bash_profile so I can use them in every Terminal window.įor more, see my dotfiles repository on GitHub, and/or view my. # Upload image to Imgur and return its URL. Alias la="ls -Ga" # list all, includes dot filesĪlias ll="ls -Gl" # long list, excludes dot filesĪlias lla="ls -Gla" # long list all, includes dot filesĪlias stfu="osascript -e 'set volume output muted true'"Īlias pumpitup="sudo osascript -e 'set volume 10'"Īlias ips="ifconfig -a | perl -nle'/(\d+\.\d+\.\d+\.\d+)/ & print $1'"Īlias myip="dig +short flush="dscacheutil -flushcache" # Flush DNS cacheĪlias gzip="gzip -9n" # set strongest compression level as ‘default’ for gzipĪlias ping="ping -c 5" # ping 5 times ‘by default’Īlias ql="qlmanage -p 2>/dev/null" # preview a file using QuickLook
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |