In this blog we will see how we can use which command and what is command in Linux .The which command is used to you know return the path of a file or a command which we use with which command .
1.For example command : $which ls
.This will give us the location of ls command .
![](http://www.codebind.com/wp-content/uploads/2022/02/Screenshot-from-2022-02-03-17-11-53-1024x576.png)
In another example say , I want to know the location of Firefox .
![](http://www.codebind.com/wp-content/uploads/2022/02/Screenshot-from-2022-02-03-17-30-57-1024x576.png)
2.what is command is going to display the short manual page description . Command : $whatis <anyhting u want to check>
![](http://www.codebind.com/wp-content/uploads/2022/02/Screenshot-from-2022-02-03-17-33-47-1024x576.png)
![](http://www.codebind.com/wp-content/uploads/2022/02/Screenshot-from-2022-02-03-17-34-49-1024x576.png)
So this is about which and whatis command .
Leave a Reply