Il 30/07/2015 14:14, Ian Shields ha scritto: > I think which and type are included in 104.7 because the objective > includes "Find files and commands on a Linux system". It's not just > about FHS. I also discuss both in my 103.1 and my 104.7 articles on IBM > developerWorks. >
Sorry but I don't think type is about finding a command, at least not in the meaning specified by the topic description: "Candidates should be thoroughly familiar with the Filesystem Hierarchy Standard (FHS), including typical file locations and directory classifications." Even if it can tell you the executable path that will exec'd when the first word you are writing on a command line correspond to a file name in a directory listed in the shell PATH, this has almost nothing to do with knowing about /bin vs /sbin vs /usr/bin, etc. that's the topic subject. The command is used to show how the shell will interpret what you write as "command", if it will taken as an internal command, as an alias or as function (and you will find nothing here). Or as a file to be exec'd. I found confusing also putting "which" in this topic, they are shell internal command to show which will be the shell behaviour, not to look at where executable are put inside the filesystem. Simone -- Simone Piccardi Truelite Srl [email protected] (email/jabber) Via Monferrato, 6 Tel. +39-347-1032433 50142 Firenze http://www.truelite.it Tel. +39-055-7879597 Fax. +39-055-7333336 _______________________________________________ lpi-examdev mailing list [email protected] http://list.lpi.org/cgi-bin/mailman/listinfo/lpi-examdev
