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
1answer
709 views

How can I access a deleted open file on Linux (output of a running crontab task)?

I have an hourly hour-long crontab job running with some mtr (traceroute) output every 10 minutes (that is going to go for over an hour prior to it being emailed back to me), and I want to see the ...
2
votes
2answers
2k views

USB Driver Compilation Error

I'm currently trying to compile a Linux USB UART driver, which is provided here: http://www.exar.com/connectivity/uart-and-bridging-solutions/usb-uarts/xr21v1410 The driver consists of 2 header files ...
1
vote
1answer
2k views

Server inbound email forwarding

I have been struggling to get this to work for a little while now so I have come in the hope of getting a wee bit of help. I am running redhat 6.3, and using the machine as a webserver. My question ...
4
votes
4answers
2k views

Utilize a different user's vimrc as well as vim folder

First of all, to prevent an X/Y Problem, I'll just state that what I really want is: Run vim as the root user. Instruct vim to use my nice pretty color scheme and all my plugins. Do all this without ...
1
vote
1answer
3k views

Gnome and Cinnamon loads in fallback (classic) mode only

So I have been using linux mint for a while now. A few months ago my Gnome shell crashed and I was unable to use the full 3d features and loaded into fallback mode only. From that day (around 2 months ...
4
votes
1answer
454 views

Limit disk buffer usage in SLES 11SP2 to allow more efficient memory overcommit on esxi host

When running VMs on an ESXi host, you can overcommit the memory. Example: host == 20GB physical RAM The amount of RAM allocated to each VM is VM1 == 10gb VM2 == 10gb VM3 == 10gb VM4 == 10gb The ...
0
votes
1answer
745 views

Can Debian linux find automaticaly drivers for USB ethernet NIC?

Can Debian linux find automaticaly drivers for USB ethernet NIC? Which would you recommend me? My problem is, on my datastore, there is only 100mbps network, no free PCI slots, so last chance how to ...
1
vote
2answers
1k views

Change command name in Linux [duplicate]

Possible Duplicate: creating abbreviations for commonly used paths I'm new to the Linux platform. Is there any way to rename the commands available in Linux. For example, I use the clear ...
2
votes
1answer
49 views

Can I install a distro booted from a drive to the same drive?

I know how stupid this sounds BUT is it possible to install a linux distro that has been loaded to the drive it was booted from? I was thinking of installing Arch or Puppy to a flashdrive that Would ...
2
votes
1answer
197 views

How do I get a bulletproof wifi?

I have used several Linux distributions (Arch, Debian, Ubuntu) over the years and I would consider myself not an expert but certainly an experienced user. It happened now for the 3rd time that I was ...
1
vote
1answer
1k views

Tcpdump: how to capture outgoing packets on a virtual interface?

On a Linux system that I am testing now, it has a couple of virtual L2 devices chained together to add/manipulate our own frame headers which are encaped between Eth header and IP header. now this ...
3
votes
0answers
282 views

How to route one video device to multiple programs

I'd like to direct the output of a single capture card (Hauppauge PVR-150) to two programs: VLC (for streaming on LAN) and MythTV for scheduled recording. I think it's possible to do this with the ...
7
votes
4answers
3k views

What are the advantages of the Unix file system structure

If I install an application in Linux for example Debian/Gnu Linux, the files of the applications are copied to many different directories in the file system. Some scripts goes into /usr/share .. /usr/...
2
votes
2answers
3k views

Problem reading mouse from /dev/input/events

I'm using Fedora 17 LXDE with kernel 3.6.10 and am trying to read raw mouse relative movements from /dev/input/mouseX and/or /dev/input/eventX. I get data showing mouse clicks (mouse up, mouse down) ...
2
votes
2answers
5k views

Why are .so files executable? [duplicate]

Possible Duplicate: Why are shared libraries executable? Why do the .so files in /lib have permission 755 and not 644 in Linux? That seems strange According to http://www.gossamer-threads.com/...
1
vote
1answer
2k views

How to find the device is connected to which usb hub in linux OS? [duplicate]

Possible Duplicate: How can I uniquely identify which device is on USB `hub 6-0:1.0: port 2`? I connected three USB hub in a system and I connected different devices in each hub. How I can ...
4
votes
4answers
2k views

Linux OS running a single application [closed]

I want to build a Linux based OS which is custom made for only one application and is totally light-weight and uses minimum system resources. How do I go about this? Would stripping down an already ...
0
votes
1answer
107 views

Remote linux using vnc and gdm without login

I remote linux server by using vnc and gdm. This link is very good but I would like to remote linux server using vnc viewer without login. May I know your suggestion?
3
votes
3answers
2k views

FreeBSD and Linux shared partitions

Which directories, and how, can I share between FreeBSD and Linux? In particular, how can I deduplicate respectively /usr/home and /home? I guess directly sharing a partition between both systems ...
3
votes
1answer
639 views

What does it mean if a directory has only x (executable) permission for certain user/group?

I stumbled across the directory /etc/ssl/private on Ubuntu (12.04), it has following permission: drwx--x--- 2 root ssl-cert 4096 7月 8 2012 private/ I wonder what does this mean for group ssl-...
1
vote
2answers
775 views

Is the chromebook Linux based at its core?

Just wondering if the Chromebook uses Linux in some way? If so, would there be a way to run Linux commands (e.g. Ssh) from a command line on it?
1
vote
1answer
1k views

Installing Boot and OS on SSD, rest on HDD

Okay so I got an SSD for my notebook and I'm currently setting up my system. On the SSD I'd like to have the main OS (Crunchbang in this case) and maybe some swap whereas on the HDD I want my Home ...
6
votes
3answers
241 views

When were the first graphical app installers created for Linux distributions

Having a discussion at work with a colleague, and he is claiming graphical installers for *nix environments have only been available for the last few years, but I can't find any solid information on ...
3
votes
1answer
4k views

Definitive way to configure network devices in Centos 6.2

What is the definitive way to configure network devices in Centos 6.2? Via network manager or editing /etc/sysconfig/network-scripts? I have a notebook with 1 ethernet port and a usb ethernet adapter ...
2
votes
1answer
2k views

How to create a multiboot flash drive in Linux?

I like the way the yumi makes a multiboot flash drive in Windows. In Linux, can I complete the same task as easily as yumi does in Windows? With yumi, I just browse to selected iso (i.e. DVDwindows....
1
vote
2answers
987 views

How to view commandline of processes executed in last 10 seconds

Is there a view to log and list down the processes executed in last 10 seconds ? I especially want to trace the command line.
2
votes
1answer
125 views

Standard way to expose device file to userland applications running on an unprivileged user account?

I just finished the first version of a Linux kernel module I've written in C. The module creates a device file (/dev/wn0) that controls a USB device with three LED lights. For example, running as root,...
2
votes
0answers
618 views

How to fix the corruption of the tar balls?

I was making a complete server backup and tried making the tar balls of each directory structure by using the following commands: nohup tar -cvf - /etc | gzip -9 -c > /opt/Backup_4_Jan/etc.tgz &...
1
vote
3answers
740 views

download packages for different distribution with apt

I want to download a .deb package with it's dependencies for a different distribution. I have many Linux systems in my company: Ubuntu 11.04, 11.10, 12.10, and Debian 5 and 6. The command to ...
4
votes
2answers
163 views

Where did 47gigabytes of space go?

Clean installation od Debian squeeze 6.0.6 x64 on intel atom 230, with 3 HDDs, with 3x500GB. df -h shows : datastore size used free % mounted /dev/md0 917G 909M 870G ...
2
votes
3answers
1k views

Linux Kernel: uid and gid vs /etc/passwd

How does the Linux kernel deal with UIDs and GIDs? When I want to add a user to a system, does the kernel require some type of "registration" for this user (syscall?)? Does the kernel even care about ...
1
vote
1answer
740 views

Filesystem with 1Mb block?

I'd like to make a partition for keeping ISO images of nightly builds. Most of files will be bigger than 1Mb. Unfortunately ext2/ext3/ext4 supports only 4Kb blocks. # mkfs.ext4 -b 1048576 -L DISTR -m ...
0
votes
1answer
53 views

How to restore the user postgres?

In the second answer in this thread is a warning about changing the UNIX password for "postgres". I have already changed the password for "postgres". How could I restore the initially state of the ...
5
votes
4answers
2k views

Testing, from a script, if audio devices are in silent?

Is there a default program where I can check if my audio devices are in silent? Edit: By silence, I mean that if there is something playing on that (not just activated or opened) Something like this:...
2
votes
4answers
15k views

Mounting Directory - Connection Refused

I am trying to mount a Directory from my server to my local machine. This is because I want to edit the directory and execute the files without having the manually push the files to the server after ...
1
vote
0answers
158 views

Making the keyboard eject switch work

My keyboard switch for ejecting the CDROM does not work though it displays an eject button on the screen. I need to make it work. I know ejecting a cdrom using system call is as simple as ioctl(...
2
votes
1answer
126 views

How can I setup a system immune to abrupt poweroffs?

I have a system that boots from a solid state disk. How can I make it immune to improper shutdowns? I can also switch to a distribution having this feature. I can choose between Ubuntu, Redhat, and ...
0
votes
0answers
46 views

Is setting up fstab like this dangerous? [duplicate]

Possible Duplicate: What is noload option do in fstab? UUID=fb2b6c2e-a8d7-4855-b109-c9717264da8a / ext4 auto,noatime,noload,data=ordered,commit=10,defaults 1 1 ...
0
votes
1answer
919 views

Server no longer responsive after reboot

I changed my fstab into this: # # /etc/fstab # Created by anaconda on Sat Jan 12 02:12:44 2013 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), ...
3
votes
1answer
3k views

Cannot kill a java process

I have a java process that cannot be killed. I have tried every method I know, or that I have found on the internet to no avail. I have tried: killall java kill -9 <pid> kill -11 <pid> ...
5
votes
1answer
5k views

Kernel and QEMU : Unable to mount root fs error

I am trying to run a distro in the virtual disk image with a custom kernel,so that I can experiment and debug the kernel. I followed this to make a disk image and then install Debian to it. Now I ...
3
votes
1answer
658 views

How to create a virtual file that is coupled to a program, e.g. to a `.gz` file via `gzip`?

Given e.g. a gzipped textfile file.txt.gz, how to create a special file file.txt that on reading yields the (interactively) decompressed contents of the .gz file, and on writing a) re-gzips the new ...
0
votes
5answers
890 views

cron job schedule

I created a cron job using * */2 * * * schedule. Can anyone tell me what schedule this refers to? I guess it should execute every 2 hours, but it seems to execute every minute.
2
votes
1answer
130 views

Is it possible to log directly into chroot?

Lets say I boot up my computer and I see the login screen. When I log in as myuser, I want to be restricted to a certain root directory via. chroot. Let's assume that the directory is /chroots/myuser/...
0
votes
0answers
445 views

Install opengl driver on RHEL5.7

A user is using a software called "HyperLynx - LineSim" to plot a graph. When he wants to view the graph, there's this error "Failed to run PowerScope: OpenGL is not installed". The machine is ...
14
votes
2answers
35k views

Create and format exFAT partition from Linux

Is it possible to create and format an exFAT partition from Linux?
0
votes
0answers
7k views

SVN error message: “E200030: sqlite: database disk image is malformed” on checkout

The .svn folder doesn't exist yet. I tried deleting it after it was created, but I get the same issue again @:/var/www/htdocs$ svn checkout https://host/svn/trunk/ . svn: E200030: sqlite: database ...
2
votes
3answers
1k views

Ensure that loopback root and host are unmounted on shutdown

I'm trying to setup a Linux system that runs from an LVM-formatted image file. After some tinkering with the initramfs and boot options I managed to make it up and running by mounting the host file ...
22
votes
2answers
85k views

Remove GPT - Default back to MBR

I keep receiving this error: Warning!! Unsupported GPT (GUID Partition Table) detected. Use GNU Parted I want to go back to the normal MBR. I found some advice here and did: parted /dev/sda ...
0
votes
1answer
632 views

Linux + Kernel panic

when I reboot my Linux machine Linux version 5.5 red hat I get the following warning on the console screen , Linux cant startup and I can't login please advice , how to login as single user mode and ...