A family of Unix-like operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

learn more… | top users | synonyms

1
vote
2answers
2k views

Switch off optimus in dell inspiron n5110 in linux

I have a dell n5110 laptop which comes with a nvidia optimus GPU.While there is no problem in windows 7,the real problem is with linux. The GPU is always on though not detected by linux and sucking a ...
-1
votes
1answer
352 views

what happens if we give “777” permissions to /etc/sudoers?

What happens if I give "777" permission to /etc/sudoers? I am looking at the security perspective. I want to know the importance of /etc/sudoers file as well.
1
vote
3answers
104 views

Linux: Shared and mounted directories

Fairly-new to Linux and am trying to see if I can start getting a little clever. I have a server that contains files that I'd like to have "locally" accessible on other servers directly under the / ...
1
vote
1answer
557 views

What is the logic behind Linux nice values?

Wouldn't it be nice if nice values in Linux were switched: -20 = low priority +20 = high priority $ renice -p +5 # would get more CPU time and $ renice -p -5 # less Why was it selected to be ...
4
votes
2answers
4k views

How can I find out where an environment variable (like PATH) was set?

I have a xterm with the bash shell in linux. When I echo $PATH, it is showing a directory and I want to know who put this directory in the PATH. How can I find out? Thanks!
2
votes
1answer
1k views

Linux `mount --bind` made client's folder disappear?

I tried making a VSFTPD user with access to all of our clients' FTP folders. (the users are all chroot'ed to their home directories, where the public_html folders are). What I did was create a new ...
1
vote
1answer
1k views

Configuring clients to use a specific nameserver for a domain? [duplicate]

Possible Duplicate: How can I set up Linux to use a different DNS server for a certain domain? Right now I have a multiple nameservers defined in my /etc/resolv.conf but they are all used ...
0
votes
1answer
370 views

X (on Mint Debian, GeForce2 Integrated) is unstable after installing legacy nVidia drivers

This is a long story so I'll try to trim it down, please ask for any information. This machine is running Linux Mint Debian, it's an ASUS A7N266-VM with GeForce2 Integrated Graphics [NVCrush11] that ...
0
votes
2answers
1k views

Bootable usb for linux (RHEL)

I want to create bootable usb for rhel linux from iso image. please suggest me methods, i can use window or linux itself for creating bootable usb/pen-drive. Thanks
2
votes
0answers
294 views

centralized growl forwarder

Multiple services on servers I'm running can be configured to output growl notifications, I'd like a centralized forwarder to run on a Linux box I'm looking for either an implementation or tips on ...
1
vote
7answers
523 views

Is there a way to kill a program while in Linux command line?

I'm currently testing a C++ program on the command line of a linux machine and unfortunately it sometimes gets into infinite loops. Is there a way that, from the command line, I can kill this ...
1
vote
1answer
2k views

How can I use the Linux System Rescue CD to backup my windows partition to another computer over a SMB network?

I would like to back up a partition over a network, as it's just a bit too big for a CD. I downloaded the Linux System Rescue CD, seeing that it can do stuff similar to that, but I can't figure out ...
1
vote
2answers
937 views

Writing a cron job to email myself

How would i write a simple cron job to email myself a message at a certain time? Also is it possible to create a cron job without root access. I'm trying to use my school's server?
2
votes
3answers
2k views

unable to connect internet dongle in fedora

I have installed fedora 16 Gnome. I have been using usb-dongle to connect to internet in windows. But when i inserted the same dongle in fedora it didn't show any device. What is the way i can connect ...
8
votes
4answers
2k views

Is it possible to “pipe” audio into the “line in” for a particular program?

I want to take the audio output of a program, and "pipe" it into the audio input of another program. So I could, say, play a song with Banshee, and have Skype hear it, playing it to whomever is in the ...
1
vote
1answer
259 views

Would a RAM upgrade do anything

I'm going to be fixing up an old box I had in the closet and running debian on it, going to be an all-purpose server for my own uses... but I wouldn't mind it being a game server or something... if ...
0
votes
4answers
4k views

Installing Linux on an Asus p8z68-m PRO Motherboard

Here is a challenge: how is this done? I've tried disabling the ASM1061 controller in the Onboard Devices section, using Wubi, booting from USB (as I don't have a DVD drive, yet), and even booting ...
3
votes
1answer
911 views

