Chinaunix首页 | 论坛 | 博客
  • 博客访问: 439745
  • 博文数量: 26
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 1101
  • 用 户 组: 普通用户
  • 注册时间: 2013-03-04 22:28
个人简介

Never stop learning.

文章分类

全部博文(26)

文章存档

2014年(2)

2013年(24)

分类: LINUX

2013-04-12 15:45:41

  • Get the number of CPUs

  1. cat /proc/cpuinfo | grep -c processor
  • Get the URL of package to be installed from Ubuntu
  1. sudo apt-get -qq --print-uris install ssh | cut -d\' -f2 # Get the URL of "ssh" package
  • Check your system is 32-bit or 64-bit

  1. getconf LONG_BIT
  2. 64               # 64 means 64-bit, 32 means 32-bit
  • Check release information of Ubuntu

  1. lsb_release -ds  # Check release version
  2. lsb_release -sc  # Check release code
  3. lsb_release -a   # Check all information of release



阅读(2977) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~