Linux refers to the family of Unix-like computer 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
1answer
1k views

How to mount filesystem at boot when filesystem exist

I have Linux mint 13 maya installed on USB Pendrive (my portable linux). I run it on different computers. Is there a way to set the fstab to auto mount the hard drive from X computer at boot? So far ...
1
vote
1answer
2k views

High CPU usage by virtualbox running windows 2003 in Linux host

I'm running a windows 2003 guest in Linux xiamx-pc 3.2.0-24-generic #39-Ubuntu SMP Mon May 21 16:52:17 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux I notice that virtualbox process constantly takes around ...
4
votes
4answers
436 views

Is there a linux command that lets me color-code the result of another command?

I'm running a watch on a command to monitor the number of open connections for a service we're diagnosing. I need to keep an eye on it while doing other work, to help other developers identify when ...
0
votes
1answer
377 views

Thin virtual host

My work setup relies on old Windows XP. Now, when Windows XP isn't supported by new hardware, it's getting harder and harder to buy a notebook on which Windows XP can run natively with all essential ...
0
votes
2answers
1k views

How to get the ip address of an VM in Xen without logging in?

I'm using xen virtualization with a dhcp server. Whenever I create a new VM an ipaddress is assigned by the dhcp server. I'm working remotely and have to use only command line, so logging into the VMs ...
7
votes
2answers
524 views

Why is the -r recursive flag capital in some and lower in others?

Some commands use a lower case r for their recursive flag while others use a capital letter R. cp -r foo/ bar/ chmod -R 777 foobar/ Is there a reason for this?
0
votes
1answer
1k views

netcat and tee redirection via a bash script

Quick question that has been haunting me all day.. I have a bash script that includes this line: nc -l 8044 | tee nc-output & The output from netcat is never being written to nc-output. If I ...
0
votes
1answer
265 views

CentOS, cannot create ftp user

I have VPS and I installed cPanel & WHM and everything works, but i tried to add user with "useradd -m user -d /home/cs/user" and it worked, I added password and tried to login in ftp, and it ...
1
vote
1answer
7k views

CentOS 6, add user to folder

I need to create user with limited access to one folder only, example /home/user1.Like in cPanel and WHM. How can i do it ?
1
vote
0answers
415 views

Ubuntu 12.04, 2 NVIDIA GPUs, 2 different XScreens

I have two separate GPUs on my desktop, each has one monitor attached with. I know Compiz does not work with Xinerama, and TwinView only works when 2 monitors are from the same GPU. So I disable both ...
0
votes
1answer
3k views

Curl Couldn't resolve host for HTTPS

I am trying to use curl on a Red Hat Enterprise Linux Server release 6.1. When I try to use URL with HTTPS it gives an error message "Couldn't resolve host". But for the same URL when tried with HTTP ...
1
vote
1answer
720 views

How to set Linux processor affinity to single core?

How can I set processor affinity in Linux machine (Fedora) that user duel core Intel(any) CPU? I want the other core to shut down. Thanks
0
votes
1answer
73 views

Why in the file smb.conf before parameter names spaces are used

I can't understand why in the file /etc/samba/smb.conf leading spaces are used in parameter names, while in man smb.conf stated "Leading, trailing and internal whitespace in section and parameter ...
2
votes
2answers
544 views

why does my user show up more than once in ssh

Please help me understand this ps aux output ps aux | grep daniel root 2564 0.2 0.5 8404 2764 ? Ss 04:11 0:00 sshd: daniel [priv] daniel 2621 0.0 0.2 8404 1424 ? ...
3
votes
3answers
998 views

How to check if zip file is empty in bash

How can I verify if the zip file is empty or not ? I cannot use if -s in bash as the zip file is not always zero in size. if the zip file has empty directories in it, I want to delete the file else ...
2
votes
1answer
456 views

My XFCE4 icons all almost gone

I am using Archlinux and today I've tried to install a new theme. When I rebooted the PC, almost all of my icons are gone (as you can see in the screenshot). I've tried to get back the default Tango ...
2
votes
1answer
73 views

In emacs on X, can I close frames on other displays?

