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

Which type of process scheduling does Linux and window uses?

Linux has a number of schedulers available in its kernel, plus at least one scheduler available as a patch. But the default schedler is the Completely Fair Scheduler. Like most modern schedulers, it is pre-emptive, meaning that instead of the process deciding when to give up the CPU, the kernel decides for it when to give up the CPU. This keeps even the most uncooperative process from starving the other processes on the computer of CPU time. From what I understand of how CFS works: It keeps an eye on how much of an assigned quantum (length of time.) is actually spent on the CPU by a process and how much of the quantum is spent blocking (Keeping off the CPU to wait for I/O requests to complete, a process can't usually proceed and keep going without requested data. During the time a process is waiting for the hardware, other processes make use of the CPU.) The less time a process actually uses the CPU on its given quantum, the higher a priority it gets so that when the data from an I/O operation is complete the process can quickly execute to the next I/O request and block again. This keeps the CPU busy, but the system responsive to just about any event.

I don't know what sort of process scheduling is used on Windows. Windows, unlike Linux, is given a pretty heavy black box treatment when it comes to its users and a great deal about its kernel is not common knowledge. Presumably it is a pre-emptive, priority-based scheduler. Doubtful it's as efficient as CFS.

Which file contains the boot related information in Linux?

There's no single file that contains the boot information. Nor is the method of booting uniform across all platforms and distributions. There are dozens of bootloaders, each of which have their own configuration files in various locations.

What do you add to the DIR command to list the contents of a directory that's not the cuurrent working directory?

'dir <directory>' Read the 'dir' manual with the command 'man dir'.

NOTE: The 'ls' command is more commonly used instead of 'dir'.

Below are some examples.

$ dir

Desktop Documents Music Pictures

$ dir Documents

test.txt test.odt test.pdf

$ dir /

bin etc lib lost+found opt run srv usr

boot home lib32 media proc sbin sys var

dev initrd.img lib64 mnt root selinux tmp vmlinuz

What is a superblock Linux?

Super block is supposed to be the first sector of any file system that can be mounted on Linux operating system.

It is supposed to contain information about the entire file system in that partition.

It has magic number to specify which file system is used in that partition and other parameters to help read/write to that file system.

Where can one find Linux game server hosting?

One can find a Linux game server hosting from most web hosting companies. The best thing to do is to look around the different web hosting companies and choose one which offers what your looking for at the best price.

How much RAM is required to install Linux?

  • 1 GHz processor (32- or 64-bit)
  • 1 GB of RAM (32-bit); 2 GB of RAM (64-bit)
  • 16 GB of available disk space (32-bit); 20 GB of available disk space (64-bit)
  • DirectX 9 graphics device with WDDM 1.0 or higher driver

I will say this, I have 4 GIG's of RAM and 2 Quad Core processors and it still runs slow to me. Im upgrading soon to 8 GIG RAM in order to make my Windows 7 Very Fast.

More advise here, those stats were released by Microsoft, though windows vista cant even run off those specs.

-------

Dude, that's because Vista is VERY demanding of a system; Windows 7 is not.

How many ways are there to install Linux?

The following installation methods are available:

CD-ROM

Hard Drive

Network Install (via NFS, FTP, or HTTP)

Kickstart

PXE

Red Hat Network Provisioning

What account is created when you install Linux?

By default,there is only one account, root. However, most Linux distribution will either allow or make you set up a second administrative user account.

What scheduling algorithm is used in Linux?

Linux usually uses a pre-emptive scheduler, which means a process will run until either it makes a system call, or its time slice runs out. This is as opposed to a cooperative scheduler, which allows a process to run until it deems itself ready to go from running to ready state.

Needless to say, preemption is a much better model, keeping misbehaving processes from starving other processes of CPU time.

What is shell prompt?

The shell prompt is the visual aspect of the shell between running programs, th epart that shows it is waiting for you to give it a command.

What services are offered with the Linux web hosting?

The type and amount of technical support is dependent on the provider. The operating system the provider is using has little to no bearing on how much technical support they provide or what features are enabled.

Can you open a website in the command line in Linux?

Yes, but you will not get all the features and formatting that you would expect in a graphical browser.

Here's a few to get you started if you still wish to use a command-line browser:

  • Lynx
  • Links
  • W3m (image display available with framebuffer-enabled terminal sessions)

How would you instruct a Linux system to use the local network's DNS cache located at 192.168.1.254?

If your linux box acquire address automatically from your router then your computer already is using dns cache located at your router. Router is in almost all cases already using ISP DNS.

If you use static IP and some different DNS and you want to change it back to 192.168.1.254 you can use it probably through Network Manager. Most linux distribution has one.

Example for Ubuntu

Click System menu, click Preferences, then click Network Connections. Select the connection for which you want to configure local DNS.

For example:

To change the settings for an Ethernet connection, select the Wired tab, then select your network interface in the list. It is usually called eth0.

To change the settings for a wireless connection, select the Wireless tab, then select the appropriate wireless network.

Click Edit, and in the window that appears, select the IPv4 Settings or IPv6 Settings tab.

If the selected method is Automatic (DHCP), open the dropdown and select Automatic (DHCP) addresses only instead. If the method is set to something else, do not change it.

In the DNS servers field, enter the local DNS IP addresses, separated by a space: 192.168.1.254

Click Apply to save the changes.

If you are prompted for a password or confirmation, type the password or provide confirmation.

Test that your setup is working correctly;

Repeat the procedure for additional network connections you want to change.

What are the distributions of Linux operating system?

There are too many to list, as the it would take many pages to just list the titles

the most common distributions are:

Centos

Redhat Enterprise

Debian

Ubuntu

Slackware

Gentoo

Can Linux and Windows run on the same PC together?

Yes, and is known as a dual-booting computer. Install Windows first, then your chosen distribution of Linux (Ubuntu is one example). You will be given the choice of which to use at the start of booting up the computer.

What is a common method of installing Linux?

Download or buy installation CD.

Lots of time they have thing call LIVE CD where you can boot from CD without installing to HD to test it out.

It can be installed on pen drive or external harddrive too.

It is not recommended but it can be installed on top of windows drive.

Installation will take longer, but if you want thing fastest you will want to install on few separate partitions.

In linux. Which prompt does the root user receive when logged in to the system?

Typically a root user sees the '#' symbol as their prompt. If they already have a prompt via the PS1 shell variable then the # symbol is usually added at the end to indicate that they are a root user in this current context.

When should you specify an ext2 filesystem instead of an ext3?

ext4 supports a feature called 'journalling' which prevents filesystem corruption in the event of a power failure or system crash. When you are certain you don't need it, you can choose ext2. But for the vast majority of users, ext4 is the best option.

What is an hda on Linux?

It is the 6th partition of you primary IDE hard drive.

hd stands for hard disk ( Please note that in case of SCSI the names would be sd)

Disks are numbered as hda, hdb, hdc and so on

partitions are numbered as 1, 2, 3 and so on

So hda1 is the first partition on first hard disk and hdb2 is the second partition on second hard disk.

What is the command to list only one file?

Assuming you are looking for a specific file in a location, it's as simple as ls <name of file.> assuming you are in the directory you expect it to be in.

What are some of the most popular commercial Linux distributions?

There's Ubuntu, Debian, Red Had, Fedora, Gentoo, Arch, Mint, SuSE, Slackware...

A good way to find out is to look into Distro Watch. The web site more or less keeps a monitor on how popular a given Linux distribution is.

How do you use a USB Flash drive as RAM on Linux?

You cannot have RAM connected to a PC via a USB Cable. RAM is something that is connected to the PC in the inside of the computer through ports etc. There are several RAM types. If you're looking to improve performance on your PC and have Vista as well as having a flash drive, you can use a special feature which allows the PC to create more virtual memory, which results in faster speed.

How does the Linux kernel work?

The kernel is the core of the operating system.It is loaded into memory when the system is booted and communicates directly with the hardware.Users programs that need to access the hardware,use the services of kernel,which performs the job on user's behalf.