GNU which

Introduction

Introduction

prints what would have been executed if the command was typed, with full path