Questions specifically about Linux, as opposed to Unix-like systems in general, or to questions about a specific distribution or program.

learn more… | top users | synonyms

6
votes
3answers
637 views

Access to original contents of mount point

On my headless NAS I have sdf1 (a flash-card) mounted as / while /home is mounted from lv00 (an LVM volume backed by a software RAID). To be able to access the machine when the RAID fails, I have a ...
17
votes
2answers
13k views

Reply on same interface as incoming?

I have a system with two interfaces. Both interfaces are connected to the internet. One of them is set as the default route; a side effect of this is that if a packet comes in on the non-default-route ...
53
votes
5answers
39k views

What is a Superblock, Inode, Dentry and a File?

From the article Anatomy of Linux File Systems by Tim Jones, I read that Linux views all the file systems from the perspective of a common set of objects and these objects are superblock, inode, ...
7
votes
6answers
4k views

Sync writes very slow. Ubuntu 10.10, 32 bits, ext4

I am running ActiveMQ on my Macbook Pro that runs Ubuntu 10.10, 32 bits with an ext4 partition. Linux iker-laptop 2.6.35-23-generic-pae #40-Ubuntu SMP Wed Nov 17 22:32:51 UTC 2010 i686 GNU/Linux If ...
19
votes
5answers
8k views

What is the difference between ls and l?

I accidentally typed l instead of ls today and found that the command still printed a list of the files in my current directory. Trying l --help brings up the help file for ls suggesting that l is ...
4
votes
1answer
1k views

How to make my Linux tcsh prompt bold?

Greeting all, I am attempting to make my Linux tcsh prompt bold. However I'm failing miserably. I know about escape codes and I can successfully make echo'ed output bold, but I can't seem to do it ...
2
votes
3answers
346 views

Single CD install of a RHEL-like distribution?

Can someone suggest a RHEL-like distribution that can install from a single CD? I am looking for a distribution where services are started from /etc/init.d, environment variables are set from scripts ...
8
votes
1answer
1k views

Dual network connection

I have a usb cellular modem and a Home LAN connection on my Ubuntu 10.10 box. Both work independently. I want to know how to have both connected at the same time, and be able to specify which ...
7
votes
2answers
9k views

Force dhcp client to get a new lease

I have a linux DHCP server running on my network. I recently found out that I can assign specific IP addresses to clients based on their MAC address by modifying the dhcpd.conf file. Now is there ...
107
votes
5answers
29k views

Is Linux a Unix?

So, there are lots of different versions of Unix out there: HP-UX, AIX, BSD, etc. Linux is considered a Unix clone rather than an implementation of Unix. Are all the "real" Unices actual descendants ...
5
votes
1answer
858 views

Switch display output without rebooting but not in Xorg

