[root@localhost study]# cat /etc/issue
CentOS release 6.4 (Final)
Kernel \r on an \m
#编辑一个简单C文件
vi one.c
#include
int main(void){
printf("Hello world!\n");
return 0;
}
#保存退出
:wq
#编译one.c
gcc one.c
[root@localhost study]# file a.out
a.out: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, not stripped
cat /etc/issue
uname -a