因此,在尝试m4 sendmail.mc时,我得到了这个错误:
cannot open `/usr/share/sendmail-cf/feature/rbl.m4': No such file or directory
因为它显然不在那里。我已经做了yum install sendmail-cf,但它仍然没有文件。我正在编写CentOS 7.0.1406。
首先,这是我的操作系统课的作业。
因此,我在Linux中用C编写自己的shell。部分要求是使用chdir()实现cd命令。
下面是我的代码片段:
/**
* The way I parse the user input, argv is a char array which contains
* the command call and each additional argument is contained in succeeding
* indices in argv. E.g. 'ls -al' is contained as argv = [ ls | -al