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 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.

What command in Linux do you use to mount a USB storage device?

Assuming you have mounted the USB device on /mount

  • sudo umount /media
  • sudo udisks --unmount /dev/device_name

If you wanna unmount and cut the power to the device

  • sudo udisks --unmount /dev/device_name_with_number && udisks --detach /dev/device_name

ex: udisks --unmount /dev/sdb1 && udisks --detach /dev/sdb

Sudo command gives you admin (superuser) privileges if you are logged in as a standard user.

How do you share files between Linux and Windows?

You can type in smb//192.168.1.1/ into a file manager window (put the windows computers IP address in there though)

Which directories are most important on Linux?

/ The root directory. All other directories are under this one.

/boot The kernel image, bootloader, and are stored here.

/etc Many of Linux's configuration files, including kernel module configuration.

/bin, /usr/bin, /usr/sbin Any of these "bin" directories will hold executable binaries (i.e. program commands).

/usr This holds most user applications, documentations, graphics, etc.

/lib, /usr/lib Important system libraries are stored here.

/root The system administrator's home directory.

/home All other home directories for all users are here. For example, a user's home directory might be /home/user.

/var Variable data, such as mail spools, log files, etc.

/tmp Temporary files created and used by applications.

/dev Devices are setup in this directory.

/mnt Mount points for filesystems, whether physical or virtual.

/proc This is a virtual directory which contains information about the kernel

/lost+found Files that might have been recovered after a bad shutdown or other event might show up in the lost and found.

How do you identify executable files in Linux?

Open a terminal, browse to the directory where the files are, and run the command "ls -l". On the left-most side there will read something that looks like -rwx-. "r" means readable, "w" means writable, and "x" means that the file is executable. If the "x" is not there, then the file is not executable.

What does Linux mean?

Linux does not technically stand for anything. It's name was originally created as a shortened form of "Linus's Minix." As this is not really technically accurate, and Linux has grown far beyond Minix in popularity, the name stands as a word in its own right.

Windows is based upon unix or Linux?

Unix is no longer a single operating system, and as such no single company makes it. Historically, Unix was created by AT&T. Nowadays, operating system collectively referred to as "Unix" are created by companies such as Sun (Solaris), Hewlett-Packard (HP-UX), IBM (AIX), and Apple (Mac OS X).

How do you configure a Linux server?

There are many proxy server packages available; each has their own method of configuration. You need to be more specific as to the one you wish to configure.