On Thu, 17 Feb 2005 16:39, Nick Rout wrote: > On Thu, 17 Feb 2005 16:25:04 +1300 > > rob wrote: > > Wesley, > > No I couldn't get type <filename> less to work either.
No, because Linux and Unix are _completely_ different beasts to DOS. DOS has 'borrowed' quite a few command words from unix. Sometimes the actions are similar, but frequently not. > "type" on linux is not the same as "type" on dos. man type shows its a > completely different beast, in fact i don't really comprehend what it > does do. It tells you what type of command will be performed if you key that word into the bash command interpreter. vis:- [EMAIL PROTECTED] ~ $ type cd cd is a shell builtin [EMAIL PROTECTED] ~ $ type ls ls is aliased to `ls --color=auto' [EMAIL PROTECTED] ~ $ type g++ g++ is /usr/bin/g++ [EMAIL PROTECTED] ~ $ hash g++ [EMAIL PROTECTED] ~ $ type g++ g++ is hashed (/usr/bin/g++) It's of little or no relevance to mere mortals, don't fuss yourself. [ perfect description of piping elided ] Note that the pipe idea is in DOS and was nicked from unix. -- C. S.
