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
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
相关文章推荐
- Linux Commands for Beginners-- Echo And Creating Variables
- What is a "sosreport" and how do I create it in Red Hat Enterprise Linux 4.6 and later
- Linux Commands for Beginners-- Regular Expressions--the grep command
- What is the difference between authorized_key and known_host file for SSH
- What is the difference between objectForKey and valueForKey?
- What is the difference between max-device-width and max-width for mobile web?
- SUSE Linux Toolbox: 1000+ Commands for openSUSE and SUSE, Linux Enterprise (Paperback) Dec.2007.eBook-BBL
- Linux is for everyone like freedom and knowledge!
- Linux Commands For Beginners: SUDO
- What is EPOLL? EPOLL vs Select call? And How to implement UDP server in Linux using EPOLL?
- What is the best free memory leak detector for a C/C++ program and its plug-in DLLs
- Linux Commands for Beginners--The Watch Command
- What is ViewData, ViewBag and TempData? – MVC options for passing data between current and subsequen
- Linux Commands for Beginners--Arithmetic in Bash--expr,let commands
- Question 12: In C++, which of the following is the best declaration for an overloaded operator[] to allow read-only access (and
- What is the "internal" interface and port for on Openvswitch?
- which language is suitable for what to do
- What is EPOLL? Epoll vs Poll vs Select call ? And How to implement UDP server in Linux using EPOLL?
- What is Linux System Calls and Library Functions?
- What Is The Maximum Tablespace Size And Database Limit For An Oracle Database ? (文档 ID 1372905.1)