category: Linux

Mac - Use readlink in Mac OS X

on 2018-10-24

  1. install coreutils
brew install coreutils
  1. test greadlink
greadlink -f <file name>
  1. alias command line
alias readlink=greadlink

refer - How can I get the behavior of GNU’s readlink -f on a Mac?;

Linux - install gogole chrome in debian Linux

on 2016-08-03

Linux - install gogole chrome in debian Linux

wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'

sudo apt-get update

sudo apt-get install google-chrome-stable

refer - How to install Chrome browser properly via command line?