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

4
votes
2answers
128 views

Is there a Linux file permission that allows the app to read a file but not a user?

I need /var/www/config/config.json to be read by my app but not by users calling myapp.com/config/config.json. How would I do that?
2
votes
0answers
315 views

XEN Bootloader or Kernel error bootloader isn't executable / cannot locate kernel when using XM create

I am currently using Xen for installing VM guests however whenever we run xm create -c /etc/xen/ks.test.cfg we get; Using config file "/etc/xen/ks.test.cfg". Error: Bootloader isn't executable ...
8
votes
2answers
39k views

Single command to check if file exists, and print (custom) message to stdout?

Hope it's OK to note this, now that I've encountered it: I'm already aware that one can test for file existence using the test ([) command: $ touch exists.file $ if [ -f exists.file ] ; then echo "...
8
votes
3answers
12k views

How to list all the installed package in fedora with the time of the installation

I can list them use sudo yum list installed but how to make them display when each were installed?
2
votes
0answers
393 views

How can I mount a dm_crypt device during boot, it fails all the time

EDIT: Problem solved, i updated from Debian 6.0.6 to 7.0.0, everything works now! I have a complex problem at booting. Basically, I have a debian apache box, as a music server in my home network. The ...
1
vote
3answers
6k views

What would be the RHEL package corresponding to build-essential in Ubuntu?

I know how to list available packages from the repos and so on, but how can I find a list that matches up equivalent meta-packages, such as the build-essential. Is there such a thing and if not what ...
1
vote
1answer
603 views

How do I know if my SSD is SLC or MLC?

I have 3 SSDs on my server. How can I tell if they are SLC or MLC?
1
vote
1answer
2k views

How to avoid overflowing the kernel printk ring buffer?

I'm trying to debug a linux driver and a particular piece of code is behaving very strangely. In order to see what's going on I've filled the code with printk statements so I can see exactly what the ...
2
votes
3answers
891 views

What distro will use less resources for a laptop? [closed]

Currently I'm in doubt: I'm getting a new Dell Vostro 2520 with 4 gigs of memory. The problem is that I'm Ruby/ ex-PHP developer and may have to work with quite big projects. Probably simultaneously. ...
12
votes
2answers
6k views

Forcing Linux NFS client to reconnect to server after NFS is disconnected

Is there a way to force a Linux client to reconnect to a NFS server after it has lost its connection? The client eventually notices the server is back and resumes working just fine. I'm just ...
3
votes
2answers
945 views

how to create ISO and hide certain files

I am a newbie here and my apologies if I am posting a question which has been answered many times in a another thread. I did my homework find some relevant information But could not. Thanks for ...
2
votes
1answer
1k views

why cannot rename subdir when parent dir owner is not the same user [duplicate]

Possible Duplicate: Can’t rename a directory that I own I am trying to understand why when a dir X is owned by user A cannot rename it when parent dir of X is owned by user B. Can anyone ...
4
votes
4answers
5k views

Can't compile XBMC 12 because of TAGLIB problem

I am trying to compile the latest version of XBMC on CentOS 6 x64 but on ./configure I get: checking for TAGLIB... no configure: error: Could not find a required library. Please see the README for ...
5
votes
2answers
2k views

What package could “linux-headers-3.7.5-1-ARCH” mean?

I'm debugging a closed-source software installer that seems to have some pre-conceived notions about my distribution. The installation aborts after not finding apt-get. The command it attempts to run ...
9
votes
1answer
3k views

What is the correct way to write a udev rule to stop a service under systemd

I'm running Arch Linux, and I have a udev rule which starts a service when a device is inserted. In this case, it dials a connection when a 3G modem is plugged in. KERNEL=="ttyUSB*", SYMLINK=="...
2
votes
5answers
8k views

Ubuntu 12.10 Fan overspeeding

I have installed Ubuntu 12.10 leaving Win 7 licensed version. But again as usual I need to fix so many issues. This time fan is generating lots of noise. It looks it is running at max speed. My ...
5
votes
2answers
8k views

How to configure xorg.conf for widescreen VNC on headless Linux/Ubuntu?

I have a Ubuntu 12.10 Box configured to run headless. I've managed to boot X headless by a lot of trial and error but I still have a glitch: When booting using the monitor, it all works ok, widescreen ...
2
votes
0answers
65 views

