Questions specifically about Linux but not specific to a particular distribution. If the question could apply to any Unix-like system, specify your Linux distribution in the body of your question but do not use the /linux tag.

learn more… | top users | synonyms

3
votes
3answers
2k views

How to shut down or reboot a machine? [on different OSes]

What parameters do the "shutdown" command [or other command?] NEED, TO BE SURE that the machine reboots or shuts down for SURE? e.x.: version for Linux: # cat /etc/SuSE-release SUSE Linux ...
2
votes
2answers
2k views

How to create a new partition in Ubuntu

I want to build my own Linux as "Linux From Scratch". I need to get a new partition from my hard disk. I checked and saw I have sda1. (I have about 20G empty) When I use the fdisk command n, I can ...
6
votes
1answer
11k views

chcon: can't apply partial context to unlabeled file while installing nagios with SELinux

I'm setting up Nagios core on CentOS with SELINUX=enforcing. I try to run chcon -R -t httpd_sys_content_t /usr/local/nagios/sbin/ as suggested in the manual, but I get this error messages: chcon: ...
1
vote
1answer
3k views

Updating tar.gz daily only with changed files [duplicate]

Possible Duplicate: Add/update a file to an existing tar.gz archive? I have some game files I wish to update daily and they create a tar.gz of the folder, but instead of making a full ...
6
votes
6answers
354 views

Understanding Linux executable formats and software distribution packages

This kind of question might've already been beaten to death. If so, I'm sorry for beating it some more. I am having trouble understanding Linux executable formats and software distribution packages. ...
3
votes
1answer
560 views

KVM: network partially lost for the host, guests are fine

I got KVM working fine on a Linux system, for quite some weeks. Then today something weird happened: suddenly the host (and the host only) lost some of its Internet access: it can still access the ...
-2
votes
1answer
367 views

Linux “rpl” command doesn't replace text [closed]

I'm using rpl program in linux to replace date( with pdate( in some files. But it says A Total of 0 matches replaced in 1 file searched. while grep output for date( is: ...
1
vote
1answer
317 views

Debian - Stripped down Automated Install Disc

I want to create a debian install disc that only installs the minimum software to get a web browser such as ice weasel to run in an x-windows environment. Question: How can I make an stripped down ...
2
votes
0answers
185 views

What are the current differences between tuxonice and µswsusp?

I tried to find out what is the current comparation between TOI and µswsusp. Unfortunately I could not find any recent information about the state of hibernation in Linux and how TOI compares to ...
1
vote
4answers
6k views

Command to get cpu cores in LINUX IA64

I tried cat /proc/cpuinfo but there is no "cpu cores" it works on LINUX though cat /proc/cpuinfo | grep "cpu cores" Help me get a command for "cpu cores" in LINUX IA64
4
votes
1answer
1k views

Which order does find command use to print out

What order does the find command use to print out a list of files? Is this order different across different Linux distributions or versions?
9
votes
7answers
3k views

Why is Unix still used if Linux is based off of it, and Linux is free?

Also, it seems that Linux has a much friendlier user interface. Has Unix been trying to "keep up"?
2
votes
1answer
929 views

What does the syntax of these echo commands mean?

I tried to use a copied script, which includes the following command echo "rc $2" > $WORKDIR/out.dat I can guess it tries to output some contents to file out.dat. But what does rc $2 mean? It ...
2
votes
1answer
1k views

How to configure a catch-all CNAME on Ubuntu Linux using BIND 9

I'm trying to set up APE server on my local system. I'm using Ubuntu and BIND and I need to set up a catch-all CNAME record. What would be required for this?
4
votes
3answers
10k views

How to find processor speed on Linux w/throttling

My /proc/cpuinfo says my processor is 800Mhz, when I know the thing is actually 2.8Ghz. This is due to idle throttling where the cpu clock is slowed when idle to save power. Is there a way in Linux ...
13
votes
2answers
26k views

show gateway IP address when performing ifconfig command

