variance of a portfolio with n assets

date command in linux with examples