My graphic card has two output (VGA and DVI). Is it possible to switch from one to the other without rebooting ? It works in Xorg by restarting the X server (I guess it should be doable with xrandr ...
19
votes
7answers
11k views

Linux boot loaders supporting full disk encryption?

Are there any Linux boot loaders supporting full disk encryption (a la TrueCrypt). I know there was work towards adding encryption support to GRUB2, but this does not seem to be ready yet. Any other ...
4
votes
2answers
2k views

How do I use dhcpcd in openwrt instead of udhcpc?

I'm trying to determine the reason my router is not syncing up to my ISP, I do suspect snafu on their end so I'm trying to replicate my desktops setup which includes using dhcpcd. Problem is I don't ...
1
vote
1answer
470 views

Stuck on “Determining IP information for wlan0” at boot

In my struggles to install ClearOS correctly, I now have another problem: After the first boot I keep getting stuck on "Determining IP information for wlan0...". It doesn't move forward at all. I've ...
3
votes
1answer
2k views

Can't get the '-o remount' option on an NFS share to work in Slackware 13.1

I've had rsnapshot working under Slackware 13.0 for a few months. In my /etc/rsnapshot_<interval> scripts I first have it run is mount -o remount,rw then the very last thing it does is a mount ...
5
votes
1answer
3k views

Why do my SATA devices show up under /proc/scsi/scsi?

I have 3 SATA devices on my system. They show up under /proc/scsi/scsi, although these are not SCSI devices. Why do my SATA devices show up under the SCSI directory? $ cat /proc/scsi/scsi Attached ...
4
votes
3answers
946 views

Why would I keep home directories in /var/home?

As far as I understand, the traditional place for home directories is beneath /home. Some Linux variants seem to keep them in /var/home, what's the reason for that?
4
votes
1answer
408 views

Are there any Workload Management subsystems for Linux?

Asked this on superuser, got no response: Can anyone tell me of the status/state of WLM (Workload Management) kernel scheduler systems in Linux? Alternatively, any user-space process goal-based load ...
3
votes
1answer
1k views

The caps lock and scroll lock lights are flashing and everything is frozen

I was using a small Linux distro that was running X11 with JWM as its window manager. I was browsing a directory when all of a sudden the mouse froze and the keyboard became unresponsive. The caps ...
1
vote
1answer
271 views

Good graphics card for TV-Out

I am looking for a graphics card (AGP) with a TV-Out (SVideo or Composite) that is not a PITA with X. I guess it depends on the driver/X-Server. The card needs to be small and should not have a huge ...
8
votes
1answer
1k views

Why does the linux kernel use linux-libre code to get rid of binary blobs?

I ask this question because I'm curious as to whether there is some sort of performance advantage offered from the binary blobs that are in the Linux kernel. Since many of these blobs have been ...
7
votes
3answers
10k views

/etc/cron.daily/foo : Send email to a particular user instead of root?

I'm running CentOS 5.5. We have several cronjobs stored in /etc/cron.daily/ . We would like the email for some of these cronjobs to go to a particular email address, while the rest of the emails in ...
3
votes
2answers
401 views

Getting the number and names of windows in Xvfb

I am currently working with Xvfb to grab the screenshots of my programs. Is there a way to determine the number and the names of the windows that are currently "displayed" in Xvfb? Where can I find ...
1
vote
2answers
316 views

forwarding DHCP packets

I've got this configuration: WRouter ->(by wifi) Computer1 And I want to add another computer (computer2) connected by cable to computer1. Is it possible then to configure computer1 to forward ...
2
votes
1answer
1k views

How to uninstall RHEL from a dual-boot system?

I had RHEL 5 and WinXP on dual-boot and then from WinXP I deleted those partitions which were allocated to RHEL. Now I am not able to start my computer. The booting process stops at grub. I tried ...
7
votes
9answers
7k views

Find out if the OS is running in a virtual environment

Is there any way to find out if the OS I'm running (actually installing) is running in a VMWare machine. I need to disable ntp settings if the automated install is done on a virtual machine but keep ...
1
vote
1answer
270 views

Recording and charting boot process information in Linux

I need to write a command line tool that records the boot process information in Linux, and then renders it in a chart format (a textual chart would do). How do I programmatically obtain the this boot ...
1
vote
3answers
190 views

back-up database in Linux partition from windows partition!

Hello I am in a very embarrassing situation, I was trying to upgrade to ubuntu 10.04 from ubuntu 9.10 yesterday and while updating I forgot to put my laptop on charger and the battery ran out. Since ...
1
vote
0answers
143 views

How can I list only the directories present in a directory using ls? [duplicate]

Possible Duplicate: Is there any option with 'ls' command that I see only the directories? I have a directory with a lot of files but only a few directories. To get a list of only ...
6
votes
2answers
2k views

Will the system make sure that mdadm is sync-ed before completing a reboot?

This is a follow up to my crazy mdadm problem. I'm trying to figure out what might have caused sda to get out of sync in the first place. The only thing I can think of is that I had just run a bunch ...
3
votes
1answer
3k views

what does the “a” in chattr +ia do?

what does the a in chattr +ia <filename> do? and why would you add the a in combination with the i? note: I know the i is for immutable
9
votes
1answer
2k views

How do I view the IO priority of a process?

How can I view the IO priority of a process? like to see for example if something has been ionice-ed.
1
vote
1answer
772 views

Example for kernel timer Implementation in Linux

Could you please give any basic example of a kernel timer (start_ktimer) implementation in Linux?
3
votes
2answers
845 views

In new users's home directory create sub-directory with a specific group and permissions

Linux will copy the the contents of /etc/skel when a new user is created. I want to have a sub-directory in each user's home directory, MyStevedore. I want this directory to have the owner be the new ...
13
votes
1answer
7k views

touch: cannot touch `foo': No such file or directory

What could cause touch to fail with this error message? touch: cannot touch `foo': No such file or directory Note that an error due to incorrect permissions looks different: touch: cannot touch ...
3
votes
1answer
295 views

Migrating from tp_smapi to 'normal' ACPI support in 2.6.36

I used zen kernel patchset for a long time which included tp_smapi patch. Recently in zen-stable tp_smapi was removed as "We no longer need tp_smapi as of 2.6.36 - the in-kernel thinkpad acpi support ...
1
vote
1answer
273 views

VPN issues on web browsing

I'm using Ubuntu Maverick and this is the setup: Our router connects us to the company's VPN through which we can access some internal websites. I have to connect also to a customer's VPN in order to ...
6
votes
4answers
3k views

Can I work with Sql Server, Office and C# using Linux?

I want to start working with linux, and I know I should work in that regularly to improve myself. I work with sql server, office, c# at the company. can I install and do my tasks in linux (i.e. red ...
1
vote
1answer
823 views

Optimal Linux Distro to Install to SD card to use as USB-Bootloader for PC? [closed]

(Copied from andoid stackexchange) Many people install Linux-based distros on USB drives to use for, largely, basic PC troubleshooting. Has anyone tried installing such a thing on their Android ...
2
votes
2answers
1k views

Killing a running process in an Ubuntu machine remotely from a windows machine which is in LAN

Is it possible to kill a process running in an Ubuntu machine from a Windows (XP) machine remotely connected via LAN? I can kill the process in a windows machine from a remote windows machine (in ...
9
votes
2answers
1k views

Rosetta Stone for Linux Distributions?

Is there is something like a Rosetta Stone for the different Linux Distributions? Perhaps a site where you can look up a commands, configuration files or problem solutions for a specific task ...
22
votes
4answers
8k views

What makes OSX programs not runnable on Linux?

I know there are many differences between OSX and Linux, but what makes them so totally different, that makes them fundamentally incompatible?
3
votes
1answer
876 views

SSH getting disrupted intermittently

I have Red Hat Linux Enterprise Edition 5 on my box. Recently I started having issues with my SSH service not keeping my connection and randomly disconnecting my clients. Ping works perfectly fine, ...
2
votes
1answer
643 views

How do I watch my webcams feed in linux

In windows I can open "My Computer" and click on the "Webcam" icon to get a feed from my webcam. I can also take snapshots of that feed. Can I do the same in Ubuntu? Without installing any extra ...
11
votes
4answers
3k views

How can I debug a Suspend-to-RAM issue on Linux?

I'm hoping to get experience-based suggestions on how to go about debugging suspend-to-RAM issue. Advice specific to my situation(detailed below) would be great, but I am also interested in general ...
3
votes
2answers
2k views

Is the Creative Sound Blaster X-FI Surround 5.1 SB1090 USB sound card supported in Linux?

And to what extent does this card have support in Linux?
17
votes
1answer
12k views

What is meant by mounting a device in Linux?

I've heard the term "mounting" when referring to devices in Linux. What is its actual meaning? How it handling now unlike older versions? I haven't done that manually via the command-line. Can you ...
4
votes
3answers
364 views

Kernel debugging

I would like to study the flow of some linux device drivers and some minimal flow of kernel (threading cum context switching and interrupt management). How can I debug the linux kernel? What are the ...
4
votes
3answers
5k views

Hard drive/device partition naming convention in Linux

What is the hard disk drive/device partition naming convention in Linux? For example, [hd0,0], sd0, etc. What does it actually mean? What is the significance of this when i need to install multiple ...
2
votes
3answers
520 views

Why is connecting scanners to Linux such a pain?

I've run into this problem yesterday, after about six months or so, where I used my scanner for the last time. I've installed a new Linux in the meantime. I have a Mustek BearPaw 1200 CU Plus. It's ...