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
1answer
2k views

Assembling an mdadm array with “possibly out of date” disks

I've recently moved house and have had some power problems after switching on my file server that's using a mdadm RAID5 set up. The file system I'm using is ext4. It seems that at some point two (of ...
1
vote
1answer
2k views

Disk usage of a symbolic link

If I check the file size of a symbolic link by stat(), then it reports a nonzero file size equal to the link path string. But when I use du on the link, it reports a size of zero blocks. Is there a ...
3
votes
1answer
2k views

How to compress only files without their parent directory?

I'm trying to compress files in a directory. Let's assume the directory is "test". when I execute the following command and unzip the file, I get "test" folder and files inside the test folder. zip ...
1
vote
3answers
275 views

Linux - Protection from ourselves (Root)

I love Linux and everything she stands for; however, unfortunately I grew up with Windows. Thusly so I have learned very bad practices (such as NT Authority will protect me). I have several Linux VPS'...
2
votes
3answers
6k views

Restrict folder access in Ubuntu

I want nobody to access my private folder, I'd like to set a password for it or just make it only accessible by root user. How can I get it? I'm using Ubuntu.
2
votes
2answers
3k views

Why is the User created during linux installation not the root user? [closed]

Whilst I was installing Linux Mint... I created a user profile.. then after the installation was complete I tried installing NASM but after executing the make install command it failed to create ...
1
vote
1answer
2k views

How to enable auto-screen update on monitor plug-in/out on Lubuntu (and how is it acheived in Ubuntu)?

I have a laptop which I want to have connected to an external monitor 99% of the time. The other 1% I would use its screen. I want the laptop to be closed (usually) to save space, and to use external ...
0
votes
0answers
805 views

Trouble Adding ROMs in GroovyArcade

I don't know if any of you have experience with GroovyArcade, but hopefully someone's heard of it. It's an all-inclusive Linux live CD designed for emulating old game systems and arcades, based on ...
14
votes
1answer
9k views

Why can't I chown a VirtualBox shared folder?

I'm trying to recursively chown a VirtualBox shared folder, but I can't get it to work: $ ls -lah total 16K drwxr-xr-x 4 root root 4.0K Aug 1 2012 . drwxr-xr-x 23 root root 4.0K Jul 21 2012 .....
1
vote
1answer
155 views

Having trouble with what should be a simple bash script

I'm having a problem with one segment of the following script. Each echo->grep->was written in to help me figure out where the script was failing to perform as I expect it to. It is designed to be ...
0
votes
2answers
2k views

Kiosk lockdown Fedora 19 Xfce

I am attempting to lock down a Fedora 19 install so that the user is locked in to a full screen version of Firefox. This can be achived with an number of addons for Firefox. I also need to lock down ...
1
vote
1answer
534 views

Qt creator throws permission error on project (files owned by me) within directory of root

I have recently changed to arch linux from ubuntu and copied my qt project to my home directory, Whenever I open the project with qt creator, it gives me permission error and says that it cannot ...
3
votes
4answers
24k views

How can I completely remove PHPStorm, and all associated files on Ubuntu 13.04?

After removing the Phpstorm directory from Ubuntu, future installation attempts do not actually install any more - no menu item appears under Applications in the top left, and running the "globally ...
0
votes
1answer
164 views

How to add network aliases in Linux for network computers

In Windows, the c:\windows\system32\drivers\etc\hosts file lets you add aliases to IPs so you can remember those computers with a familiar name. Here's the header of the HOSTS file, for example =====...
0
votes
1answer
191 views

Create a fake RDNS resolution in Linux

I'm currently contributing at Mozilla Community IT, and I'm working with our infrastructure team to setup a puppet master. Puppet doesn't play nicely without RDNS resolving properly, but our cloud ...
1
vote
0answers
351 views

Stick USB modem to specific /dev/ link

I have up to 4 USB GSM modems from different providers. When I plug it,udev/usbmodeswitch makes a symlink to each device at /dev/gsmmodem, /dev/gsmmodem2 and so on. I need to make the symlink name ...
2
votes
1answer
591 views

CentOS Minimal + GUI; How to ensure GUI packages are installed from USB rather than from YUM repos?

I downloaded the CentOS Minimal .iso file from CentOS' web site and then created a USB drive via some tool by Fedora, I believe. I booted up the PC and installed CentOS Minimal, it was flawless, no ...
1
vote
2answers
2k views