I'm at work, on a linux machine. I ssh into machine alpha, with X forwarding. tomfuture@work$ ssh -X alpha Then I start up X-windows emacs. tomfuture@alpha$ emacs It shows up on my local ...
0
votes
1answer
337 views

Hot-swapping drives

I have hot swap drives and controllers, but have never actually used the hot swap capability. What is the procedure for doing so? Do I need to warn Linux that I'm about to pull a drive out? Should ...
9
votes
1answer
3k views

Which files do I need to backup to keep my Linux user settings?

I need to accomplish a clean install after a bad graphics driver issue. Which are the files I must backup to keep all users settings in Linux? My distro is fuduntu.
1
vote
1answer
2k views

Changing IP settings via ssh in Ubuntu. What should be done?

I've hear mixed things about how to handle setting IP parameters in Ubuntu. There's several sources that say if a GUI is installed like KDE or Gnome, that you should only use the network manager to ...
1
vote
1answer
919 views

Centos 6.2 Minimal - DNS not resolving

I can ping domains (ping google.co.uk) and this works OK. However, if I do curl "http://google.co.uk" it hangs for a while and comes back with a failed message. I also get a similar message with "yum ...
0
votes
1answer
403 views

Restart Linux without losing IP address

I am using a computer on a network I have no control over (at work) that uses DHCP to assign me an IP Address. Each time I reboot the network assigns me a new IP address (which is annoying as I am ...
1
vote
2answers
639 views

How do I copy only subdirectories but exclude other files in Linux?

Here is my directory structure: /home/folders/test (some directories) and files test.xml test1.xml test.js images (directory) /home/folders/test/images/( some directories ) and files I have to ...
0
votes
1answer
86 views

Why isn't it possible to access the root account directly in Fedora?

Why isn't it possible to access the root account directly in Fedora? In CentOS and Ubuntu we can access it, but why not in Fedora? What is the security reason for this?
1
vote
1answer
62 views

Development environment for Linux wireless using sparse [closed]

I am used to Eclipse and Visual studio for development for Java and C#. I am looking forward to modify and compile some files in C in the Linux Wireless subsystem. The site recommends using Sparse but ...
1
vote
2answers
233 views

find files where group permissions equal user permissions

Is it possible to do something like find -perm g=u? I say "like" because -perm mode requires mode to specify all the bits, not just g, and because I can't put u on the right side of the =, like I can ...
1
vote
2answers
2k views

How do I locate php.ini?

I installed php on the server and php_info(); displays: Configuration File (php.ini) Path /home/gmcnulty/php However, I don't see anything there nor do I see any php directory? How do I ...
5
votes
3answers
260 views

Create Google Maps screenshots at regular intervals

Background People are concerned that building a pipeline to the West Coast of Canada will increase the number of oil tankers, thus increasing the probability of a major oil spill, thereby creating an ...
0
votes
0answers
174 views

Wifi connection not working on Ubuntu 11.10

I have two operating systems installed on my computer [Windows 7 and Ubuntu 11.10]. When I use Ubuntu, my internet connection cannot be used, even though I am already connected to the wifi. In Windows ...
4
votes
1answer
2k views

What causes my USB harddrive to stop working after unmounting?

I have recently bought an external harddrive to use with my Linux notebook. The harddrive is spec'ed at USB 3.0 while the notebook only supports USB 2.0. The drive seems to work fine when I plug it ...
2
votes
0answers
360 views

Installing pcf fonts on Gentoo for urxvt and Awesome wm

I downloaded the linux version of Profont from here And I have no idea how to install it. I want to be able to use it for urxvt and awesome wm. What should I do?
3
votes
1answer
73 views

Should I create a separate user for a backup script that uses a passphrase-less ssh key?

I currently have a back-up script running via cron. It basically is a few rsync commands stringed together. For my main shell logins I have ssh keys with passphrases, but because of the automated ...
1
vote
1answer
138 views

User belongs to different groups when logging in via control alt F1 than via ssh or su, including su -

Made a guest account for a friend to access my machine and restricted him to a very small set of permissions. That seems to work as expected using ssh, when running id and groupsthe correct groups are ...
1
vote
0answers
556 views

Gnome 3 wifi hotspot does not connect with WPA & WPA2 [closed]

I am creating a wifi hotspot. It does connect with adhoc connection but that my android does not detect. When I select security type to WPA & WPA2 Personal. It keeps connecting and never ...
2
votes
1answer
2k views

Kernel data types u8, u16, u32, u64 not resolved

I am trying to compile some files related to wireless subsystem (mac80211) which use datatypes u8, u16, u32, u64. These are not resolved. The header file being referred to is linux/types.h which is ...
2
votes
1answer
351 views

How to configure Full Cone NAT with Iptables

I want to find the right iptables commands combination to address the following need: NEs are NATed thru the linux box (using iptables) towards the WAN cloud, where the NTP servers are situated. In ...
0
votes
1answer
161 views

Using MathPlayer on Linux without Internet Explorer

There is a plugin for Internet Explorer called MathPlayer which is a text-to-speech plug-in for mathematical expressions. It can read mathematical expressions aloud. However, I'm not using Internet ...
13
votes
1answer
2k views

What's an elegant way to copy the creation and modification dates of a file to another file?

How can I set the time information of a file to be the same as of another file on OSX / Linux?
0
votes
3answers
741 views

Lightweight ad-blocker for firefox [closed]

On a old machine (512 MB RAM) I am currently running ubuntu jaunty and firefox 3.0.15. I tried the ad blocker addon add block plus but it eats lots of RAM (>300 MB). Is high memory load of this ...
-1
votes
2answers
366 views

What is the suitable linux version for Developers? [closed]

I am a novice application developer. I wanna to use Linux and try it out. But I've no idea of Linux distributions and what they are capable of. I've heard about Ubuntu, Linux mint, fedora. But what ...
2
votes
4answers
4k views

How to find files containing two strings together in Linux?

I want to find files containing two strings together, for example the file contains both string1 and string2. I want the full path of files in output. I don't want to see "permission denied" ...
-1
votes
1answer
3k views

Linux Redhat Update to Java 7

I'm trying to update to java 7, via command line but having no luck, can someone help me out please? I've done some searching, but haven't come up with anything that works so far.
1
vote
3answers
116 views

Do all my programs have owner rights to all my files?

I'm worried about all my programs having full access to all my files. Eg: My user is 'john'. I install some program, say Dropbox. Dropbox runs as 'john'. Therefore it not only has full rights on its ...
-1
votes
4answers
420 views

is it possible to host a website from my computer with broadband [duplicate]

Possible Duplicate: Run Web Site From Home I am thinking about hosting a simple blog site from my PC. Is it possible to use broadband to host my site & how much minimum speed is ...
0
votes
2answers
1k views

Linux mint remove shortcut

I want to remove shortcut from the upper panel in Linux. But right click gives me only "launch" and "properties" options.. How can i remove this shortcuts?
1
vote
2answers
2k views

Linux live cd with Broadcom Wi-fi support

I am looking for a live distro that has out of the box Broadcom wireless support. I am pretty happy with my Ubuntu installation and as long as I have an ethernet connection first time installed, I can ...
0
votes
1answer
311 views

How to “forward” email from one pc to another?

I have two computer, one Linux and the other Windows XP. Usually I work with Linux machine, receiving email etc. Recently, my company blocked Linux pc's network, I can't recevice email as usual. ...
0
votes
2answers
243 views

Install ubuntu next to windows

I would like to dual boot my Windows 7 with Ubuntu Linux 12.04. I created a bootable usb with Ubuntu installed and it works fine. But now, I would like to install Windows and I have a little problem: ...
0
votes
0answers
396 views

Remember current working directory when opening new tab in linux terminal Tilda

I think my question is pretty clear when I try to open a new tab in my terminal(tilda) it doesn't remember the last working directory. For example: Current Tab: ranveer@ranveer:/etc$ After ...
0
votes
3answers
127 views

Can we boot up our notebook with linux disc and get access to file?

We have found a old notebook in company and are unable to identify who is the previous user. We don't have the user password. We've try all possible password for the administrator but doesn't work. I ...