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 are some commands to make a sub directory in Linux?

mkdir directoryname

mkdir "directory name with spaces"

How do you turn any Linux distro's iso image into a LiveCD?

It is very difficult to build a LiveCD from scratch. Basically, you need a kernel that can read ISO9660 images, a file system image (either squashfs or cloop), and an overlay system, to make it look like you are changing things on the file system, but are erased on shutdown. The overlay is one of the most difficult things to construct from scratch, which is why I recommend you use a base CD from an existing LiveCD distro.

There are several distros you can use as a base, and several tools you can use to help you. Ubuntu, Debian, Knoppix, and Slax are the most popular bases for LiveCDs. To remaster the image, you can:

* Use Remastersys (for Ubuntu). * Use DRUDell (for Ubuntu) * Use Revisor (Fedora) * Use mklivecd (Debian and Madriva) * Use Custom NimbleX (online LiveCD creator, based on Slackware) * Do it manually, via the command line.

The instructions vary per distro on the command line. Basically, you copy all the contents off an ISO image, mount the compressed file system, copy it's contents to another folder, chroot into those contents, make changes, build a new compressed image, and build the contents back into an ISO image. While this method is more difficult (or at least more tedious), it allows you far more power to customize.

Is Linux easy to install?

Depending on the distribution (or distro) one chooses to install, the installation process can be quite simple. As Linux is largely distributed via Internet downloads, users seldom start with a physical CD or DVD and installation manual. Still, for most distros - especially the more common or popular flavors - there is a wealth of documentation online. Some of the more popular "entry-level" distros include OpenSuSE, Ubuntu, Fedora, Mandriva, and PCLinuxOS. Each of these has a large community base of home users and dedicated developers that maintain online manuals and upgrade each distro for future releases.

Most entry-level Linux distros offer at least an option of progressing through a graphical installation process; that is, one starts the computer with a bootable CD/DVD in the drive, and the installation process starts automatically with a visual series of screens through which the user selects (often by mouse-clicking) different options for installation. Some distros go one step further by allowing the user to select a "preset" installation method (e.g. "Home User," "Workstation," etc.), where the most suitable options are automatically used. Other distros can be geared toward users more comfortable with the Linux OS, and may rely on more advanced text-based installation methods

Additionally, many Linux distros are packaged as "Live CDs" which can be used to boot the computer into the OS without installing it, so the user can preview the distro or just use it without having to install onto the hard drive. Live CDs are a good way to introduce oneself to the distro without altering any existing information on the hard drive.

As a final note, a user considering installing a Linux distro onto a computer should bear in mind that installing any Linux distribution makes certain changes to the boot sectors of the hard drive, and these changes will most likely render any existing operating systems (like Windows XP) unusable. There are ways to avoid this, including dual- or multi-booting, and ways to recover and re-enter a previous OS after installing Linux, but these processes are typically fairly advanced and involved, and the risk of permanently damaging or losing some or all of the information/files on a hard drive can be high. For the first-time Linux user, a Live CD (or at least installing onto a blank primary hard drive with no other files on it already) is usually the best way to preview a distro.

Can Linux be used for a networking operating system?

Neither one is "more suitable for networking" per se. Almost any computer is capable of being networked in some fashion, and if they all use the same protocols, they can communicate equally. The reason one operating system might be preferred in a situation over another depends on it's ability to handle the data it gets over the network, not the act of being networked itself. Linux servers often have better performance for things like databases and file storage, so it is easier to provide the requested data faster. They usually also have more robust protections against DDoS attacks. It doesn't mean that it is easier to network, that it can utilize more bandwidth, or that it provides features that couldn't necessarily be implemented on another system.

How many people wrote Linux?

Millions of people use it.

