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

Why might one administrator choose one Linux filesystem over another?

Oh, various reasons. Each filesystem has its strengths and weaknesses. Some handle lots of read/write operations more efficiently than others, some deliver in speed, others handle great big files and others handle very small ones.

How can I connect to a wireless network using command line in Linux?

Connecting to wireless is a somewhat different beast than connecting to wired networks because there are several extra aspects to the connection. The following instructions will walk you through 1) making sure your drivers are correct, 2)Connecting to the AP, 3)Joining the IP network.

First things first, make sure that you can turn on the wireless interface, which might be named wlan0, ath0, or some other convention. If you can, then you have properly installed wireless card drivers. If you can't, then you might have to install drivers, firmware, or both to get it working.

ifconfig wlan0 up

Next, the configuration of all the wireless configurations is done using the iwconfig command. Using that tool, you can enter the SSID, Access Point MAC address, etc. Usually specifying the SSID is sufficient. To see a list of available SSID's to connect to, use iwlist, then configure your interface like so:

iwlist wlan0 scan

<produces a list of various SSID's along with their Access Point, frequency, encryption type, etc.>

iwconfig wlan0 essid "MyNetworkSSID"

Check the current configuration of your interface like this:

iwconfig wlan0

If your interface has joined with the access point, you will see all the configuration information here.

Now, your network HOPEFULLY has some sort of encryption. For that, you will need to install wpa_supplicant. The configuration here can vary from one distribution to another, but basically it will store encrypted network keys for various SSID's. If you use encryption you will have to use it, but I'm not going to explain how to set it up as it may be different on your distribution.

All of that just registers you with the Access Point. Now you can finally set your IP address either by setting it manually or obtaining it through DHCP.

Manually:

ifconfig wlan0 192.168.1.100

or by DHCP

dhcpcd wlan0

or

dhclient wlan0

Who are the co founders of Linux?

There are no co-founders of Linux. Linus Torvalds created it alone, however, after some time more and more people joined the core development

What Linux operator causes the output to be appended to an existing file?

This operator also exists in Windows as well. The operator is >>.

What is a kernel module explain the life cycle of Linux kernel module?

A kernel module is a piece of the kernel that is not built as part of the kernel. This is largely to keep the kernel from having to initialize and run components it does not need.

By far the most common application of the loadable kernel modules is device drivers. If you have an nVidia card you likely won't need, for example, and Intel or AMD/ATI drivers loaded, but you *might* want Nouveau.

This allows the kernel to be smaller and more memory efficient, while still providing all the needed services required for the hardware on your computer.

The "life cycle" is usually something like, in the case of devce drivers.

1. The kernel catalogues all your hardware by probing all the buses.

2. Udev goes through everything the kernel has noticed and, through rulesets, determines what drivers to probe into the kernel and what permissions and nodes need to be created for device files in /dev.

3. The module should, by this point, have been loaded and run, initializing whatever hardware it supervises, and you use your computer. MOST device drivers don't get unloaded. They simply run for the whole time the system is up in case you need them, which in most cases you do. They can be unloaded, but often even after the hardware is disconnected, udev might notice, but still keep the driver loaded and simply adjust /dev to reflect the device removal.

In cases of non-device drivers, it is often more like this:

1. The user or a program with sufficient privileges realizes they need some specific service not built into the kernel. The user will usually issue the command "modprobe" with the module they need then proceed with their work. Software make make some system calls or some API calls to get a module loaded into the kernel for it so it can work, this is often what occurs with userspace filesystems: They immediately request that the fuse driver get loaded.

2. Whatever the user or software need to do gets done.

3. Often the module stays loaded like device drivers, but a user may issue "rmmod" to unload the driver if they are concerned about memory consumption.

Pretty much the only "common" time a module gets unloaded is if a new version of the module is installed. Thus you'd rmmod and modprobe the new module, but most times this use case won't even work (Most modules are updated as part of a kernel upgrade and therefore the kernel would reject the module as an "API mismatch.")

For most hardware this isn't really much of an issue. For video drivers, usually proprietary ones, it is, and you'll have to reboot to get the use of the new driver, one of the only two cases where restarting Linux might be "necessary," the other being a kernel upgrade.

How do you make Linux safe?

Most Linux distributions are already secure. It would actually be more difficult to make them"unsafe."

What web servers are available for Windows?

There are several major web servers available for Windows:

  • IIS - This is produced and supported by Microsoft
  • Apache
  • Lighttpd
  • Cherokee
  • nginx
  • Zeus web server

What is Start X in Linux?

It's a command to start the X server for running Linux in graphical mode, if you have any of the desktop environments and/or window managers installed.

