which command in Linux (Ubuntu Server) #59 Nov.29,2015 In this tutorial you will learn how which command works in Linux (Ubuntu Server in my case). Code used during this tutorial: # which command in Linux (Ubuntu Server) # Locate ls command which ls ls -l /bin/ls -l 1234567 # which command in Linux (Ubuntu Server) # Locate ls commandwhich ls ls -l/bin/ls -l