wants to remove cdh4(hadoop) from ubuntu 12.04

i have installed cdh3 pseudo mode in my ubuntu 12.04(precise) system using the following web reference cdh3-install-ubuntu12.04 now i tried to install cdh4 to replace cdh3 but,unfortunately found ...
0
votes
0answers
136 views

Virtual machine host software

I would like to create a virtual machine running Linux and a couple of network services. This virtual machine should be on a USB stick and able to run on both Windows and Linux hosts, with as little ...
0
votes
1answer
359 views

Windows 8 BIOS can't read DVD drive, want to switch to Linux

I have a laptop, Asus X401U, that came with Windows 8. I've been trying to switch to Linux via DVD, read online tips about how to get to the BIOS, and got stumped after UEFI (my reference is this ...
0
votes
1answer
656 views

Incremental disk image backup for linux

I have 4 RHEL+2 windows workstations and 1 windows 2012 server. I want to take incremental backup of Linux to windows server. Is it possible to do this. I mean windows to windows is possible but is ...
0
votes
0answers
136 views

Ask SSH passphrase only once for “chained SSH”

I have a master running Ubuntu and a Slave running Mac OSX 10.6.8. I set up the SSH keys. When connecting to the GIT repo directly from Slave, everything works well and I am not asked to enter a ...
0
votes
4answers
54 views

Secured Directory creation in Linux

How to create a directory with such a permission using a normal user in linux. And that directory should not be deleted using root user also ??? Any chance of creating it, if yes pls help me to do ...
1
vote
2answers
3k views

Creating a USB stick for installing centos 6.x using DVD1 and DVD2 iso files

First, we create 2 partitions on the USB stick that is let's say 16GB. first partition is let's say only 1GB and the second partition is the rest of what is available. after we "w" write the changes,...
1
vote
1answer
2k views

How to partition a USB drive into 2 sections for Centos ISO files

I actually once did this but forgot how it's done and also did not take notes. i think i need to create 2 partitions. one needs to be 500 mb and the rest needs to me whatever is left in the USB ...
7
votes
2answers
14k views

How can I list the available video modes for a USB webcam in Linux?

I faintly recall that once upon a time, I found a command-line tool (something involving "UVC") to list the supported resolutions & modes of a USB webcam camera (e.g. PAL, 640x480) in Linux, but ...
1
vote
1answer
4k views

Cannot open port 8080

I'm running a VmWare with an application under JBoss starting up on port 8080. I'm able to access the app from outside the VM if the iptables are off. However, I must turn on iptables due to some ...
0
votes
0answers
290 views

Recursively download a package's dependencies with yum?

Is there a way I can use yum to check all of a package's dependencies and grab those first, then check their dependencies...so I can get the package I want in one swoop?
1
vote
2answers
63 views

Need some help on creating sym links

