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.
BTW, I'm updating the existing LPIC-1 material to LPI Version 4 and I hope to finish the whole LPIC-1 series over the next several months. Ian Shields (IBM Retired) On 7/30/2015 07:43, Anselm Lingnau wrote: > Simone Piccardi <[email protected]> wrote: > >> But in the keywords is listed type, that is an internal bash command >> that concern command resolution, alias, functions and so on, and it >> seems to me that is quite unrelated with FHS file locations and so on. > I would think it is there because for many people it is an alternative > to which(1), which is also listed. (“type” does have the advantage of > letting you find out that the command you enter isn't being executed as > an external command even if there is an external command of the same > name – consider test(1) or echo(1) vs. their internal equivalents.) > >> It seems to me far more appropriate to put it in 103.1 or in 105.1. > There would be nothing wrong with putting it in 103.1, too. I wouldn't > put it into 105.1 instead of 104.7, because it is useful to know about > when you're on 104.7, and 105.1 is a different exam. > > I introduce my students to the “type” command when I tell them about > internal vs. external commands in the shell, which is way before the > chapter on the FHS. When we get around to talking about the FHS they > already know all they need about finding out what happens if you type a > command, including how the shell finds executable programs, so I don't > even need to mention “type” when I talk about the FHS. That does not > take anything away from the fact that it is a useful command to know > about when considering the FHS, so mentioning it in the 104.7 objective > does make a certain amount of sense. > > Remember that the LPIC-1 objectives do not imply an order for teaching > the material – they just explain what will be on the exam. Once you're > ready to take the LPI-101 exam, it doesn't really matter whether “type” > was mentioned in objective 103.1 or 104.7 or both because you'll have to > know about it either way. We can spend a week here bikeshedding this if > we have nothing better to do but I don't think it'll make a big > difference in the end. > > Anselm _______________________________________________ lpi-examdev mailing list [email protected] http://list.lpi.org/cgi-bin/mailman/listinfo/lpi-examdev
