Yis*_*ang 2 linux bash makefile gnu-coreutils
我在这里下载了bash shell 4.2版表单:http://ftp.gnu.org/gnu/bash/,然后使用以下命令自行编译:
./configure
make
Run Code Online (Sandbox Code Playgroud)
但是我编译的bash比一个系统提供的要大得多:
这是我的bash:
$ ls -lh bash
-rwxrwxr-x 1 unimous unimous 3.8M Oct 31 23:57 bash
Run Code Online (Sandbox Code Playgroud)
这是系统的bash:
$ ls -hl /bin/bash
-rwxr-xr-x 1 root root 937K Sep 19 21:40 /bin/bash
Run Code Online (Sandbox Code Playgroud)