What is the overall role of Linux and what does it allow the user to do?

The overall role of Linux is to provide a Unix like Posix compliant kernel that when used in conjunction with other software and packaged into a "distribution" (eg. Debian, Gnewsense, Ubuntu) provides a complete operating system environment that can be used on a variety of different processors.

In other words, a GNU/Linux distribution allows the user to do everything you would expect an Operating System to do, as well as provide all the applications that a user would need to use to accomplish tasks on a computer (eg. web browsing, email, word processing, spreadsheet calculations, database formulation, archiving etc.)

Because Linux and the majority of the other software found in most distributions is licensed under the GNU Public License, a user can expect to have the freedom to do the following:

  • the freedom to use the software for any purpose,
  • the freedom to change the software to suit your needs,
  • the freedom to share the software with your friends and neighbors, and
  • the freedom to share the changes you make.

This is in stark contrast to most proprietary software which generally restricts your usage of that product to usage deemed acceptable to the owner of the software (ie the software company) through End User License Agreements, most of the terms of which most users do not read and do not understand.

What is the cost to purchase a Linux license?

Nothing. The GPL is not a license you purchase.

It is legal to sell Linux distributions, but most (Except for Red Hat Enterprise and a few others.) don't cost a thing and are free to download.

How much money does Linus Torvalds have?

Linus Torvalds was worth approximately $20 million in 1999. No doubt the value of the stock he owns has gone down, but it is safe to say that he is still a millionaire.

Why does Linux NOT install all program files of a software under the same folder but instead spread to many other folders making dependency management necessary?

Dependency has nothing to do with where the files are located. Most programs in Linux share libraries, and place the libraries under a separate directory for organizational purposes. Sure, you could place a copy of the library under each program's directory, but this wastes space and defeats the purpose of shared libraries in the first place. ALL operating systems that use shared libraries, including Windows and Mac OS X, require dependency tracking for proper operation. The only way this could be eliminated is if we all went back to static binaries instead.

How do you get and install Linux Mint while using Linux Ubuntu?

1. download and burn the setup media
2. meanwhile backup your home directory (including the hidden folders)
3. install Linux mint
4. extract the backup to your home folder

Further to above:
When installing Linux Mint from the CD (iso), the Ubuntu already on the hard-drive will be automatically detected. You will be asked whether to install Mint alongside Ubuntu, so creating a dual-boot, or use the entire hard-drive for Mint alone, so wiping Ubuntu off the hard-drive.
If you do create a dual-boot system, on booting the computer you will have the choice on using either Mint or Ubuntu.

What are Linux download packages called?

They're collectively called packages, unless if you are referring to manually-downloaded compressed TAR archives, which are commonly referred to as tarballs.

How do you access slave hard drive in Linux?

Big chance that is on /dev/sdb

if no then try /dev/sdc and /dev/sdd

to mount em do in terminal:

su

(you password)

mkdir /mnt/slave

mount /dev/sdb /mnt/slave

change as you like

you drive will be accessible in /mnt/slave folder

What is ifconfig?

"ifconfig" is a command found in most *NIX operating systems (think UNIX, Linux, BSD, etc...). it's equivalent in Windows is "ipconfig". it is a command you call from the shell (not the graphical user interface) that allows you see/set IP configurations for a specific interface.

What is Linux Hosting and where can you get more information about it?

Linux hosting involves hosting your website on a Linux based server in order to make use of additional coding and programing not available to other operating systems. You can find more information about Linux hosting at the Webhosting Top website.

What is Larry the Cow's relationship to Linux?

Larry the Cow is the unofficial mascot of Gentoo, a semi-popular Linux distribution.

What are binary files and libraries in Linux?

Binary files are compiled programs. Libraries are external resources that one or more programs can call upon to aid them in a task.

How about the process scheduling for time sharing processes in Linux?

Most UNIX based Operating systems use a "time slice" method of scheduling. A ready process will operate for it's allocated time slice, then be put on the "ready queue" and the scheduler will first attempt to find the next ready process of highest priority to execute. It may be the same process again if no other process of higher priority is ready. Ready implies that the process is not waiting for resources and is not waiting for a timer or other interrupt. When a process has run until it is no longer ready, it is put on the queue along with a list of resources or interrupts that it needs.

What are compression and archiving commands in Linux?

tar cvf archive.tar *.txt

will create an archive called archive.tar with all the .txt files in the current directory.

tar cvzf archive.tar.gz *.txt

will create a compressed archive called archive.tar.gz

What are some software that can be run on Linux wine?

Linux wine allows the user to run Windows software when they are using a Linux operating system. One would like to do this if they like how Windows software works rather than the Linux equivalent, for example some people like Microsoft Office products.