Using Linux Centos 6 I have 16 years of data sorted in directories by year and then day (1997/001, 1997/002...). Each 'day' directory has 24 files, 1 for each hour, with hour name in each file (i.e. ...
3
votes
2answers
688 views

Force certain applications to use VPN

For a few days now, I've been trying to force only certain applications to use a VPN. I've thus far found it pretty simple to either force all applications to use it, or no applications to use it. I'...
1
vote
0answers
123 views

Notebook running hot with ArchBang

This is my first installation of Arch, so I may have forgotten something. After booting it, the laptop quickly starts to became hot. I've been reading documentation on Arch wiki, but didn't found ...
0
votes
0answers
145 views

LINUX: How to make 'htop' sort? F6 works, but won't let me select anything

I'm using htop in Linux, and I'm trying to set it to sort by Time+ instead of CPU%. So I press "F6" to open the 'sort by' menu, but it won't let me select anything. The arrow keys don't work in the '...
0
votes
1answer
320 views

Problems booting onto Windows 7 (Dual-Boot Linux / Windows)

I have an Acer Aspire 5742G laptop, with Dual-Boot Elementary OS Luna and Windows 7. This installation was created as following: First I installed Windows 7 with all the drivers and all the programs ...
0
votes
1answer
358 views

VBScript Carriage Returns

I write the following VB script in order to run commands from WIN XP on Linux machine and redirect the output command to out.txt file ( under C:\ ) My VB script I print the /etc/hosts file from Linux ...
4
votes
6answers
17k views

Linux: don't create swap partition?

I was wondering since I heard that swap is used when you're out or RAM and and swapping too much is bad, since I have a lot of RAM ( 8GB ).... what if I dont create a swap partition? Also, do I need ...
0
votes
0answers
65 views

issue in tranferring data from host machine to guest machine

We are having one Dell PowerConnect Switch which is operated on 10 Gbps; in which six to seven Server machines are connected . In each server machine we have inserted externally one 10 Gbps Lan card ....
0
votes
1answer
500 views

How to find out (debug) why ( /etc/rc.d/rc.local ) not executing a command that works ok via terminal?

There is a command inside my /etc/rc.d/rc.local i am not sure why it is not being executed. i think i either need to add #!bash or something on top of the script or perhaps i need to add gnome-...
1
vote
0answers
757 views

Adding eSATA PCI Express card

I've tried to add a PCI Express card to be able to plug eSATA hard drives to my home server (running Proxmox). Everything is plugged but I'm stuck. Is there any thing to do to setup the PCI card ? ...
0
votes
1answer
637 views

Xmonad GUI on debian

I followed this guide to install Xmonad GUI on my debian 7.1. Installation completed successfully after executing: aptitude install xmonad libghc6-xmonad-dev libghc6-xmonad-contrib-dev After ...
0
votes
0answers
172 views

Execute file from NTFS formatted HDD in Ubuntu [duplicate]

I have Ubuntu installed on SSD with a normal NTFS formatted HDD for storage. I created a c++ project in Eclipse with the workspace on HDD. My problem is that Eclipse create files with rw attributes, ...
1
vote
1answer
594 views

copying to usb drive stucks in xubuntu

I am using a 12.04 64 bit version of xubuntu and whenever i try to copy files from my computer to any usb drive, it starts with a good speed and comes almost to an end very fast but as soon as it ...
0
votes
1answer
1k views

VB sciprt + how redirect output from CMD window to file

I wrote the following VB script in order to run commands from WIN XP on a Linux machine and redirect the output command to out.txt file ( under C:\ ) I don’t understand why output from the command ...
3
votes
3answers
811 views

Linux: Share Wireless Connection Through the same Wireless Interface [duplicate]

Is it possible to accomplish in Linux the functionality of Windows Virtual Router (http://virtualrouter.codeplex.com/)? In another words, i want to have a NIC connected to an access point, and the ...
3
votes
1answer
4k views

Linux SOCKS5 tunneling not working with udp traffic

I am using the command ssh -N -D 0.0.0.0:1080 localhost which works perfectly fine for my web browser, but when I try and tunnel a UDP traffic application it doesn't work. I thought that socks5 ...
1
vote
2answers
679 views

/dev partition missing, so mdadm broken. How to get Linux to see partition?

Upgraded a Linux box and changed out the root drives. There was a RAID-5 array of three SATA drives that I moved over (not root). Reinstalled the OS but was CentOS 6.4 before and after. # mdadm --...
1
vote
0answers
44 views

Windows won't start if I modify anything on the C partition from a Linux boot disc

If i start Knoppix Linux from a CD, and then I rename any file or folder on my Windows 7 partition (C), any file at all, including a non-system folder that has nothing to do with Windows, then after ...
0
votes
0answers
689 views

Why can't I stream mkv from my Debian server running ffserver?

I've got a Debian Linux server with a bunch of mkv files that I would like to play from anywhere without directly downloading the files. In other words, I would like to stream them. I've tried using ...
1
vote
0answers
174 views

xdotool : close all windows except the one that is active (infront)

I would like to execute a command that will close all windows except the one that is currently active. i would likely to place this command in the gnome-panel which means when i click on the button, ...
1
vote
0answers
133 views

Automatically closing idle windows in Gnome

Can open windows automatically close themselves if they have not been used for X seconds in Gnome? For example, right now I have some Firefox windows and some other file browser windows etc open ...
34
votes
2answers
69k views

Updating Time : ntpdate[3108]: the NTP socket is in use, exiting

The time on my system is incorrect for some reason. i need to run an update but i can't seem to be able to this is the errror. ntpdate pool.ntp.org 31 Aug 12:31:59 ntpdate[3108]: the NTP socket is in ...