您的位置:首页 > 运维架构 > Linux

Linux Commands for Beginners--which and whatis commands

2013-08-27 20:39 423 查看
In this tutorial, I talk about the which and whatis commands.

1.COMMAND:

which

DESCRIPTION:

locate a command

SYNOPSIS

which commandName

Example:

piniheaven@fish:~$ which ls

/bin/ls

piniheaven@fish:~$ which nano

/usr/bin/nano

2.COMMAND:

whatis

DESCRIPTION:

display manual page descriptions

SYNOPSIS

whatis commandName

Example:

piniheaven@fish:~$ whatis firefox

firefox (1) - a free and open source web browser from Mozilla

piniheaven@fish:~$ whatis ls

ls (1) - list directory contents

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