It's hard to tell exactly how many people use it as their desktop OS, as it's free for download and you can use it on as many computers as you want. Still, recent estimates put the number at around 65 million (that's more than the population of the UK!).

Also, we shouldn't forget that most servers use Linux. So Facebook runs on Linux servers. As does Youtube. And Google. The list goes on.

Considering this, we can update our statistic to 1,802 million (see http://www.internetworldstats.com/stats.htm).

So really, even if we have Windows installed at home, we are all using Linux everyday. A better question would be: who isn't using Linux?

Which commands can you use to determine who is logged in on a specific terminal?

The best command for this is who -a. This allows you to see everyone logged in and where. Here's what my who -a output looks like right now.

LOGIN tty1 2013-04-09 03:41 207 id=tty1
yaro ? :0 2013-04-09 03:41 ? 303
yaro + pts/0 2013-04-09 03:41 06:12 359 (:0)
yaro - pts/1 2013-04-09 03:41 . 550 (:0)

I suggest looking at the who manpage for more details.

What is one advantage of using Linux rather than a window operating system on a desktop?

Linux runs it's graphics entire in user space. Windows runs much of it in kernel space. When the graphics core of Windows crashes, the entire system goes down. When the graphics core in Linux crashes, it can easily be restarted without rebooting the computer.

And Linux

1-It is for free.

2-It has open source

What is fstab?

The file /etc/fstab is commonly found in UNIX (Such as BSD, UnixWare, or OS X) systems or UNIX-like systems (Such as Linux, Plan 9, or Minix.).

It is a plaintext file, not always modified by the user, and it stands for FileSystem TABle.

Though it can describe every filesystem on your computer, it is usually just used to describe filesystems that need to be mounted at boot as opposed to everything available.

Typically you'll find:

A description of your root filesystem, which is the topmost level all directories and mounted filesystems will branch off of.

A description of your pseudoterminal and shared memory virtual filesystems which are usually required in Linux by most applications (Your terminal emulators and the screen command depend on pseudoterminal devices to work.)

A description of your swap partition, where virtual memory or hibernation data will be stored. This particular filesystem is not actually mounted, but activated and given over to the control of the *nix memory manager. There is no way to explore this filesystem as a user.

Other filesystems and mountpoints may also be commonly described, the three most common being /home, /usr, and /boot.

Removable media can also be described in here, but it's impractical and inflexible, not to mention grossly unnecessary due to HAL and udev, which will manage such things in much the same way as Windows manages its removable media. That is beyond the scope of this answer.

Long answer short, it's a configuration file Linux needs to boot and function properly, don't mess with it unless you know what you are doing. Your Linux distribution's installer is likely to automagically generate this file for you.

What command can you use to safely shut down the Linux system immediately?

a buddhist might say that this is a question wrongly asked. if you want to shut off a system immediately, you can use "poweroff -f", but you might find that it isn't "safe", in that it doesn't send halt signals to the running processes, so you might get errors in the file system. that happened to me a little while back. and i beleive just running "poweroff" turns the system off safely, but possibly not very quickly.

What is fdisk in Linux?

fdisk is a name shared by many programs on multiple platforms. The purpose of these programs is to partition and format a disk.

How do you connect to Postgresql in Linux?

Postgresql is a database server. It can run on any machine, not just linux. A variety of applications need databases, some of them connect to Postgresql. An application connects to the database in the same way, reguardless of which system you are running. You could be running Windows, OSX, Linux, BSD, Solaris, etc... it doesn't matter.

To answer your question, you connect to the database using whatever programming language you are using. The connection will be the same reguardless of what operating system you are running, but will be different depending on what language you are writing your application in.

For example, if you wanted to connect to a Postgresql database in python, you would do something like this:

import pg

con1 = pg.connect('testdb', 'myhost', 5432, None, None, 'bob', None)

What is at the top of each window in computer?

Typically (at least in Windows OS), that will at least consist of the Title Bar and (in most cases) the icons to Minimize, Maximize, Restore and/or Close the window.

What Fortune 500 companies use Linux?

Google, Yahoo, Disney, Dreamworks, Pixar, Amazon, E*Trade, Reuters, Merrill Lynch, IBM, TiVO, DishNetwork, Garmin, US Department of Defence, Department of Energy, National Security Agency, 65% of active websites on Linux servers, 85% of the top 100 supercomputers in the world,

Can Linux be used on other systems that run Intel compatible processors?

Yes. Linux has been ported to over a dozen CPU architectures, such as PowerPC, SPARC, Alpha, MIPS, SH-3, SH-4, ARM, and the Motorola 68k.

P.S. - AMD processors are considered Intel-compatible.

What might you consider when deciding witch version of Linux to install?

These are the questions one should ask him/herself:

1. Do I know how to put Windows back if I decide I don't like it?

2. Do I know how to make the computer boot from a CD / DVD?

3. Do I know if all of my hardware is supported?

4. Do I have any programs that I need to run that a.) don't have a Linux equivalent, and b.) don't work under Wine?

5. Will my warranty be voided on my computer if I install another operating system?

What command displays the time on most Linux and Unix computer?

The time command is used to time a command and not display the actual time. To display the time and date, the date command must be used.

What are some of the costs associated with installing a free operating system wuch as Linux?

There's no inherent cost, other than that of downloading and creating a CD or purchasing a copy for a nominal fee. Learning to use the system and migrating apps or finding replacements factor in to the "cost", especially for enterprises, but the cost would be similar even if migrating to a proprietary incompatible operating system.

How can you find the phone number on Linux for ace electronics in a file named phone that contains a list of names and phonenumbers?

grep 'ace electronics' phonelist

will return all the lines in the file phonelist that contain the phrase 'ace electronic'

grep -i 'ace electronics' phonelist

will do likewise but case-insensitively

How do you configure DNS in Linux operating system?

A DNS is a Domain Name Server. A domain is the name of a website, such as wiki.answers.com. Without a domain name server, you would need to know the IP address for the website. But with DNS, the name of the website is matched up automatically to the IP address.

Where is the network manager service located in Linux?

A network manager is an application or daemon that saves, loads, and applies settings to the network devices in the computer. They are used in preference to the traditional configuration files in /etc/network when the user needs to quickly switch between different networking profiles (such as switching wireless networks).

Is Linux an opperating system?

There are a range of versions of Linux - part of it's appeal is that it can be used for a wide range of computers, from phones to supercomputers.

Linux is based on the Unix operating system; both can offer real time, multitasking, multiuser, lightweight and flexible systems - although not necessarily all of these at the same time.

What is the name of penguin mascot of Linux?

Tux does not correspond precisely to any real-world penguin species. Torvalds was inspired to have a penguin as a mascot after an attack by a Fairy Penguin. In appearance, Tux most closely resembles the Adelie Penguin.

What is response time in operating system?

Response time measures the performance of an individual transaction or query. Response time is typically treated as the elapsed time from the moment that a user enters a command or activates a function until the time that the application indicates the command or function has completed. The response time for a typical Dynamic Server application includes the following sequence of actions. Each action requires a certain amount of time.