answersLogoWhite

0

📱

Linux

A free and open-source family of operating systems first started in 1991 and named after its creator, Linus Torvalds.

2,239 Questions

What is INIT process in Linux?

The init program is the first program run after your kernel begins running. It is configured with the /etc/inittab file. By modifying your /etc/inittab file, you change your system configuration in the following areas:

  1. Start up system run level.
  2. Specify processes to be executed during system boot.
  3. Specify processes to be run when the specified runlevel is entered.
  4. Specify processes to be run on certain runlevels with actions like respawn so the process is restarted any time it terminates.
  5. Specify certain actions or processes to be run if certain signals or user actions are indicated.

How do you make some picky bios boot off from USB drive GA-880GMA-UD2H I am looking at you?

The trick is to have USB FAT16/FAT32 formatted with size fitting cylinder boundaries. Simply formatting from Windows(tried XP) will not work. Best option is go with parted/gparted units cyl is your best friend! Good LUCK!

Should businesses continue to switch to the Linux operating system on servers and mainframes.Why or why not?

It really depends on what it is being used for and the purpose of the server. For what is suppose to be easier, then it would probably be a Windows server, however more corporations, businesses and companies are switching to a Linux server and many companies are using a Unix server on mainframes. Each one does have advantages and disadvantages; it's a matter of which one out weighs another server choice. A direct answer would be difficult to really say, since opinions vary too much. A matter of choice dictates which one you use.

But in my perspective, businesses should continue to switch to the Linux operating system on servers and mainframes because of the following reasons:

1. Cost Efficiency

Companies once dependent on expensive proprietary systems from Sun, IBM, or Hewlett-Packard have replaced them with cost efficient Linux operating system.

2. Security (Viruses Are Few and Far Between)

Although it is possible to create a virus to target Linux systems, the design of the system itself makes it very difficult to become infected. In addition, virtually all Linux vendors offer free on-line security updates.

