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

Does Linux have java support?

Yes. Most operating systems have some form of Java for them.

What are the major steps necessary for implementing routing on a Linux network?

Answer:

NOTE: It is suspected that this question has been reproduced from an exam, quiz or test of some sort.

Step 1

The question is vague, but if you intend to use a Linux machine as a router you'll need multiple physical interfaces connected with your cat 5 or other cabling as well as all switches etc. set up and operating.

Step 2

Configure your connected ethernet interfaces (typically with ifconfig).

Step 3

Configure your routing table (typically with the route command or it's equivalent).

Step 4

Make any necessary changes to your routing host firewall (typically iptables or other).

Step 5

Enjoy the fruit of your labors.

NOTE: Much has intentionally be omitted from this answer because the question is too vague to justify a detailed response.

Which port is associated with ttyS0 in Linux?

The serial ports are named ttyS0, ttyS1, etc

Which one of the following utilities do you use on a Linux system to display the contents of a text file?

While you could use any text editor you like, the most direct way would be:

$ cat filename

Of course, if the text is large and spammy, you might wanna make it something you can handle a little better:

$ cat filename | less

I prefer less to more as more only lets you scroll down, whereas less lets you go both ways.

Why can't we use Linux OS in embedded system instead of VxWorks?

Depending on the system in question, you can. VxWorks has lower hardware requirements than Linux, so it is often used in weaker systems.

Why was Ubuntu Created?

It was originally created to be a temporary fork of Debian to allow for the development of strong desktop features for it.

In the end, however, Ubuntu stayed forked and Debian doesn't generally benefit from Ubuntu's feature set.

Short answer: Ubuntu was created to produce a "user friendly" version of Debian.

Why does Windows have better driver support than Linux?

First of all, its debatable whether Windows' driver support is "better." The current Linux kernel supports more devices than any single Windows release. Linux also supports more legacy devices than Windows Vista or Windows 7 and supports numerous architectures not supported at all by Windows. Drivers in Linux are also usually considered to be more stable than the drivers supplied by the manufacturer for Windows.

The reason new off-the-shelf devices may work in Windows but not in Linux is the result of a vicious cycle. Basically, some manufacturers are unwilling to expend the resources to develop Linux drivers and/or do not want to provide the documentation to do so, on the grounds that not many people use Linux. In turn, not many people use Linux because some of their devices won't work. Linux developers are more than willing to develop drivers for the device even if the manufacturer does not want to, but if the manufacturer doesn't provide at least some technical data, it is extremely difficult.

How do you change the file system size in Linux?

You can't resize a mounted partition, so you can't resize the root file system while the installed copy of Linux is running. To resize it, you should use a LiveCD like GParted that contains a partition editor.

How do you download Sabayon Linux without a DVD burner?

Downloading it does not require a DVD burner; only burning it to a DVD does. If you don't have a DVD burner, there is a smaller CD ISO image you can use to install it (as long as you have a CD burner). You can also use UNetbootin to install it to a USB Flash drive from Windows. If you have another hard drive in your system, you can also install it in "Frugal" mode to that drive, although performance will be somewhat impaired.

How does Linux know what program to open files with?

The exact method the desktop environment uses (it is not a feature of the Linux kernel itself) that selects a program to open a file with varies slightly, but works something like this:

1. The file manager / explorer tries to identify what type of file it is. Unlike in Windows, this is not determined by the file extension, but by various identifying features in the file, such as "magic numbers", or commonly used strings, and syntax used in specific types of plaintext documents.

2. The file is matched by its type to a program.

3. The file manager launches the program with the path to the file as an input parameter, much like entering "programname filename" on the command line.

Why it is important to run the lilo command before installing the LILO boot loader?

It's not. Running the lilo command either installs LILO or updates it, so you can't run it before installing LILO.

How you install and uninstall a new package in Linux?

Depends on the distribution

Debian & deriviatives (ex. ubuntu):

apt-get install packagename

apt-get remove packagename

Red-Hat Linux & derivatives:

yum install packagename

yum remove packagename

Gentoo:

emerge packagename

emerge unmerge packagename

Arch:

pacman -S packagename

pacman -R packagename

For others you may have to compile:

tar xvzf package.tar.gz (or tar xvjf package.tar.bz2)

CD package

./configure

make

make install

Can Minecraft work on Ubuntu?

Definitely. Since Minecraft is primarily Java based, it will run on almost any operating system.

How do you create directory or folder in Linux?

There's actually no such thing as a "hidden" file or folder in Linux. In Windows, files and folders are hidden by setting a file attribute on them, and is used to prevent novice users from viewing or modifying them. In Linux, a file or folder can be "hidden" from most shells and file managers by simply prefixing a "." in front of the name (.settings, for instance). A simple 'View > Show hidden files' or "ls -a" is all it takes to list them. The purpose is thus purely for cosmetic / organizational purposes.

What is the difference between Linux and OSX?

Linux is an open source operating system used on computers that would generally run Windows OS. There are many versions of Linux being developed by various interest groups.

OSX is a proprietary system owned by Apple that generally runs on Apple computers. There is only one 'current' OSX released by Apple at any one time. OSX is not used on iPhones, iPods, or iPads.

Both systems are related to Unix.

How can you use a Zune on Linux?

Currently, it is not possible to use a Zune with Linux. The Zune was required to use special software to sync music to and from it, in order to ensure DRM protection. The protcol for it has not yet been completely reverse-engineered.

What parameter and value is used to allow ssh logins as root to the openssh server as long as the user enters the password?

Before I answer, a warning: This is a highly dangerous setting that is not recommended. This allows direct access to the root account of a remote machine, making it especially vulnerable to SSH server exploits. It is *much* better to install and use sudo with a regular user, especially through SSH. Crackers will be looking for root accounts, not normal users as their names are hard to predict. Finding an SSH server that happily allows a root login is precisely what evildoers are hoping for.

Now, to answer your question: To log in as root: "PermitRootLogin yes" in /etc/etc/sshd_config... As long as there's no keypair associated with root on either machine it should require a password. But do yourself a favor and install sudo instead.

What is the password for su root in Linux?

The password would be whatever the root password is set to.

Why does my external hard drive work in Linux but not in Windows?

The most likely reason is that the drive was formatted with a Linux file system. Reformatting the drive to NTFS or FAT32 will make the drive usable in Windows. You could also install an ext4 driver in Windows to access the drive without reformatting it.

What are the different types of daemons in Linux?

LInux (and Unix) really don't differentiate between different "types" of daemons. A daemon is a background worker service process. It can do many things, such as networking, database,etc.

What port does smtp use in Linux?

SMTP is normally run on port 25, regardless of what operating system is running the service.

How do you install Windows programs in Linux?

To install a Windows program, you will need to have Wine installed. You can install this through Synaptic, or through the command line with the command

sudo apt-get install wine

After Wine is installed, you can run the installer by either right-click the program and selecting "Open with", and choosing Wine, or from the command line with the command

wine setup.exe

The setup program should launch and run; just follow the instructions as you would in Windows. To run the actual program, either find the program in your applications menu (probably under either "Wine" or "Lost and Found"), or navigate to the program's installation directory inside your home directory (ex. /home/user/.wine/drive_c/Program\ Files/WinRar ) and launch it with the command

wine program.exe

there is a program you can download on Linux called "wine" that program allows you to choose programs on windows which can be compatible with Linux

here is the link http://www.reallylinux.com/docs/toptip4.shtml