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

2
votes
4answers
477 views

Is a file manager in Linux a necessity or a luxury? [closed]

I agree that this is a kind of a personal issue - to use a file manager or not in Linux, but I heard that it's also a bad practice to use a file manager especially for newbies because first of all ...
4
votes
5answers
307 views

How to disable graphical shell?

I have a Linux system (Ubuntu) running in a VM, but now I want to disable the graphical shell. Where in the startup process are the graphical components launched? Is it some run-level dependent ...
1
vote
1answer
3k views

Timezone, Time setting in Linux using shellscript

I really need your help on a job of setting timezone and time on a router using Linux OS remotely from Web ( Linux OS based on Linux Kernel 2.6.30). For fulfilling this job, I use CGI and ...
3
votes
1answer
504 views

Get load average excluding niced processes

Is there a way to return the load averages, excluding any load caused by nice'd processes? We have a load balancing mechanism in place that checks the load of multiple Linux servers, and submits a ...
5
votes
1answer
394 views

Blacklisting Drivers

What does it mean to blacklist a driver in Linux/Unix? How do you go about doing it?
3
votes
1answer
161 views

Does linux have Blackbox like mechanism when system crashed in embeded linux?

In embeded linux, some times after the system crashes, we hope there is a blackbox (will record the key info before the system restart) , in linux, is there have such kind of mechanism to record the ...
4
votes
2answers
295 views

Non-interactive configuration of linux kernel

Is there any method to configure linux kernel in such way (just an example): make config CONFIG_OPTION=y && make config CONFIG_OPTION1=no CONFIG_OPTION3=64 CONFIG_OPTION4=/path/ and all the ...
3
votes
2answers
2k views

How to remove/change the message displayed when opening a terminal?

Using Ubuntu 10.10 .In GUI mode when I open up a terminal, a message is displayed at top left above the prompt: Ghost@work-Ubuntu:~$ , I would like to change it, so I would like to know in which file ...
2
votes
2answers
481 views

Chkrootkit warning about infected port 600

I run the Tiger Automatic Auditor on my Debian Linux system, and recently got emailed the following: # Running chkrootkit (/usr/sbin/chkrootkit) to perform further checks... OLD: --ALERT-- ...
4
votes
1answer
194 views

linux patches related to time measurement accuracy?

Is there a set of patches around for linux kernel that address accuracy of (system, rather than user) process time? i've heard about RTLinux, but i don't really need the actual real-time scheduling ...
4
votes
2answers
1k views

Sort behaves strangely on case sensitive sorting

Sort is sorting differently than I would expect. I have this file, call it text.txt: a 1 A 1 a 11 (the space is always one \t) I want to sort them alphabetically by the first column. ...
2
votes
0answers
494 views

Why are packets not moving forward? [closed]

I have a server with forwarding turned on. I placed an iptables LOG target in the PREROUTING, INPUT, and FORWARD chains of the mangle table. I can see the LOG messages from PREROUTING, but not INPUT ...
5
votes
2answers
1k views

What do these commands (`tar`) actually do? Is there a better way?

I am going over some documentation pertaining to creating a distro repo. However, I cannot understand exactly what these commands perform: # cd /mnt/ # ls centos-1 centos-2 centos-3 # for i in 1 2 ...
2
votes
6answers
1k views

A Live Linux Distro which is as small as possible (no X, no networking, bash) [duplicate]

I've been trying to find a Linux distribution to fit my needs but I need something that seems to be more minimal then "minimal" distributions (Eg: Microcore Linux) seem to provide. I don't need X, I ...
18
votes
3answers
31k views

Yum: How can I view variables like $releasever, $basearch & $YUM0?

I am setting up a yum repository, and need to debug some of the URLs in the yum.conf file. I need to know why is Scientific Linux trying to grab this URL, when I was expecting it to grab another URL: ...
0
votes
1answer
1k views

Convert text to image in centos from bash