kgdb not returning control to gdb

I've compiled a kernel with kgdb support and I'm trying to debug it. I have two machines running, a debug machine (running the kgdb kernel) and the machine I'm using to debug it. They are connected ...
7
votes
2answers
6k views

how to disable USB devices based on vendor id in Linux environment?

I want to disable usb devices based on vendor id in Linux environment. I want to allow only specific USB devices, based on vendor id.
5
votes
4answers
6k views

Whoami: cannot find name for user id 0

When I run whoami it says: whoami: cannot find name for user id 0 My /etc/passwd file looks like this: root::0:0:root:/root:/bin/bash
1
vote
3answers
1k views

Print files with file size less than 100 bytes

Basically this script is just supposed to print out the file size and the name of all files in a directory that are under 100 bytes. This script I wrote works perfectly on my Ubuntu, but wont work on ...
1
vote
1answer
451 views

I hang when I try to ssh into a machine with my username (or su to my user) [closed]

Yesterday I was freely able to ssh into server box-a, and it seemingly froze on me today so I killed my putty instance. I am now unable to ssh into it. It ssh's but the prompt does not appear. I am ...
3
votes
1answer
3k views

Wireless problem with RTL8723 and Fedora 18: can't connect to a wpa2-secured network

I'm running Fedora 18 on a Toshiba laptop with the notorious RTL8723 wireless card. I've been able to compile the driver using lwfinger's instructions from this forum thread here wget http://...
7
votes
3answers
2k views

Create Null Modem Pair linux

I am looking to create virtual serial ports on Debian 6 squeeze. Basic requirements are: be able to connect as if port was a real serial port( IE be able to set baud, stop bits etc) com port pairs ...
2
votes
0answers
158 views

Controlling ppp's chat buffering

I looked at the ppp chat source and it uses putchar to write to the device. When PPP is run over a line discipline like n_gsm, which multiplexes a tty via the GSM 07.10 protocol, a lot of extra data ...
1
vote
1answer
111 views

hosting my web portal on CentOS linux

I need to buy a VPS / dedicated server that provides a CentOS Linux with 4 x 500 GB harddrives in mirrored Raid. So that'd be 1TB of hard-drive space. The way I keep my pictures on my website is in a ...
4
votes
1answer
713 views

Tell tcpdump to skip custom header

I have an IP packet with x bytes of custom header coming in on an interface. Is there a way to tell tcpdump or tshark to ignore the first x bytes and decode and display the IP packet? Any pointers ...
1
vote
1answer
294 views

Getting contradictory information regarding the linux distribution

I wanted to check which linux distribution is running on a remote linux box given to me .i have see this answer on super user which says that LSB tools provide this information And then it goes ...
3
votes
1answer
764 views

Why does wlan1 not get a static IP?

I have a Raspberry Pi with two USB wlan adapters. wlan0 is configured with DHCP and wlan1 is configured with a static IP address and hostapd (access point) is running on this interface. The adapter ...
3
votes
3answers
617 views

How can I convert raw printer commands back to a postscript or pdf file?

I have a string of raw printer commands that are for my postscript printer saved to a file. I believe there is a lpr option like -o raw which will read these raw command and send them to the printer. ...
3
votes
2answers
3k views

volume hot keys in Crunchbang don't work

I've spent 2 hours on this and still can't figure this out. It's driving me insane. Please save my sanity. When I press mute, the pnmixer control in the top right shows that I've pressed mute, but ...
2
votes
1answer
330 views

Can I run Linux on N130 Network Terminal Thin Client?

I've found this small device, named N130 Network Terminal Thin Client on several webshops. The datasheet says that it is running "Embedded Eglobal operating firmware". I think, there is a good chance ...
5
votes
1answer
2k views

UID/GID with sshfs of Linux FUSE

mkdir ~/mnt/2letter echo PASSWORD | sshfs -o password_stdin www-data@localhost:/var/www/sites/2letter ~/mnt/2letter -o sshfs_sync,cache=no,password_stdin After this: $ ls -ld ~/mnt/2letter/ drwxr-xr-...
-2
votes
2answers
874 views

UI toolkit + programming language to develop linux applications [closed]

Suggest good GUI designer tool with programming language for linux based application. For a developer who knows winform and C#. Don't want to use mono on linux to run .net application on linux. I ...
2
votes
1answer
4k views

