Chinaunix
标题:
为什么linux没有what命令
[打印本页]
作者:
hgyxb
时间:
2009-08-02 13:42
标题:
为什么linux没有what命令
因为我在hp-ux和sunos上都可以使用what命令来查看文件版本
在linux上却没有此命令
我用的是ubuntu8.04
作者:
一路征程一路笑
时间:
2009-08-02 15:55
提示:
作者被禁止或删除 内容自动屏蔽
作者:
dooros
时间:
2009-08-02 16:25
what哪有这个命令?
作者:
qzdmail
时间:
2009-08-02 23:08
。。。
楼主,小型机的OS还是和LINUX很大差异的。。。
作者:
yatusiter
时间:
2009-08-02 23:31
ubuntu 如果是desktop的发行版的话,很多命令应该是没有装的。。你可以试试装一下或者搜索一下 apt-cache search what
作者:
aaaaa5aa
时间:
2009-08-03 00:31
这是系统设定,就像WIN不出LINUX系统一样
作者:
kenduest
时间:
2009-08-03 02:09
原帖由
hgyxb
於 2009-8-2 13:42 發表
因為我在hp-ux和sunos上都可以使用what命令來查看文件版本
在linux上卻沒有此命令
我用的是ubuntu8.04
NAME
what - extract SCCS version information from a file
SYNOPSIS
what [-s] filename...
DESCRIPTION
The what utility searches each filename for occurrences of
the pattern @(#) that the SCCS get command (see sccs-get(1))
substitutes for the @(#) ID keyword, and prints what follows
up to a ", >, NEWLINE, \, or NULL character.
OPTIONS
The following option is supported:
-s Stops after the first occurrence of the pattern.
EXAMPLES
Example 1 Extracting SCCS version information
If a C program in file program.c contains
char sccsid[] = "@(#)identification information";
and program.c is compiled to yield program.o and a.out, the
command:
example% what program.c program.o a.out
produces:
program.c: identification information
复制代码
腦袋中是沒有這類應對命令~
作者:
www_xylove
时间:
2009-08-03 11:33
man what
倒是有的
作者:
emmoblin
时间:
2009-08-03 22:31
file不行吗?
作者:
hgyxb
时间:
2009-08-04 19:49
标题:
回复 #9 emmoblin 的帖子
file 不能看这个文件的版本
what可以看源文件的出荷时间和版本
作者:
kns1024wh
时间:
2009-08-09 23:41
标题:
回复 #1 hgyxb 的帖子
没有安装软件包
使用apt-get
或者是yum 进行安装
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2