How to find the path of a command?

Hi guys. I want to know the path of a command. I tried "which" command also . But no luck.

Please tell me how to find and update the correct path of the command.

Here I'm unable to find the path of ext2online command

# resize2fs /dev/vg01/lvora_backup
resize2fs 1.39 (29-May-2006)
Filesystem at /dev/vg01/lvora_backup is mounted on /ora_backup; on-line resizing required
ext2online # ext2online /dev/vg01/lvora_backup
-ksh: ext2online: not found [No such file or directory]

I do not believe it is a standard package, so it's possible that it is not installed. It is part of the ext2resize application.

FYI
Package was installed

You can use the locate command, if its database is configured, or ask yum provides */ext2resize, which will show you where it is / would be installed or, of course, a simple find command to locate the file.