Running into errors reattaching to a GNU screen session that tunnels X over SHH

After tunneling X over an SSH connection using screen on the remote, how can I reattach the screen session from another machine and tunnel X to that other machine? I either get "cannot open display" ...
3
votes
1answer
1k views

How can I automatically switch my VMs' bridged adapters between eth0 and wlan0 depending on what's active?

In Virtualbox, I have a bunch of virtual machines. The host is a Debian laptop that frequently switches between a wired and a wireless connection. Every time I go wireless (or go wired), I have to ...
0
votes
1answer
1k views

Can an NIS user be a member of a local group?

I have a Linux box which is part of an NIS setup which I cannot administer. My login on the Linux box assigned to me has sudo privileges. I need to setup a local group, and make my NIS user a member ...
3
votes
0answers
2k views

Starting MTA: without network takes a long time?

Whenever I start up my netbook without an internet connection, I might as well be using windows because it takes forever to start up waiting for "Starting MTA:" which eventually times out and ...
0
votes
2answers
1k views

Installing tar.bz2 file of VLC player

I am a new user to Linux. I need to install VLC player in Fedora. I downloaded tar.bz2 package for VLC player. How do I install this player? I searched how to install tar.bz2 and i tried this: I ...
3
votes
1answer
631 views

Ubuntu - delete local dns cache?

To fight against my procrastination I changed /etc/hosts on my Ubuntu (11.10) laptop. The /etc/hosts looks now like 127.0.0.1 facebook.com 127.0.0.1 plus.google.com 127.0.0.1 twitter.com and ...
1
vote
0answers
367 views

Linux PPP Routing issue [ Network Unreachable ]

Well I set up a ppp connection for my USB modem. I even got an IP address but when I try to do a ping I get network unreachable. I think it could be because the same laptop also sometimes get ...
1
vote
1answer
494 views

Using a Windows application from Fedora Linux

When I use Fedora, sometimes I feel the need to run applications installed on Windows 7. I have dual booted Windows and Fedora. Is there any application that can run a Windows application from ...
0
votes
1answer
907 views

How could I get the second line of grep's output as the input paramemeter to vim?

$ grep -l -R "myEditor_Init" * Public/Js/eWebEditor/dialog/ewebeditor.htm Public/Js/eWebEditor/ewebeditor.htm Public/Js/eWebEditor/js/ewebeditor.js For example, I would like to grep and vim the ...
0
votes
1answer
649 views

How to enable the super key when running linux in a virtual machine in OSX

I'm running Linux inside VMware in OSX. I want to use gnome-do. The shortcut key to call it is super+space. But that doesn't work when running inside VMware on OSX. How can I enable to super key to ...
1
vote
3answers
257 views

Is there a way to determine if TRIM is why my HD is slow?

I have a computer with RAID1 SSDs, but the performance I'm getting out of them is really bad (around 20MB/sec sequential read). They don't have TRIM enabled since it's an old Linux kernel, so before I ...
0
votes
1answer
136 views

How to automatically move files to the network

I'm looking for an open source solution to a piece of Windows software that will monitor a folder on a Linux server via Samba and copy them to the local machine. I need this to run on a virtual ...
3
votes
1answer
1k views

Difference between suspend to “mem” and pm-suspend

What is the difference between echo "mem" > /sys/power/state and pm-suspend Both can put the computer to sleep mode. I want to execute a script automatically when the system resumes from ...
3
votes
4answers
24k views

How to install Tortoise client in Linux machine

How can I download and install the TortoiseSVN client on a Linux machine? I am using PuTTY to access the machine, so please give the installation steps using shell commands.
1
vote
1answer
225 views

What does the messsage "Adding *k swap on …' mean?

I have the following message in the syslog on some machines: Adding 8385920k swap on /dev/sda3. Priority:-112957 extents:1 across:8385920k What does it mean? Is it a problem? And why is this ...
1
vote
1answer
645 views

Boot Gentoo Linux off SD Card on MacBook Pro

I'm trying to boot off an SD card on a MacBook Pro 5,4. I can get into GRUB and boot the kernel but I get a panic when it tries to find the root file system. For some reason, no matter what option I ...
0
votes
0answers
1k views

