These questions are about Linux in general -- NOT specific to a particular distribution. If the question just happens to be in a Linux environment, please specify your Linux distribution in the body of your question, but do NOT use the /linux tag.

learn more… | top users | synonyms

2
votes
1answer
479 views

How to feed linux new install drivers?

I'm trying to install a Linux distribution on my new setup, but after the first tries I failed without knowing why. My configuration: Desktop PC HP Processor: Intel Core i3 2120 @3.30GHz ...
2
votes
4answers
2k views

Replace all but a set of characters in a file with newline

how to delete all characters in file except numbers and "." , each word (numbers/dot) should be in new line in file see example2 the solution can be with sed or awk or ksh syntax remark - ...
1
vote
1answer
297 views

solaris + fit egrep for solaris

On Linux machines I use this syntax, in order to match all VALID ip's. My question: what needs to change for egrep command in order to run the egrep on Solaris? According to egrep manual page "-o" ...
2
votes
2answers
3k views

Concatenate multiple files under subdirectories

My directory structure is given below x:\Project_2012-158A\Sample_4041 SampleSheet.csv 4041_CGTACG_L002_R1_001.fastq 4041_CGTACG_L002_R2_001.fastq 4041_CGTACG_L006_R2_001.fastq ...
6
votes
2answers
1k views

What happens if I set default system runlevel to 0 or 6?

What I understand from runlevels is that in each level some programs have permission to be executed and some don't. runlevel 3 boots system into CLI and runlevel 5 starts the default GUI. But I don't ...
2
votes
0answers
285 views

How to setup KVM partitions?

I'm trying to install SolusVM/KVM on a server with one 500 GB HD and one 256 SSD. I am a complete beginner at Linux. SolusVM has a script on the site to download and install automatically, but how do ...
2
votes
1answer
140 views

questions on find and grep

With respect to the following find command-line find . -type f -exec grep -l strings {} \; I do not understand the usage of -exec and {} \.
-2
votes
1answer
417 views

/opt/nvidia-smi from nvidia-drivers pack outputs “failed to load nvidia kernel module”

Actually I have nouveau string in make.conf. "Nvidia-smi has failed because it couldn't communicate with NVIDIA driver. Make sure that latest NVIDIA driver is installed and running."
1
vote
1answer
230 views

Checking video card load via command line

Is there a command like cpustat or iostat or memstat, but for the video card? Or some indication in /proc or /sys?
1
vote
2answers
277 views

nme for linux target setup fails on debian

I'm trying to run haxelib run nme setup linux To set up NME for the Linux target on my Debian box. Actually Linux MINT Debian Edition, but that shouldn't matter. However, I get the following ...
3
votes
7answers
3k views

Checking if a file exists in several directories

I've been working on this far too long and need some help. I need a script that will look at files in a directory and see if it exists in one of several directories. I need something like this: for ...
3
votes
1answer
1k views

Linux disk I/O performance issue — what config options to look at?

We discovered an I/O related performance problem when using the default SLES11 SP2 kernel. Our same application on the same hardware had no issue with (the admittedly ancient SLES9 SP3). We had a ...
21
votes
4answers
2k views

Is there a reason why 'owner' permissions exist? Aren't group permissions enough?

I think I rather understand how file permissions work in linux. However, I don't really understand why they are split into three levels and not into two. I'd like the following issues answered: Is ...
4
votes
2answers
6k views

Prevent usbhid from claiming USB device

Directly related: Prevent claiming of novelty usb device by usbhid so I can control it with libusb? I want to access an RFID reader (works as HID device) from a program that uses libusb-0.1. In the ...
10
votes
2answers
626 views

Triggering an action when a specific volume is connected

I have a USB key that contains my keepass2 password database and I'd like to perform some actions when it is plugged into my computer, namely: Auto-mount it to some specific location When the ...
0
votes
1answer
240 views

Reinstall GRUB from LiveCD

I have both windows and linux run on same machine. In Windows, when I set parition C to main boot, I cannot use GRUB anymore. So, I decide to reinstall GRUB. But, when I use Fedora live CD to boot. I ...
0
votes
1answer
848 views

