Tag Archives: Linux

Git alias in zsh/bash

alias ga=”git add” alias gau=”git add -u” alias gaa=”git add –all” alias gapa=”git add –patch” alias gb=”git branch” alias gba=”git branch -a” alias gbd=”git branch -d” alias gc=”git commit -m” alias gcv=”git commit -v” alias gc!=”git commit -v –amend” alias … Continue reading

Posted in CS Research&Application, Uncategorized | Tagged , | Leave a comment

Install common libs in Ubuntu

I host a Ubuntu (14.04) image in MacOS VirtualBox and there are some tips to install commonly used libraries: 1. open Chrome in ubuntu hosted in mac VirtualBox Error: NSS_VersionCheck(“3.26”) failed. Solution: (sudo apt-get –only-upgrade install libnss3) Tips: download chrome … Continue reading

Posted in CS Research&Application, Uncategorized | Tagged , | Leave a comment

Linux commands tips

1. check disk usage $ df -hl –total /home /fastdisk Reference: http://unix.stackexchange.com/questions/64815/how-to-print-the-percentage-of-disk-use-from-df-hl

Posted in CS Research&Application, Uncategorized | Tagged , | Leave a comment