3. Stability (It Doesn't Crash)

Linux has proved to be so reliable and secure that it is commonly found in dedicated firewall and router systems used by high-profile companies to secure their networks. For more than ten years, it has not been uncommon for Linux systems to run for months or years without needing a single reboot.

4. Virtually Hardware-Independent

Linux was designed and written to be easily portable to different hardware. For the desktop user, this means that Linux has been and likely always will be the first operating system to take advantage of advances in hardware technology such as AMD's 64-bit processor chips.

5. Standards

Linux itself and many common applications follow open standards. This means an update on one system will not make other systems obsolete.

6. Linux Is Configurable

Linux is a true multi-user operating system. Each user can have his or her own individual configuration all on one computer. This includes the look of the desktop, what icons are displayed, what programs are started automatically when the user logs in and even what language the desktop is in.

7. Freedom of Choice

Linux offers freedom of choice as far as which manufacturer you purchase the software from as well as which application programs you wish to use.

How do you install SuperTux in Debian?

you can install it with :

apt-get install supertux

What is a PID number in Linux?

A PID is a process ID. It is generally a 15 bit number, and it identifies a process or a thread.

What are the capabilities of apple McIntosh is it more advantage than Linux and UNIX?

First off, Macs are computers, whereas Linux/UNIX are operating systems. They are not the same.

Comparing OS X, however, is more productive: OS X itself is a UNIX operating system derived from BSD. Objectively, however, OS X falls quite short of the average UNIX implementation or Linux distribution in this category.

It allegedly sports the most "user friendly" interface, but this is subjective.

What is the meaning of the letter K in the KDE desktop environment?

Originally, it was meant to stand for "Kool." It now does not stand for anything, thus making KDE stand for "K Desktop Environment."

How do you write functions in Linux shell scripting?

It can depend on which shell environment you are using, but what I use is:

function something

{

# body of routine

}

# call the function

something

What is a shell program?

A shell program is a program that runs from the computer's command line. Although they were more common in older programs, some people still use them, as the are generally faster and and more minimalist than their graphical counterparts.

Are there Linux viruses on Facebook?

So far, no dangerous and globally-spread viruses for Linux emerged.

But you should still be careful about facebook apps, since they can send your data somewhere without need to infect your system.

How Linux is useful for organization?

-It's free.

-It's very secure.

-It ensures independence from big companies.

-It's very customizable.

Is Linux programming code owned by Microsoft?

No. Copyrights to pieces of the kernel belong to the programmers who made them. While Microsoft does ironically have a copyright on a couple of the modules, it does not own all of the code.

How do you integrate an application with Linux?

That depends on what you mean by "integrate." Include it on the installation medium? Build it into the kernel itself?

What files are modified when you add a new user using yast?

Only /etc/passwd and /etc/shadow need to be modified to create a new user, though a new home directory with skeleton configuration files is also created if requested.

What is the difference between clone and fork in Linux?

Fork : The fork call basically makes a duplicate of the current process, identical in almost every way (not everything is copied over, for example, resource limits in some implementations but the idea is to create as close a copy as possible).

The new process (child) gets a different process ID (PID) and has the the PID of the old process (parent) as its parent PID (PPID). Because the two processes are now running exactly the same code, they can tell which is which by the return code of fork - the child gets 0, the parent gets the PID of the child. This is all, of course, assuming the fork call works - if not, no child is created and the parent gets an error code.

Clone : Clone, as fork, creates a new process. Unlike fork, these calls allow the child process to share parts of its execution context with the calling process, such as the memory space, the table of file descriptors, and the table of signal handlers.

When the child process is created with clone, it executes the function application fn(arg). (This differs from for, where execution continues in the child from the point of the fork call.) The fn argument is a pointer to a function that is called by the child process at the beginning of its execution. The arg argument is passed to the fn function.

When the fn(arg) function application returns, the child process terminates. The integer returned by fn is the exit code for the child process. The child process may also terminate explicitly by calling exit(2) or after receiving a fatal signal.

Why are Windows and Linux executables different?

At least two major reasons, 3 when you consider Linux runs on far more architectures than Windows:

1. Windows and Linux use completely different binary formats: Windows uses a poor excuse of a COFF-format ripoff called PE (Portable Executable, a name that has no meaning whatsoever because NO PE binaries are portable, and not all of them are executable.), Linux uses the almost universally standard format used by everyone and their dog except WINDOWS called ELF (Executable and Linkable Format, a name that actually is accurate to what the format actually is, executable or linkable. Note that even your PS3s and Wiis use ELF.)

2. They're two completely different operating systems! You can't expect them to have matching APIs or ABIs at all, and those are two things any kind of binary has to rely on to work. Thus, even if you get a binary in ELF format, just because it works in Linux A, doesn't necessarily mean it'll work on Linux B, especially if Linux B is on a different architecture or uses a different library set.

3. (Applies only in some cases.) You're trying to run a 32-bit Windows PE-executable on a 64-bit SPARC port of a Linux distribution, where the binary itself is not even going to be anything the system understands without emulation.

What does chmod 654 stand for?

chmod is a utility that allows you to change the file permissions. The octal value 654 equals to -rw-r-x-r-- (or drw-r-x-r-- if it's a directory). This means that the file owner can read and write to the file (but not execute), users in the file's group can read and execute (but not write), while for everyone else it's read-only.

Explanation

  • The "read" permission is assigned the value of 4
  • The "write" permission is assigned the value of 2
  • The "execute (program)" permission is assigned the value of 1
  • A "revoked" or "rejected" permission has the value of 0

You add these up according to what permissions are granted, except if the permissions for any one of the following categories are revoked or rejected (e.g. 000[probably not practical or possible] = nobody can access the file).

  • There are 3 digits, and the first digit is for owner, the second is for group, while the last one is for all.

What kind of files are found in the usr directory?

the /usr directory is used to contain programs, libraries, and documents that most users on the system should have access to.

How do you make your home directory the working directory?

Use the 'cd' command without any target; that always puts you in the home directory which becomes by default the working directory.

When would you use a Linux multiprocessing system?

When you are using a computer with multiple processors. This is common in servers and workstations, and increasingly common in home desktop computers as well.

How can Linux be closed from the Linux GUI?

If you want to shut down the computer, usually "poweroff" or "shutdown -h now" would do.

If you want to exit from the graphical interface, you typically just need to shut down the X server (the graphical session generally runs through a display manager session or your startx command)

How do you become a Linux developer?

There's no specific training or certification necessary to write programs for Linux. Anyone who knows C, for instance, can write programs and compile them, just as they would on any other platform. If you meant a Linux kernel developer, there's no formal qualifications. Just submit any patches to a current developer. If you continue to submit good code and start your own git tree, more people will likely pull from you.