Setting mobile broadband connection in Fedora 17

I am using a Dell Precision M4500. I've realized that there is a SIM slot underneath the battery slot, I suppose it is for using mobile broadband access. I am usually connecting to the internet ...
2
votes
2answers
1k views

Lost ls directory highlighting after a crash

Normally commands such as ls and grep offer nice syntax highlighting for me. But my system crashed (running an ubuntu VM) and after I restarted, I no longer have this highlighting, it's all a dreary ...
8
votes
3answers
15k views

How to change cursor shape, color, and blinkrate of Linux Console?

I know I can change some fundamental settings of the Linux console, things like fonts, for instance, with dpkg-reconfigure console-setup. But I'd like to change things like blinkrate, color, and ...
3
votes
1answer
809 views

Kubuntu doesn't reconnect to Wifi after waking up from sleep

I just installed Kubuntu on my laptop and it's working fine so far, except the wireless connection is not switched on after waking up from sleep. I do have to click "Enable wireless" so that it ...
0
votes
1answer
355 views

Where to download Fedora 16

I am having a really hard time finding a place to download Fedora 16 64 bit distribution are there still places that have links up for 16th version instead of 17? A Virtual image for VirtualBox would ...
5
votes
2answers
16k views

No network connection in CentOS 6.3 Minimal under VMWare Player

I'm trying to replicate in VMWare Player the exact same conditions I have under my Dedicated Server for testing purposes. Now, the thing is that that when I try to install something, or ping ...
0
votes
0answers
37 views

free reporting huge amount of used memory [duplicate]

Possible Duplicate: real memory usage I recently got access to a machine which remains rather unoccupied. I looked up the available memory and was surprised to see that so much memory has ...
2
votes
1answer
4k views

Edit a file on CentOS 6.3 Minimal

I installed CentOS 6.3 Minimal on VMWare Player, and I realized how 'minimal' the setup is... Don't have network connectivity. From what I searched on google, I need to edit the file ...
6
votes
1answer
4k views

How do I setup more then 10 loopback device?

From this answer the solution is to modprobe loop max_loop=64 Which makes me allowed to use 64 loopback devices then mknod -m 660 /dev/loop8 b 7 8 To create the devices. I did this for 8, 9, 10 ...
3
votes
5answers
618 views

Where is the core of Unix?

I know there are a lot of questions like this, but I certain this one is rare. I am a computer programmer who wants to take on the challenge of building an operating system. I want to base it on Unix ...
12
votes
1answer
5k views

Are limits.conf values applied on a per-process basis?

I'm tuning the nofile value in /etc/security/limits.conf for my oracle user and I have a question about its behavior: does nofile limit the total number of files the user can have open for all of its ...
2
votes
2answers
9k views

Watchdog script to keep an application running

I currently use an application called MxEasy on my linux servers to display video from a couple of IP cameras. The software is rather buggy and crashes occasionally. I've wrote a script that checks to ...
1
vote
1answer
561 views

linux-sunxi - make failed, undefined references clk_*

I try to build uImage for linux-sunxi on a Debian box, which is prepared like this (How To Build Debian From Source Code for Mele): apt-get install emdebian-archive-keyring apt-get install ...
3
votes
1answer
1k views

How to replace setuid with file-system capabilities

Inspired by this question here is the follow-up: As some of you may know setuid-binaries are dangerous, since some exploits use these to escalate their rights up to root. Now it seems that there has ...
1
vote
1answer
1k views

Extract binaries from pcap using command line (script)

As the title says, I'm looking for a way to extract binaries from PCAP's using the command line. I realize it is possible using Wireshark -> File -> Export -> http objects etc. But tshark doesn't seem ...
4
votes
5answers
65k views

crontab -e , then 0 * * * * = every hour… Where is stored