I want to create an image [jpg, png, doesn't matter] from shell but I don't have convert command. The image is very simple - white background with a medium-size black text in the middle. Is it ...
2
votes
4answers
1k views

Use “grep” to match text in multiple files

I have data in multiple files. I want to find some text that matches in all files. Can I use the grep command for that? If yes then how?
2
votes
1answer
2k views

wget -c website's certificate verification

anisha@linux-dopx:~> wget -c --no-check-certificate --user abc --password xyz https://www.smart-developer.com/lnmshop/download/SmartDeveloperUS/203/SD_02.pdf --2011-08-29 15:11:53-- ...
9
votes
1answer
3k views

How to remove duplicate lines in a large multi-GB textfile?

My question is similar to this question but with a couple of different constraints: I have a large \n delimited wordlist -- one word per line. Size of files range from 2GB to as large as 10GB. I ...
3
votes
1answer
2k views

Which header defines the macro that specifies the machine architecture?

Shorter version of question: Which C header contains the macro that corresponds to the machine architecture of the system (e.g., __x86_64__, __ia64__, __mips__?) Longer version of question: I'd ...
2
votes
1answer
2k views

How to turn microphone jack to headphones jack?

I've picked out my headphones jack. Can i change my microphone jack to headphones jack only by soundsystem configuration? My soundcard is Intel82801I (ICH9 Family) HD.
-1
votes
4answers
1k views

How can I configure IP address from class E on Linux?

I would like to configure an IP address from class E, for example 241.0.0.2. Currently Linux (Linux-2.6.21.7-hrt1) returns the following answer: ifconfig: SIOCSIFADDR: Invalid argument Is there a ...
3
votes
1answer
465 views

advantages and disadvantages of manually un/mounting drives.

What are the advantages or disadvantages of manually un/mounting internal drives? I've never really bothered un-mounting internal HDDs after mounting them the first time around but would like to know ...
2
votes
1answer
86 views

Directing Xorg input to selected application

I'm trying to play Frets on Fire using my PS3 Guitar Hero III controller. It works right away, but it's also controlling the cursor as if it's a mouse. I'd like to play the game windowed, but that's ...
4
votes
3answers
875 views

Access point (with hostapd) on the same interface as the network/gateway?

I wonder if it should be possible to have an wireless access point using hostapd (as described in Set up an access point) on the same interface that connects to a wireless network for internet. I ...
5
votes
3answers
1k views

How to speed up my build

I am doing a build on a Linux machine with ubuntu 10.04 on it. I want to know how can I really speed up my build. I have 4 CPUs and lots of RAM. I already reniced the process group to -20. Is there ...
1
vote
1answer
177 views

lilo, install in target-mbr from another system

I have a embedded system (short ES) on a cf-card (short CFC). I plugged the CFC into the cardreader of my notebook. Sure the devices of my notebook are not the same then in the ES. Now the ...
21
votes
2answers
84k views

How to find the installation path for a software under linux?

Under linux, I launch a software by typing, e.g., fluidplot. How can I find the installation path for this software?
6
votes
3answers
11k views

What is a command to find priority of process in Linux?

How can i view the priority of a specific process ?
6
votes
4answers
4k views

How can I switch to my USB headset automagically when it's plugged in?

I'm running Funtoo Linux, a Gentoo derivative. My two new Plantronics USB headsets (one wired, one wireless) work nicely. I plug one in, ALSA notices it, and if I manually set an application to use ...
3
votes
1answer
1k views

Dual boot install (Windows after Linux)

Most of the faqs/how-to for dual booting assume windows is installed with 'nix being installed in unpartitioned space. I need to go the other way, i have wheezy installed and need to install xp, so, ...
2
votes
2answers
1k views

Mount points in a chroot

I have some device (say /dev/sda1) mounted at /home/user1. I also have a full Linux system under /tmp/chroot, and the directory /tmp/chroot/home contains only one directory named user2. If I chroot ...
1
vote
2answers
814 views

Left Ctrl key swapped with Fn key?

I used xev to try to capture the keycode, but I don't get any output from it. I get output for the rest of the keys I checked. This happened after my system froze (likely the fault of VirtualBox) so I ...
6
votes
1answer
1k views

Dual head configuration with two touchscreens in Linux

As a part of my current project I need to set up a Linux-based workstation with two monitors, both of which are multitouch-enabled (ViewSonic VX2258wm, Quanta touch panel). So, naturally, I set up a ...
12
votes
5answers
10k views

How to recover a shell after a disconnection

Am doing some work on a remote centos 5.6 machine and my network keeps dropping. Is there a way i can recover my hung sessions after i reconnect? EDIT: am doing some updating and installing with yum ...
4
votes
1answer
974 views

What happens to partition labels after removing a partition?

What will happen to all the remaining partition labels if I remove a single partition? For example if I have a layout that looks like this: /dev/sda1 /dev/sda2 /dev/sda3 /dev/sda4 /dev/sda5 and if ...
21
votes
2answers
16k views

How to colorize output of ls ?

I'm running CentOS in Linux text mode. When I run the command ls /usr/, the output is too hard to read (dark blue on black). How can I change the text coloring?
0
votes
1answer
4k views

How to know how long a process has been running? [duplicate]

Possible Duplicate: How to check how a long a program has been running? I am interested in doing this purely using bash.
19
votes
6answers
2k views

Is there a way to limit overall CPU consumption?

My laptop (an HP with an i3 chip) overheats like crazy every time I run a resource heavy process (like a large compilation, extracting large tarballs or ... playing Flash). I am currently looking ...
4
votes
2answers
84 views

Fail to use “locate”

I have a file named Fubini's_theorem.html under some directory. But both locate "Fubini's_theorem" or locate Fubini do not return anything. The file has been there for months, and I am sure ...
4
votes
4answers
356 views

Looking for small distro (to be installed automatically, with g++ and javac)

I'm looking for linux distro only with comand line and i need in it only g++,javac,python. I found Damn Small Linux but it dont have g++ and javac. It should have it out of the box because linux will ...
4
votes
1answer
616 views

RPM dependencies with localinstall

I need to install an rpm package on a system which has no internet access. So, let's say I already have needed dependencies. How do I install them only by running the main rpm package? Do they need to ...
5
votes
2answers
2k views

Red Hat cannot boot after clone with dd

I used dd to clone a x4100 server with Linux Red Hat. The hardware is identical for old and new servers. Disks are sda, sdb and sdc(sdc1 and sdc2). But newly restored server gives following errors and ...
5
votes
2answers
435 views

Powertop strange results

I have installed Ubuntu 11.04 and battery life decreased by 2 times. Powertop documentation says that there should be 3 wakeups per second, I have 800-900. I think it's very strange because I didn't ...
21
votes
6answers
26k views

How to replace one char with another in all filenames of the current directories?

How do you rename all files/subdirs in the current folder? Lets say, I have many files and subdirs that are with spaces and I want to replace all the spaces with an underscore. File 1 File 2 File 3 ...
2
votes
3answers
912 views

Recommended Resources To Get Started With Terminal-Only Linux Server?

I want to try to setting up a headless (terminal-only) Ubuntu Linux server, and am trying to find resources to get started. I've been a GUI Linux/Windows user for a while now, and have run through a ...
1
vote
2answers
385 views

Why am I getting an InitDevice::CreateDevice error when I try to run “Pirates of the Caribbean” with Wine?

I am running Ubuntu 11.04 on a Sony Vaio. I am using wine 1.3 to run a rather complex yet archaic gaming program, "Pirates of the Caribbean" (2003; not based off the movie). I started it up and after ...
4
votes
2answers
1k views

Run Python Portio script as normal user without root access

I know there are risks running a root script as a normal user, but in this case I don't have a choice and what I am doing is machine related. I have an Small Board Computer that has GPIO ports and I ...
2
votes
1answer
212 views

rpm content compress

My default kernel rpm has 12mb size, for some reasons I compile a custom kernel and make rpm from that(make rpm command). However, my custom kernel rpm size is 96mb. I look inside default rpm, in ...
1
vote
1answer
1k views

Why do I only get 100mbit on my Asus GigaX1005?

My GbNIC (Intel 82579LM, kernel 3.0 module e1000e) only connects with 100mbit although it's connected to a 1000mbit port (Asus GigaX1005) via an short (<3m) CAT6 cable. flo-nbook ~ # ethtool eth0 ...