Thursday, August 10, 2017

Add colors to terminal and vi in MACos

Monday, June 26, 2017


Option -O (upper-case O) is important. Without this, curl will start dumping the downloaded file on the stdout. Using -O, it downloads the files in the same name as the remote server. In the above example, we are downloading strx25-, so the downloaded file will also be the same name.

yum update
yum search any-package

yum info any-package

yum install any-package
yum list something

yum list recent

yum list installed
yum list available

yum list all

lsof -i :port
lsof -i :80
WITH replication = {'class': ‘Strategy name’, 'replication_factor' : ‘No.Of  replicas’}

Sunday, May 28, 2017