r****r 发帖数: 1839 | 1 我从网上下载并安装了Fedora 14,结果好多东西默认都没给装,也行。咱自己安装,
以Java为例:yum install java 完事以后,看看各种乱七八糟的Java令人眩晕
/usr/bin/Java 只是一个连接:/usr/bin/java -> /etc/alternatives/java
而后者又是一个连接:
/etc/alternatives/java -> /usr/lib/jvm/jre-1.6.0-openjdk/bin/java
如果你到/usr/lib/jvm里面去看,里面一堆相似的Java和jre
[root@blah jvm]# ls -l
total 4
lrwxrwxrwx 1 root root 26 May 9 11:11 java -> /etc/alternatives/java_sdk
lrwxrwxrwx 1 root root 32 May 9 11:11 java-1.6.0 -> /etc/alternatives/
java_sdk_1.6.0
lrwxrwxrwx 1 root root 26 May 9... 阅读全帖 |
|
n******7 发帖数: 12463 | 2 现在的distro都自带几个版本的
-> ll /usr/bin/python*
lrwxrwxrwx 1 root root 9 Oct 24 09:36 /usr/bin/python -> python2.7
lrwxrwxrwx 1 root root 9 Oct 24 09:36 /usr/bin/python2 -> python2.7
-rwxr-xr-x 1 root root 2663960 Jan 26 2013 /usr/bin/python2.6
-rwxr-xr-x 1 root root 3745024 Oct 18 06:07 /usr/bin/python2.7
lrwxrwxrwx 1 root root 33 Oct 18 06:07 /usr/bin/python2.7-config -> x86
_64-linux-gnu-python2.7-config
lrwxrwxrwx 1 root root 16 Oct 24 09:36 /usr/bin/python2-config ->
python2... 阅读全帖 |
|
y**b 发帖数: 10166 | 3 我把这些信息给gdisk作者:
soilblast2[/home/yanb]# ll /dev/mapper/
total 0
crw-rw----. 1 root root 10, 58 Feb 18 18:23 control
lrwxrwxrwx. 1 root root 7 Feb 18 18:24 vg_soilblast2-lv_home -> ../dm-2
lrwxrwxrwx. 1 root root 7 Feb 18 18:24 vg_soilblast2-lv_root -> ../dm-0
lrwxrwxrwx. 1 root root 7 Feb 18 18:23 vg_soilblast2-lv_swap -> ../dm-1
soilblast2[/home/yanb]# ll /dev/dm*
brw-rw----. 1 root disk 253, 0 Feb 18 18:24 /dev/dm-0
brw-rw----. 1 root disk 253, 1 Feb 18 18:23 /dev/dm-1
brw-rw---... 阅读全帖 |
|
l*f 发帖数: 218 | 4 I am quite new to linux. Recently, I've just downloaded a software, but get
a painful problem. I install all correct path configurations as stated in
the software manual, but get the following result,
# ls -l
total 2640
lrwxrwxrwx 1 vadmin vadmin 10 2010-04-19 10:24 alvis -> alvis-mesa
-rwxr-xr-x 1 vadmin vadmin 2258976 1996-11-04 19:47 alvis-mesa
-rwxr-xr-x 1 vadmin vadmin 117824 1996-11-04 19:47 delcx
-rwxr-xr-x 1 vadmin vadmin 153204 1996-11-04 19:47 mkalf
-rwxr-xr-x 1 vadmin vadmin |
|
y***d 发帖数: 2330 | 5 可能 ubuntu 把这个目录给去掉了?debian 下是有的;不过内容也只是
ls /usr/X11R6/ -l
total 0
lrwxrwxrwx 1 root root 6 2010-05-13 14:14 bin -> ../bin |
|
N**********d 发帖数: 9292 | 6 那为啥df -h显示的跟分区没有2g,只有1.7g,刚好就是原来我在u盘上面装系统的大小
呢?
$ df -h
文件系统 容量 已用 可用 已用%% 挂载点
rootfs 1.7G 646M 913M 42% /
none 60M 44K 60M 1% /dev
/dev/sdb1 1.7G 646M 913M 42% /
tmpfs 62M 0 62M 0% /lib/init/rw
tmpfs 62M 0 62M 0% /dev/shm
tmpfs 62M 0 62M 0% /tmp
/dev/sda5 147G 54G 87G 39% /mnt/usb0
剩下的0.3g的样子是swap =_=
$ ls -l /dev/root
lrwxrwxrwx 1 r... 阅读全帖 |
|
m*****e 发帖数: 4193 | 7 the /proc/*/exe points to the real executable too
ln -s /bin/ls
./ls -l /proc/self/exe
lrwxrwxrwx 1 xxx xxx 0 Dec 18 13:28 /proc/self/exe -> /bin/ls |
|
a******s 发帖数: 232 | 8 $ ll /usr/bin/f77
lrwxrwxrwx 1 root root 3 Oct 20 09:55 /usr/bin/f77 -> g77 |
|
g****g 发帖数: 1828 | 9 made a link but still doesn't work.
lrwxrwxrwx 2 root root 12 2009-11-08 13:03 g77 -> gfortran-4.4
Running make for MadGraphII
make[1]: Entering directory `/home/weigang/Downloads/MG_ME_V4.4.32/
MadGraphII'
g77 -O -i4 -ffixed-line-length-132 -c driver.f
f951: error: unrecognized command line option "-i4"
make[1]: *** [driver.o] Error 1
make[1]: Leaving directory `/home/weigang/Downloads/MG_ME_V4.4.32/MadGraphII'
make: *** [mg2] Error 2 |
|
a*****i 发帖数: 4391 | 10
err damn, and I already relinked and touched the old binary.
wei@firefly:/usr/lib> ls -la libcurl*
lrwxrwxrwx 1 root root 16 2010-02-03 11:24 libcurl.so.4 -> libcurl.so.4.
1.1
-rwxr-xr-x 1 root root 289424 2010-02-03 11:23 libcurl.so.4.1.1 |
|