How to mount a virtual disk in Linux (on VMWare)

I am running Ubuntu 10.04.4 thru VMWare Workstation. I added a second virtual hard disk drive, which is found under /dev/sdb , as shown below How do you mount this to anywhere? (e.g. /mnt/sdb). ...
2
votes
0answers
62 views

Losing sound after installing wine 1.5 (+python 2.7)? [closed]

I have a desktop and a laptop computer. Since I wanted to run IrfanView (that works great now!), I installed wine 1.5.22, which involved installing 1 GB of dependencies. The desktop continues to work ...
0
votes
1answer
169 views

Change library location

I've got different versions of the Libnet library installed in different locations on the same system: whereis libnet libnet: /usr/lib/libnet.la /usr/lib/libnet.a /usr/lib/libnet.so /usr/local/lib/...
9
votes
1answer
3k views

Move a linux instalation using btrfs on the default subvolume (subvolid=0) to another subvolume

When doing a installation to a root btrfs filesystem, many linux distributions install to the default subvolume. If left unmodified, this layout will force any snapshots or subvolumes to be created ...
1
vote
1answer
182 views

Error : .onLoad failed in loadNamespace() for 'cairoDevice' on a Linux Machine

After spending 1 hour searching for the solution I am posting this here. Does any one know how to install cairoDevice,package on R, Linux Server. R CMD INSTALL cairoDevice_2.19.tar.gz * installing ...
6
votes
2answers
13k views

Cross compiling expect for ARM

I have downloaded expect5.4 . I'm trying to cross compile it for ARM(PandaBoard) running stripped down version of linux. In the initial setup of configuring , I try Shell$ ./configure --host=ARM ...
-3
votes
3answers
447 views

How to download bcache-tools with git? [closed]

This site says: You'll need make-bcache from the bcache-tools repository. Both the cache device and backing device must be formatted before use. make-bcache -B /dev/sdb make-bcache -C /dev/...
2
votes
1answer
1k views

Why do I not seem to have hidraw options on my system, and how can I fix my usb devices?

Starting today, I noticed a few problems with my system. USB devices, including the internal ones such as microphones, don't seem to be working at all. I first noticed when my keyboard and mouse weren'...
1
vote
1answer
440 views

how to setarch for each bash session

I am using bash as my default shell. I don't have root access. But I would like to customize my bash by setarch. So the question is how to do this automatically? Currently, I have to manually run "...
2
votes
1answer
431 views

Unison can't synchronize Dropbox configuration (socket files)

I'm using Unison to synchronize my home across several computers, and I've addressed everything but this. The Dropbox configuration is partially skipped, and as a result Dropbox thinks there is no ...
-1
votes
1answer
49 views

Are *.conf files with ~ ending (emacs backup files) interpreted?

Are configuration files with ~ ending (emacs backup files) interpreted when they are in conf.d directory ?
7
votes
2answers
2k views

OpenLDAP Password Policy overlay error while loading

I'm trying to load the password policy overlay but i'm having the following error ldapadd -Wx -D "cn=Manager,cn=config" -f overlay.ldif Enter LDAP Password: adding new entry "olcOverlay=ppolicy,...
0
votes
2answers
1k views

Can disks be accessed independently in a RAID-1 volume?

I want to create a RAID-1 array with Debian 6. This array will contain 6 disks, 3 for the OS and 3 mirrors. I used this RAID before but on windows, and maybe I didn't do it good at all, because I ...
5
votes
3answers
440 views

What did I just kill?

Is there any way to find out what I just killed? $ ps -A -o pid,cmd | grep someApp | grep -v grep 2802 python someApp.py $ sudo kill 2302 $ EDIT: To clarify, I need to know what PID 2302 was before ...
2
votes
2answers
983 views

CrunchBang & Openbox: no reaction to laptop power button pressed

I've just installed #! and I'm loving the customizable Openbox DE. However, when I press the power button on my laptop, the system doesn't react. For example, when I was using Debian & Gnome, ...
2
votes
2answers
3k views

Mount a USB disk in Linux which was not properly unmounted in Windows

I would like to know if there is a software solution in Linux for the following situation: Connect a USB disk to a Windows host (could be XP, Vista,7 , etc). Copy a big file to the USB disk. ...