After sudo crontab -e (it wrote "/tmp/crontab.XXXX70pN9h" 1L, 19C 1,1 All Then I saved the file. And to check..? (how? i don't know) And to check I ps -e | grep cron 29818 ? ...
2
votes
1answer
625 views

How to use crontab (Gentoo)?

First I installed and ran crontab: emerge cron crontab -e In another console, I ran man cron, but this has no examples of how to use crontab. Where can I get examples, and why are there none in the ...
-2
votes
1answer
164 views

How to operate USE flags? Is there a master class on Portage or Gentoo?

What man pages I need to read first?
5
votes
2answers
2k views

How preemption works on Linux when a program has a timer less then 4ms?

Jiffies in most Linux system are defaulted to 250 (4ms). The questions is that what happens when a program has a usleep() less then 4ms ? Of course it works as should when it is scheduled. But what ...
2
votes
1answer
57 views

Grub change loopback amount?

I'm having an issue with loopback. It looks like there is only 8. I did a search and apparently the problem is grub by default only has 8 loopback (devices?). If i look in /dev/ i see loop 0-7 so that ...
4
votes
1answer
2k views

Configure kbd and immediately profit of the changes without rebooting

I want to disable consoleblank and activates console clock vcstime which are obviously managed by kbd on my Debian 6. So I've changed the following in /etc/kbd/config file: POWERDOWN_TIME=1 ...
3
votes
1answer
466 views

Obtaining/Packaging RPM dependencies for Fedora/RHEL linux application — no network access

I currently have an RPM file with 2-3 dependencies specified in the 'Requires' section. When this application is installed using yum, it works fine and the dependencies are installed if they are ...
3
votes
1answer
594 views

Preserve scroll on Linux console switch [duplicate]

Possible Duplicate: How do I ensure that a terminal remains scrollable? I've configured really sweet keystrokes for switching between, and scrolling in, a tty (the Linux console). But, as ...
104
votes
8answers
222k views

How can I monitor disk io?

I'd like to do some general disk io monitoring on a debian linux server. What are the tools I should know about that monitor disk io so I can see if a disk's performance is maxed out or spikes at ...
5
votes
1answer
537 views

Using source routing (LSRR) - any ideas?

What I want to do is conceptually very simple, but I can't find any information or help about how to go about doing this. Basically, I want to configure my networking to use source routing (LSRR). ...
4
votes
3answers
935 views

Why does a default Linux installation run more processes than a default OpenBSD installation?

If I ps -aux on Ubuntu (or any GNU/Linux distribution) without GUI I see ~100 processes running. If I ps -aux on OpenBSD without GUI, then I get ~10 processes. What is the explanation/reason for ...
1
vote
1answer
1k views

how to solve “authentication failed” error in kde [closed]

I have KDE installed in my archLinux with kdm to login. But it always shows a notification dialog with "authentication failed" about every 2 minutes. I use a kdm to login and I have enter the user ...
0
votes
1answer
1k views

pcap and raw socket [closed]

I want to develop an application (module or user-level if possible) to create a raw socket in RHEL stealing all level-2 packets directly from kernel (without being routed or handled by other open ...
8
votes
1answer
3k views

top / htop; group process by command

I'd like to know how much resource a specific command is using. top and htop displays information on per process basis but I'd like the information to be shown on per command basis. E.g. I'd like to ...
1
vote
0answers
99 views

Wi-fi management & billing

I want to setup a wifi management & billing using linux server. But I don't know where to start. Is there any guide on how to do this? For example... When user connect to my access point, it will ...
1
vote
2answers
974 views

Installing RPMS on Centos

Is generally installing standalone rpms considered 'dangerous'? Are these affected by any system upgrades, package upgrades etc.? How about dependencies and libraries?
1
vote
0answers
106 views

Rebuilding a raid5 array from images

I have an 8 disk possibly raid5 array that was part of a fried NAS, the whole thing uses pdc20265 promise chips and some kind of embedded system on a small ide board. No clue if the board is anything ...
2
votes
1answer
2k views

Install Shutter on Centos

I'm trying to figure out a way to install shutter on Centos. Are there any repos somewhere?
0
votes
2answers
1k views

Best way to find out what Linux Version is used on a Webserver

Is this feasible? Can I find out which distro is used to host specific webpages? Whois doesn't have info for this.