user name
user: yufei
add shortcut
System Preference -> Keyboard - > Shortcut -> App Shortcuts -> (F10 Sleep), (F9 Shut Down...)
xcode
install Xcode from App Store
install command line tools
xcode-select --install
sudo without password
sudo su chmod +w /etc/sudoers # add follow line USERNAME ALL=(ALL) NOPASSWD: ALL chmod -w /etc/sudoers exit
add ~/.bash_profile
touch ~/.bash_profile
ls show color
vim ~/.bash_profile #add alias alias ls='ls -G'
crearte some dirs
>mkdir ~/dev >mkdir ~/work_notes >mkdir ~/books >sudo mkdir /rt >sudo chown yufei:staff /rt