Command line arguments--and--the difference between

Source: Internet
Author: User

Before explaining these differences, let's look at the background knowledge of Linux, which requires you to read it carefully before you get a deeper understanding of the differences and a better understanding of Linux.

About System V and BSD styles and their relationship to Linux:

1, System V and BSD out of the two different departments of the AT&T Lab, SYSTEMV is a UNIX commercialization standard, BSD-Berkeley Style for UNIX standardization.

2, because Linux is Linus Torvalds in the Unix-based system to re-develop, but still follow the two major UNIX system process style, in fact, it should be said that Linus Torvalds only developed kernel, and the software is still from the GNU organization.

Only Slackware is currently the only BSD-style version available in the Linux distribution. The others are FreeBSD, NetBSD and OpenBSD three well-known BSD distributions, and follow the "GPL specification. In the commercial version of UNIX and most Linux distributions using the SYSTEMV-style init "There may be a copyright dispute issue". Linux representatives are: RedHat, Suse, MDV, Magiclinux, Debian, and much more. UNIX stands for AIX, IRIX, Solars, and HP-UX.

After introducing the background, look at the different ways these command parameters are used:

1, under Linux Some commands such use ls-a (parameter before a horizontal);

2, some commands to use the CP--help (the first two horizontal parameters);

3, there are some such use TAR-XZVF (before the parameter has a horizontal);

4, some of which use the tar xzvf (no horizontal before the parameter).

On the use of the command differences we explain:

The first type: The argument followed by a horizontal argument is a character form.

The second type: arguments with two horizontal instructions followed by the argument is the word form.

The third type: The System v style is horizontal before the parameter.

The fourth type: The BSD style is not horizontal before the parameter.

Other differences regarding System V and BSD:

During the system boot process, the INIT program is called in the last step of the kernel, and the INIT program executes in two flavors, System V and BSD.
In System V style, init calls the/etc/inittab,bsd style call/ETC/RC, which has the same purpose as executing a series of programs based on RunLevel.

Command line arguments--and--the difference between

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.