Re: zsh: bad option, bash works

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2011-12-19 at 18:04 +0800, Zind wrote:
> Maybe I don't have a deep understanding about the built-in commands
> from
> the beginning.
> Can I explain it this way?
> The built-in commands are usually more closely relataed to the OS,
> more
> underlying than seperate programms, like bindkey, cd, ulimit etc.
> So they have to be built-in, they have to be implemented within the
> shell.

[Please, don't top-post; see the list Guidelines]

That's not really it. The builtins are built in either because they're
part of the Shell programming language or because they affect the
Shell's own environment, e.g. its current directory. If cd were a
separate program it would execute as a process, change its *own*
directory, then terminate, leaving the Shell exactly where it was.

As to knowing that 'type' is a builtin, you could just ask it about
itself:

type type

poc

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux