LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 668|回复: 2

如何知道某一个文件是属于哪个程序的啊?

[复制链接]
发表于 2005-4-30 18:01:40 | 显示全部楼层 |阅读模式
我想知道一个命令是属于系统中哪个程序的?

该使用什么方法知道啊?

谢谢大家了!
 楼主| 发表于 2005-4-30 18:08:05 | 显示全部楼层

我看不太明白这个exec1的意思

我看不太明白这个exec1的意思
请版主大哥给我说一说吧~
我知道你的英语好强的!帮我翻译一下吧!
谢谢了~
       exec1 [-cl] [-a name] [command [arguments]]
              If  command is specified, it replaces the shell.  No new process
              is created.  The arguments become the arguments to command.   If
              the -l option is supplied, the shell places a dash at the begin-
              ning of the zeroth arg passed to command.  This is what login(1)
              does.  The -c option causes command to be executed with an empty
              environment.  If -a is supplied, the shell passes  name  as  the
              zeroth  argument  to the executed command.  If command cannot be
              executed for some reason, a non-interactive shell exits,  unless
              the  shell  option execfail is enabled, in which case it returns
              failure.  An interactive shell returns failure if the file  can-
              not  be executed.  If command is not specified, any redirections
              take effect in the current shell, and the return  status  is  0.
              If there is a redirection error, the return status is 1.

如果命令是指定的,那么它将代替shell。不创建新的进程。这个命令将变成那个命令。

我想我翻译的不对劲吧!  请大家帮帮忙吧!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-4-30 18:09:03 | 显示全部楼层
对不起我发错了

本来是两个问题


我重新发一次吧

对不起啊

版本
是我不小心  

sorry
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表