Currently, when using the ifconfig command, the following IP addresses are shown: own IP, broadcast and mask. Is there a way to show the related gateway IP address as well (on the same screen with ...
7
votes
3answers
2k views

How to stop a bunch of processes on unix fast?

How to stop a bunch of processes on unix fast. I can use ps/top, kill. If the number of processes is very large, I use shell script. Are there other ways, only one or two unix commands can do it ...
12
votes
3answers
46k views

Command line to return to the GUI after Ctrl-Alt-F1?

I'm unable to return to the GUI with Ctrl-Alt-F7 (or any of the 12 function keys). I have some unsaved work and I don't want to lose them. Are there any other key combinations that will allow me to ...
8
votes
1answer
6k views

Enable num-lock as default in Linux

There has been a similar question - but IMHO there has to be a simpler solution. If num-lock is on in the BIOS - why is it turned off during linux boot and/or KDE/Gnome/whatever startup?
2
votes
2answers
469 views

Simple wrapper scripts spawning 100s of bash processes

I have this kind of GCC multilib wrapper set up: #file: gcc #!/usr/bin/env bash gcc -m32 "$@" which essentially just wraps a 64-bit multilib gcc to act as a non-multilib 32-bit gcc. When I build ...
6
votes
2answers
5k views

mount freebsd slice partition under linux

I have under linux: Device Boot Start End Blocks Id System /filename.img * 63 1007999 503968+ a5 FreeBsd Under above partition i have two ...
1
vote
1answer
481 views

What unix certifications are available? Are there any self-taught?

I have a friend who is a Red Hat Certified Engineer. I also know there is the Linux Professionals Institute LPIC-1, 2, & 3. Are there other popular ones? How do I pick one to start with?
1
vote
2answers
10k views

How do I install Samba on Red Hat Linux?

I have just downloaded the samba-3.6.1.tar.gz file from the Samba website and want to install Samba on my RedHat Linux machine, I have extracted the contents of the samba-3.6.1.tar.gz folder but ...
2
votes
1answer
622 views

How do I hibernate my PC when I press the power button

Is there any way to make my PC hibernate when I press the power button? By power button I meant my CPU's power button. Obviously when I press this button somewhere some signal is sent which I don't ...
1
vote
1answer
776 views

Install Puppy Linux or “Damn Small Linux” on Pogoplug (~NSLU2) possible

I am thinking about buying Pogoplug (50 $) which is in fact a NAS server similar to the famous nslu2. Like the nslu2, this device can be hacked to have a full fresh Linux server running. There are ...
2
votes
1answer
2k views

How come my rtl8188cus device cannot connect?

I have a Edimax EW-7811Un usb wifi adapter, which uses a Realtek 8188cus chipset internally. I can use wicd to perform a network scan with the adapter, and it lists the networks correctly. But when I ...
1
vote
1answer
588 views

How does one enable different backgrounds for each viewport screen in linux?

I was wondering if it was possible to enable different desktop backgrounds in the four different gnome viewport screens using linux mint?
20
votes
1answer
4k views

Run a command for a specified time and then abort if time exceeds

I want know how I can run a command for a specified time say, one minute and if it doesn't complete execution then I should be able to stop it.
0
votes
3answers
352 views

Fedora, CentOS, Ubuntu Linux all are open source linux, but what about when i want to make my own brand from that?

I have used Fedora/Ubuntu/CentOS all of them, and they are open source linux, free to all users and free to do almost anything. But i do not get this correctly yet. They are open source, and they ...
0
votes
0answers
805 views

How to install VGA2USB in ArchLinux?

How do I install VGA2USB in Arch Linux? I downloaded the driver vga2usb-3.26.0.27-ubuntu-3.0.0-12-server_X86_64.tbz I tried with latest kernel did not worked failed with same issue, now showing with ...
10
votes
1answer
3k views

what level of the network stack does tcpdump get its info from?

As I was trying in vain to fix a faulty ethernet controller here, one thing I tried was running tcpdump on the machine. I found it interesting that tcpdump was able to detect that some of the ICMP ...
12
votes
4answers
675 views

How to write a script that effectively determines distro name?

I saw this post on all the different ways to find out what distro is installed, so I'm trying to write a script that tries them all. The possible commands include: $ cat /etc/lsb-release $ cat ...
1
vote
1answer
12k views

Mount a Windows network drive

I want to mount a netword drive on the server (SBS2008). I have two options: Either using a fedora which already mounts on a CentOS server or directly on the CentOS server. Here is the command I tried ...
4
votes
1answer
2k views

Debian 6.0 system with 2.6.39 kernel dropping packets, sandy bridge hardware

I recently migrated an existing Debian system to new hardware, a core i3 chip running on an intel sandy bridge motherboard. I’m experiencing a very strange problem; when I ping my router, about 50% of ...
1
vote
1answer
652 views

rpc.statd and avahi-daemon listening on all networks?

Background: - I'm running a home Debian GNOME desktop connected to the internet through an ethernet cable to an ethernet router. - I have a printer connected directly to my PC with a USB cable. - My ...
5
votes
1answer
378 views

Is there any way to play these videos in Linux?

I haven't been able to play videos from here. I tried Moonlight, but it doesn't show an image, just sound, and sometimes some part of the image, but mostly a black canvass. Thanks.
0
votes
1answer
1k views

Seem to be having a problem with RealVNC with centos can't input username

Hello I seem to be having a problem with RealVNC with centos. I want to connect to a another machine, but can't because it has been "grayed out". In otherwords, I can't type in the username in the ...
4
votes
3answers
2k views

SCP works, but SSH doesn't (over wifi)

As the title says, when I'm using wifi at my office, I'm able to copy files to and from my server using SCP, but for some reason SSH is non-responsive. It just hangs, doesn't print anything, and I ...
0
votes
1answer
2k views

How to set IP adress automatically in Arch Linux?

I am using latest Arch Linux. But whenever I start my PC, it sometimes gets an IP address but most of the time, it gives me stress. I am getting very confused, how can I make sure it is really setting ...
1
vote
2answers
166 views

How to log if an environment variable is unset? [closed]

How can I write a shell script that checks for an environment variable and writes to a log file if the variable is unset? Also, if the file name pointed by env variable doesn't exist, how to create ...
5
votes
2answers
2k views

Do sleeping processes get the same CPU time?

Some processes spend most of their "lives" in a sleep status. Daemons, servers and general listener come to mind. I was wondering if they get the same CPU time in that state? On something like my ...
3
votes
1answer
440 views

Creating a local in-house testing web server

What we are trying to achieve is to have an in house Linux-based (probably Ubuntu) web server which we can test on before pushing to our remote dedicated hosting server. The problem we are going to ...
1
vote
3answers
606 views

Managed code programming languages in Linux

Is there a .NET-like managed code programming environment in Linux? I've heard of Mono, but I don't see it extensively used -- even now Python can be seen used in most open source projects. Edit: ...
0
votes
2answers
788 views

How to maximize the use of computer performance Core i7 [closed]

How to maximize the use of computer performance Core i7 960 / 12GB Ram?. My operating system is Debian 6 (Linux kernel - 3.0.0-1-amd64). I think it does not work very quickly. Looking for some ways to ...
4
votes
1answer
430 views

Throughput test setup with two local Ethernet interfaces

I'm currently testing the routing performance of a hardware device (DUT - Device Under Test) with the following setup (all addresses start with 192.168.): eth0 (29.2) <---> eth1 (29.1) eth2 ...
2
votes
0answers
1k views

nsswitch cache and nscd

I have an LDAP directory server installed that stores all the user data in one server and I have an ongoing authentication mechanism using pam to request user information from it. This works very ...
0
votes
1answer
470 views

What does ^> mean in a grep pattern?

What does this command do? grep "<[^>]*>" inuux.xml What is searching for?
2
votes
0answers
903 views

Fedora 15: Linux 2.6.40 + tg3 = pain

I have an IBM BladeCenter blade running Fedora 15. Everything works fine with 2.6.38 kernels, but when I boot with a 2.6.40 kernel, I lose connectivity after a few seconds. Removing and then ...
0
votes
0answers
441 views

“Error inserting microcode” on new install of Fedora 15

I started getting an error that looked like this the other day, and I Googled the problem but couldn't find the solution (probably because I don't quite to know what to Google), so I reinstalled the ...
2
votes
2answers
1k views

OpenBSD NFS server with Linux NFS clients — file size limit?

I've set up an NFS server on OpenBSD 4.9. The client is Arch Linux x86-64. The mount has no problems with small files but when trying to read large files (in the example, an 7.4G iso file) it will ...