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
2answers
1k views

Very slow SW-RAID 5 in Debian Squeeze

I don't know why, but I have big trouble with speed of my raid. I have 4x WD RE4 7200RPM 500GB. Size of RAID 5 is 1000GB. 1 of HDDs is Spare. Problem is here: Every 1,0s: cat /proc/mdstat ...
2
votes
2answers
1k views

No /proc in a Busybox-based embedded Linux distribution

I am making an embedded Linux distribution and my board is a Raspberry Pi. My kernel version is 3.2.27 without initramfs and my root file system as follows: /lib /* contains ...
2
votes
1answer
2k views

Passwordless sudo of a command containing a comma

I have a number of users of a desktop machine, who each have a folder on a remote samba server. I am trying to set up per-user mounting of these network folders following the instructions here: http:/...
4
votes
3answers
128 views

What is contained in these addresses?

I am working on MUlti-processor record-replay feature of a virtual machine. I have a log of non-deterministic memory access done in the virtual machine by virtual CPUs. A very high proportion of these ...
8
votes
2answers
3k views

Restrict file access to append only

I have a directory with log files and I'm putting logs from script launched by users into them. Logging with syslog doesn't seem possible in this case. (non-daemon rsync) I want the users to have ...
2
votes
0answers
698 views

How to write a systemd script that runs usb_modeswitch and connects to the internet at startup?

I have a cisco AM10 wireless adapter and every boot, I need to run usb_modeswitch -v 1307 -p 1169 -L -I -u -l to get it to function as an adapter. Then I have to run a netcfg profile to connect to ...
3
votes
3answers
5k views

Can (CUPS) ppd files for Mac OS X be used for linux?

I am looking at buying a printer (actually an all-in-one I prefer for the features it provides, but I want to focus on the printer part here) which does not provide linux drivers, but does provide Mac ...
3
votes
1answer
15k views

How do I configure the network interfaces persistently in CentOS so it will survive a reboot?

I configured a network interface with the following commands: ifconfig eth0 up ip addr add 192.168.9.1/28 dev eth0 route add default gw 192.168.0.1 This works. However, when I reboot the machine I ...
2
votes
0answers
1k views

How to set ssh access for user on debian?

I set groups: usermod -G ssh username and then I've checked account info: id username the result is: uid=1000(username) gid=1001(username) groups=100(username) Anyway if I try to login using ...
4
votes
2answers
366 views

Why buffers equals to used memory?

I'm using Ubuntu 11.10, virtualized by OpenVZ. That output of free -m shows that buffers is always equal to used. total used free shared buffers cached Mem: ...
3
votes
1answer
807 views

HDMI port not working after installing KDE Desktop Enviroment for Ubuntu

My laptop can't detect the HDMI port and my Samsung TV shows no signal. When I run xrandr, my HDMI port doesn't show in the output. Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x ...
4
votes
2answers
4k views

What difference is between ARM Debian for Raspberry PI and Ordinary debian x32/X64 for desktop?

I would like to know, how big is difference between ARM debian for Raspbery PI and x32/x64 debian for desktop. I would like to buy in future some ARM mini pc like raspbery PI and use it as for ...
1
vote
3answers
412 views

Current state of AMD graphics driver for Linux?

I've used Linux distros quite a lot and remember horrible AMD support for graphic cards. I'm building a new rig, atm, and would like to know if the situation improved?
3
votes
2answers
108 views

How long could I work with stable release after it is no more supported?

I'm still working on Debian squeeze which will be supported for only about 1 more year (it is server with KVM). How long is it possible to work on an old version of Debian (after Debian gets old) when ...
5
votes
1answer
646 views

How to know which commands are executed when I do something in GUI

This is for academic purpose. I want to know which commands are executed when we do something in GUI, for example creating a folder. I want to show that both the mkdir shell command and create folder ...
0
votes
0answers
601 views

Undervolting in Linux

Could you recommend me something different like Linux-PHC for undervolting in Linux? I would like to undervolt my AMD Phenom 9850 CPU. I am using Debian squeeze x64. For underclocking I use ...
2
votes
1answer
2k views

How to limit CPU performance for KVM VM?

imagine 1 Virtual machine with 2 shared cores on quad core CPU 2Ghz speed. Is it possible to limit this Virtual Machine for 500Mhz of CPU power on both cores? Or to reserve 1Ghz on 1 core for this ...
0
votes
1answer
659 views

SW-RAID 5 - how much CPU time and performance can it take?

I have Debian squeeze 6.0.4, 4x WD RE4 500Gb 7200RPM, Athlon II X4 600E and 24GB RAM DDR3. Since I work with SW raid 5, it takes much more CPU, than I think is enough. How can I get know, how much ...
4
votes
3answers
21k views

KVM - Which Web Based management to use?

I would like to became an Expert of managing KVM on debian squeeze. I still use virt-manager. Yes, it is easy and quiet safe and quick for me. I tried a lot of web based management UI and non of ...
-1
votes
0answers
31 views

how implement patch for change a arbitrary Governor in linux [duplicate]

Possible Duplicate: Implementing patch for changing a CPU frequency governor I am beginner in linux.I want implement a patch for change a arbitrary Governor in linux.not important what ...
29
votes
3answers
21k views

File system compatible with all OSes?

I use Linux and Mac OS X on a regular basis, and sometimes I have to use Windows. I need to use a flash drive on all three, and I need a filesystem that will work well on all of them. None of the ext'...
2
votes
1answer
4k views

how to allow different users of same group access/edit files/directories created a user of same group

here is my example, here I am logged in as root created a group using groupadd command called as devel. created two users dev1 and dev2 using useradd command. useradd -g devel dev1 useradd -g devel ...
2
votes
1answer
637 views

Does SDL require any sound server like PulseAudio to play audio?

I'm trying to make an MP3 player on top of the Linux kernel and busybox using the SDL and SMPEG libraries. Does SDL work on top of the kernel or it needs PulseAudio? I have just built a C program ...
-3
votes
1answer
292 views

Implementing patch for changing a CPU frequency governor [closed]

I am a beginner in Linux. I want implement patch for changing a CPU frequency governor.But I don't know what is patch and Governor in Linux and I don't know where I can start from? Please help me with ...
0
votes
4answers
658 views

targeted network speed over LAN

I have a Solaris 11 system which has several NFS exports which are accessed my other systems within my LAN. I use a Linux system as a client for testing. I wrote a quick script to test read speed and ...
4
votes
5answers
799 views

Print non-existent files from a pipe input

I have a directory of lots of .PDF and .JPG files. There should be a .JPG file for each .PDF with the same name. I'm trying to use a command to find .PDF files that doesn't have a .JPG file. My ...
6
votes
2answers
1k views

RLIMIT_NPROC suddenly overwhelmed

In a small script I have, I'm starting a shell and then setting RLIMIT_NPROC on it to some small number, like 5, using prlimit Then, I try to execute a shell script that only contains: #!/bin/bash ...
1
vote
0answers
199 views

iSCSI on startup

I've configure iSCSI but CentOS 6.3 is unable to recognize if on startup. Here is fstab config: /dev/sdb1 /home ext4 _netdev 0 0 Here is iscsi.conf ...
8
votes
3answers
3k views

Difference between commands in bash script and commands in terminal

Are there any differences between commands that you type into the terminal and commands you include in a script?
5
votes
2answers
634 views

Why do entrepreneurial companies choose Linux rather than FreeBSD?

FreeBSD is an operating system. Linux, strictly speaking, is just a kernel, but the two systems are not too much different and in performance, at least, we can say they are comparable. Open source ...
3
votes
0answers
132 views

Restricting D-Bus access to the logged-in user via ConsoleKit or systemd

I need to restrict the client of a D-Bus service to only the user logged into the system locally, via ConsoleKit or systemd. How must I configure or write the D-Bus service to do so?
12
votes
2answers
689 views

How updated and relevant is “The Linux Documentation Project”?

I have been advised by many senior Unix/Linux Administrators to go through "The Linux Documentation Project" on the site www.tldp.org. Its undoubtedly a very rich site, but I saw many tutorials (as ...
2
votes
1answer
267 views

Access the Shift-Insert clipboard from script

How do I access the Shift-Insert (paste) clipboard from a script? You can see what I use here. Edit: A demonstration how it works, with xclip: echo hello | xclip -selection secondary xclip -o -...
10
votes
5answers
371 views

Will I have to wipe my disk if I install linux?

It might be dumb question, but I want to experience Linux standalone and want to replace my windows 7 with it. My question is: Will I have to wipe my whole data If I install Linux on my notebook ...
8
votes
5answers
21k views

Swap usage too high?

I have a Debian Sid box, freshly installed about a month ago, with no desktop apps running at the moment. Any command I try to run (via ssh) makes the hard disk work very hard. The system worked ...
8
votes
2answers
9k views

How to place / store a file in memory on linux?

I have read somewhere that one can put a file on a linux system into memory, and loading it will be superfast. How do I do this? How do I verify the file is loaded from memory?
3
votes
3answers
11k views

Where is the documentation for what sda, sdb, dm-0, dm-1 mean

If I run iostat I got sda0, sda1, I sort of know that those are the "hard disks". then there is dm-0, dm-1? I wanted to check the documentation. I checked http://linux.die.net/man/1/iostat it's ...
2
votes
2answers
2k views

How to switch from TTY to KDE in Oracle Linux

I had installed Oracle Linux. While installing I had selected KDE for the desktop. After finishing I assumed that I could login to KDE Desktop, but I got a TTY. It asked for login and I gave root ...
2
votes
0answers
587 views

Local disc copy at 10MB/s! What could be the problem?

I am running a Debian 6.0.6 (before you ask). I have a regular desktop computer, nothing fancy... but when I copy a file using nautilus I am getting 10MB/s copy speed and the system is completely ...
1
vote
0answers
104 views

parrot VM on linux

Any Linux distros or applications that mainly use/run on parrot vm? I"m asking because in windows, there is .NET and libraries written in C#, F#, VB will work together. parrot can do the same. (...
4
votes
1answer
185 views

A Linux OS as Single Display Groupware

For use in extreme programming environments, the idea of single display groupware has become rather interesting. I understand that applications need to be retooled in order to function as single ...
5
votes
2answers
1k views

Linux (3.4) SSD swap partition usage causes extreme latency - how to eliminate?

I'm running on 4G RAM with an extra 6G swap partition, SSD is a pretty decent SAMSUNG MZMPA128HMFU model. System responds very well to workloads when things stay in RAM, but as soon as things reach ...
9
votes
2answers
14k views

How to run linux on PS3?

I'm learning numeric computation and have a Core i5, 4gb laptop which I find to be slow for some tasks. I've read that a single PS3 has the processing power of 30 clustered PCs. Basically I'm ...
7
votes
1answer
1k views

iptables will match the following ICMP request packet as ESTABLISHED state after the first reply packet is sent

Test environment: CentOS 6.3 - kernel 2.6.32-279.el6.i686, iptables v1.4.7 Win7 <---> CentOS Windows is constantly replaying ICMP echo request in 10pkt/sec rate to CentOS. In iptables, I added the ...
2
votes
3answers
6k views

How to change the output redirection of a running process?

I know how to redirect output and how to suppress them in bash. Now, suppose I accidentally forgot to append the output redirection part to the command (e.g. 2>&1 or > /tmp/mystdout) and my ...
1
vote
1answer
73 views

deal with file names with “-” as beginning on linux [duplicate]

Possible Duplicate: How do I delete a file whose name begins with “-” (hyphen a.k.a. dash or minus)? I'm using linux I have some files with file names like -0fdlfld -xfifd I want to delete ...
1
vote
0answers
28 views

How can I access (including read and write) a linux file system from a windows machine on the same network [duplicate]

Possible Duplicate: How to share files between Linux and Windows? I have a Linux virtual machine (Hyper-V) acting as a web server on my network. I would prefer to browse it's file system from ...
3
votes
2answers
228 views

How to report back system installation progress

I'd like to do some reporting from the system setup progress for virtualised (libvirt/kvm) Ubuntu servers. I expected some kind of such system to already exist out there, but couldn't find anything. ...
5
votes
1answer
868 views

Linux: Current correct/recommended use of games-group?

What is currently considered the correct/recommended/best-practice use of the games-group... As a "device group" for game-ports and joy-sticks, unassociated with the games-user (except for being one ...
8
votes
5answers
61k views

How to remove all default gateways

I'm running a custom built linux machine, so not all linux commands are available. I execute network related commands, so I need to set a default gateway right before I run my command, then remove ...