linux小白一枚,想看看具体的C语言实现
|
1
|
|
nicai000May 19, 2014
3
呃, cd是shell built-in, 得看shell的源码
|
|
ZhangMay 19, 2014
4
不开源的我更好奇,比如winapi
|
|
jiankangxinMay 19, 2014
5
同学。。。其实你可以说一下你的需求,然后我们帮你看看是否真有必要看源码
|
|
6
|
|
lu18887May 19, 2014
8
确实是shell的内建命令……
|
|
jt6562May 19, 2014
9
去看busybox的吧
|
|
auserMay 19, 2014
10
for debian/ubuntu
dpkg -S PATHNAME xxx: PATHNAME apt-get source xxx |
|
11
@jiankangxin
@hitsmaxft @nicai000 @skydiver 求教 coreutils下载后 没有看到 grep more find 源码 最感兴趣的几个 都木有。 这几个命令 哪里能看到源码 |
|
12
|
|
13
@go https://github.com/freebsd/freebsd/tree/master/usr.bin 曾经也想看,发现还是 freebsd 的容易找,不过最后却因为各种事没有去阅读。 Linux 和 FreeBSD 的代码有差别,但应该都是符合 Posix 规范的
|
|
14
|