1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

 command

Last updated at Posted at 2014-08-14
alt + shift + k

##Fish shell
http://fishshell.com/

Make fish default shell

echo /usr/local/bin/fish >>/etc/shells
chsh -s /usr/local/bin/fish

##Force empty Trash

sudo rm -rf ~/.Trash/*

##Clear Cache

open $TMPDIR../C/

##Screen resolution

system_profiler SPDisplaysDataType | grep Resolution

##Disable Reportcrash

launchctl unload -w /System/Library/LaunchAgents/com.apple.ReportCrash.plist
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.ReportCrash.Root.plist
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.DiagnosticReportCleanUp.plist

##Dropbox : Get Multiple Account Support

HOME=$HOME/Dropbox-Second /Applications/Dropbox.app/Contents/MacOS/Dropbox &

##TCP port on Mac OS X

sudo lsof -i -n -P | grep TCP

###Default Shell

cat /etc/shells 
chsh -s /usr/local/bin/zsh

##Auto start

cp /usr/local/Cellar/php56/5.6.11_2/homebrew.mxcl.php56.plist ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.php56.plist

######Check sure PHP-FPM is listening on port 9000:

lsof -Pni4 | grep LISTEN | grep php
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?