View Single Post
Old January 19th, 2013, 02:01 PM   #49 (permalink)
nickdalzell
AF Contributor
 
nickdalzell's Avatar
 
Join Date: Jun 2011
Location: Owensboro, KY
Posts: 3,880
 
Device(s): Nexus 10, Nexus 7, Galaxy S3, Galaxy Tab 3's
Carrier: Verizon

Thanks: 95
Thanked 605 Times in 486 Posts
Default

there is also the 'whereis' command that is a lot less complicated:

$>whereis startx

bash: /usr/X11/startx

if the file did not exist it would be like:

$>whereis foo

bash: no such file or directory
__________________
Device(s):
Samsung Galaxy Note 3 (rooted, HyperDrive ROM)
Samsung Galaxy Tab 3 7.0 (non-rooted, stock)
Samsung Galaxy Tab 2 10.1 (obsolete, slow, rooted)
Samsung Galaxy Note 10.1 2014 Edition
nickdalzell is offline  
Reply With Quote