Chinaunix首页 | 论坛 | 博客
  • 博客访问: 284477
  • 博文数量: 82
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 874
  • 用 户 组: 普通用户
  • 注册时间: 2015-03-21 09:58
个人简介

traveling in cumputer science!!

文章分类

全部博文(82)

文章存档

2016年(13)

2015年(69)

我的朋友

分类: LINUX

2015-11-01 11:07:30

find the install path of some software
    like python:    

点击(此处)折叠或打开

  1. dpkg -L python
    or the start path:

点击(此处)折叠或打开

  1. which python
  2. /usr/bin/python    
    or find all the dir and file use 'locate'

点击(此处)折叠或打开

  1. warrior@warrior:~$ locate python | more -10
  2. /etc/python
  3. /etc/python2.7
  4. /etc/python3
  5. /etc/python3.4
  6. /etc/apparmor.d/abstractions/python
  7. /etc/python/debian_config
  8. /etc/python2.7/sitecustomize.py
  9. /etc/python3/debian_config
  10. /etc/python3.4/sitecustomize.py
  11. /home/warrior/.python-eggs
  12. --More--
    or want to display some system environment variable

点击(此处)折叠或打开

  1. warrior@warrior:~$ echo $PATH
  2. /usr/local/sbin:/usr/local/bin:
阅读(769) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~