DDWRT, redirect LAN IP requests on port 80 to external proxy server

I'm trying to redirect all port 80 requests on a single LAN IP to an external squid proxy server outside of my network. For debugging purposes, I'm attempting this from the router level as the ...
0
votes
1answer
73 views

can you skip a single upgrade without cancelling the whole process?

When using yum and executing yum upgrade, the shell will automatically upgrade all packages that are eligible for upgrade. If I come across a particular package that I do not need or want upgraded, ...
0
votes
4answers
1k views

Blacklisting pcspkr module doesn't work on CentOS 5.7

I hate the terminal beep and I want it removed completely. I added this line to my /etc/modproble.d/blacklist.conf file: blacklist pcspkr However when I reboot the lsmod output shows it loaded: ...
2
votes
2answers
985 views

VI make every first letter that comes after a underscore uppercase

Found this site: http://unix.t-a-y-l-o-r.com/VMswitch.html And it works for the first character but my lines are line this this_is_a_string And I would like this This_Is_A_String Any ...
2
votes
1answer
616 views

Linux - Limit user's ftp access to home directory

I have created a user in linux (User1 for the purpose of this question). I have changed User1's home directory to a new directory. I would like to ensure that User1, when FTP'ing, cannot browse out of ...
1
vote
1answer
322 views

Copy existing Ubuntu drive to partition on new hard drive

I have a new laptop with two partitions, one is currently loaded with Windows 7, the other is blank. I'm pretty familiar with using dd to backup/copy drives, but I'm wondering how I will deal with ...
1
vote
3answers
5k views

fdisk can't find USB storage

A problem with USB storage in Linux has cost me more than one day: dmesg says USB is detected, but fdisk -l can't find USB storage. My kernel is 2.4.32. Infomation about this USB storage can also be ...
1
vote
1answer
2k views

Broadcom Wireless on Debian doesn't work

I'm running Debian Linux on a MacBook4,1 with the legendary Broadcom wireless chipset. Before updating the kernel to 3.2.0.1, following this guide to set up wireless worked like a charm. However, ...
2
votes
3answers
2k views

awk/sed + replace only the second char with one space

please advice how to remove only the second "." character from the version number with awk I need to fit the syntax for Linux & Solaris I write the sed "s'/\./ /g'" - but this syntax ...
2
votes
6answers
1k views

How to make “rm” require root privilege?

I often misuse "rm" for "mv"! I hope to make "rm" a command requiring root privilege, like "apt-get". How to do that, please? My system is Ubuntu 10.10.
0
votes
5answers
111 views

Linux find files

What could be a command to find all files owned by "abc" user, I guess that can be extended to finding all files with group 'def'. e.g. if I got result (ls -l) such as one shown below -rwxrw-r-- ...
3
votes
1answer
2k views

How can I get Terminal to repaint the contents when I resize the terminal?

A default terminal width might be 80 characters, however the output of a command might have been 100 characters (wider than the width of the terminal), so it spills over and puts 80 characters on one ...
2
votes
1answer
964 views

Multiple keyboard and mouse inputs

I have a linux laptop connected to an external monitor, keyboard and mouse. How can I have the laptop's keyboard and trackpad be independent from the external keyboard and mouse so I can keep them ...
1
vote
0answers
50 views

What happens if a linux kernel argument is passed twice with different values? [closed]

As the question states, what if I pass kernel /vmlinuz audit=1 audit=0 Will auditing enabled or disabled? Or will the kernel just freak out? Or is it undefined and will depend on the build of the ...
3
votes
1answer
394 views

SFTP with chroot in a folder that can not have root privileges

I have troubles with setup a SFTP with chroot in "public" folder. Each client on my server has 3 to X accounts. These three accounts are: USER - system account only for internal use, requires full ...
1
vote
1answer
3k views

Is it possible to broadcast ARP from the command line?

Would be possible to invoke an ARP broadcast from the command line when running Windows and Linux? If so what would the commands be?
0
votes
1answer
985 views

Getting error GTK when compiling although GTK is already Installed

I'm a linux newbie and trying to compile a software but getting an error; it is telling me that GTK is not installed checking for GTK... configure: error: Package requirements (gtk+-2.0 >= 2.0.0) ...