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

2
votes
2answers
77 views

Create zipfile from changed files in 2 directories

What I'm trying to do is create a zipfile (or some different archive) which contains all the changed files from 2 provided directories. The path of the files should be persisted in the archive, so the ...
6
votes
2answers
4k views

“Bake” an SVG image into a PNG at a given resolution?

I'm on Linux and I'd like to take an SVG file and bake it into a PNG file at a given resolution (scaling). Is there a way to do this quickly and effectively from the command line? I'm looking for ...
0
votes
1answer
233 views

First connection to debian server slow

I have a running Debian web server with ispconfig. The problem is that whenever I make a first connection it takes about 1-2 seconds to connect, after this 1st connection everything runs smoothly. I ...
-1
votes
3answers
496 views

make command for installing in linux give it a directory

I want to install bedtools (i.e., a c++ source code for manipulating certain types of files). In order to install it the installation instructions says to download the tar file, untar the file, go to ...
3
votes
2answers
3k views

How to create a RAM disk - Fedora 17

How do I create a true RAM disk? I don't want a virtual file system with loop devices, I would like a mountable filesystem that is stored completely in RAM. I am using Fedora 17, linux ...
2
votes
1answer
2k views

Installing Ubuntu to dual-boot from mSATA

I'm about to recieve a 2012 Dell XPS 15 with 128GB mSATA and 1TB 5400rpm HDD, it should come with Windows 7 Pro 64-bit. I understand that Smart Response Technology (SRT) in the Intel Rapid Storage ...
0
votes
1answer
266 views

Windows 7/8 can't connect to an N Router

I have a router running OpenWRT backfire, with N and A/B/G being broadcast. A linux laptop, and a Mac laptop can see the N network and connect to it (or at least they could last weekend). But there is ...
1
vote
1answer
184 views

Archiso build failing due to dbus and dbus-core conflict

I am trying to build an ISO with archiso (releng), and even after running pacman -R dbus and pacman -Syu the build fails with the following error: looking for inter-conflicts... :: dbus and ...
3
votes
2answers
499 views

Bash autocomplete for different directories

I've played with bash autocomplete now for a while, but couldn't find a solution for my problem. I have a project directory with subfolders like this: projects/ruby/project1 projects/ruby/project2 ...
0
votes
1answer
380 views

wget timestamp alternatives

I have a script that works in a loop and checks for mysqlbackup copies on another server. couple of times a day wget downloads the file even though no change has been made. what I've tried is using ...
3
votes
4answers
1k views

How can I use SSH to tunnel to a port that's open on the machine I have access to but not open to the outside world?

I currently use SSH to tunnel my internet connection, using ssh -p <port> -ND <local port> <user>@<ip address>, and this works great. However, I'd like to bind a local port to ...
1
vote
0answers
370 views

USB Mass storage driver as CDROM in Windows & MAC

I am in the process of enumerating a Hybrid ISO image which will show up as CDROM in Windows & MAC and encountered with the following problem. Hybrid ISO image is created with the following ...
2
votes
1answer
175 views

How to enable the bash history only caching commands that are acutally in path?

Having a bash history enabled is a security risk, because when you accientally enter your password into the bash the password gets stored in the bash history. To prevent this a good solution would be ...
4
votes
2answers
1k views

NFS: Network disconnect causes Gnome Nautilus to hang / Jumping progress bars

I mount NFSv4 export via /etc/fstab and mount and use the shared folder in nautilus. There are two issues: When I copy a large file (around 4 GB) to the NFS server, the progress bar rapidly goes to ...
1
vote
0answers
1k views

Current sound configuration (integrated Realtek ALC662) on Ubuntu 12.04 plays everything as mono. How to fix it?

All music files play as mono on my Ubuntu 12.04 installation.System soundcard (integrated): nVidia MCP61 High Definition Audio (Realtek ALC662). Did anyone have the same problem? What's the solution? ...
0
votes
1answer
294 views

Test USB-connected SD card reader

I'm running a Linux system, so I'm asking a solution that can run on Linux, better if via terminal on a command line. I have a laptop with an integrated SD card reader, which is connected to ...
5
votes
3answers
2k views

logging RAM memory high-water mark of a Linux process

I would like to log the RAM memory high-water mark of a Linux process (kernel 3.2.0-36) by the time the process finishes. I am calling the process inside a Perl script. Something like: my $cmd = ...
0
votes
1answer
476 views

How to create drive symlink with colon for NTFS-3G symlinks in “.NTFS-3G” folder

The official documentation of NTFS-3G states that you need to create a mapping for drive-spanning NTFS symlinks because it obviously can't map Windows drives to Linux mount points: Another option ...
0
votes
1answer
338 views

Cronjob does not work

I tried to set up a cronjob on my server. Actually this command should execute a java programm every hour. But somehow this didn't worked. I googled and tried to set up a test-script that should run ...
0
votes
2answers
965 views

Cannot execute java command on Ubuntu

I am using Ubuntu 12.04, installed JDK and interestingly have the following error. Why do I have this error though java file exist in there? appuser@securexmlgw-db:~/Downloads/jdk1.7.0_04/bin$ ls ...
2
votes
1answer
942 views

Incremental/Differential backup of VMWare Workstation VM?

I need to take an incremental or differential backup of a Linux guest OS running inside VMWare workstation. How do I achieve that? I can take a full backup when the virtual machine is down, but I ...
1
vote
1answer
135 views

Why does newline come before space in the output of hexdump?

Using hexdump, printing these characters in the "canonical" format gives the output that I expect, while the default format throws me off. $ echo " " |hexdump # Reversed? 0000000 ...
0
votes
2answers
423 views

Why does redirecting “sudo echo” stdout to a file not give root ownership?

I'm pretty new to using Linux heavily, and I'm trying to learn more about file ownership and permissions. One thing that I stumbled on just now was exactly what the title says, running: ...
2
votes
1answer
676 views

How do I change the default python version in Red Hat 6?

I've recently installed Enthought Python Distribution, after which it gave me the message: As the last step, you should edit your .bashrc or prepend the EPD install path: ...
5
votes
2answers
1k views

How to list files owned by me for quota checking?

On Linux (RHEL 6) what is the best way to list all the files and sizes that are counting against my quota on a given filesystem? We have a projects directory and everything I am currently doing is ...
0
votes
1answer
196 views

What is the difference between :::: and 0.0.0.0 from the netstat -an output?

I just want to understand the difference between :::: and 0.0.0.0. I believe both are same which let connection from outside if any processor is listening to that port. udp 0 0 ...
0
votes
1answer
58 views

Excute for loop in subfolder

I have this command : for i in $(svn st | grep \! | awk '{print $2}'); do svn delete $i; done I would like to execute it to a subfolder without making a cd command. Is it possible ? Thanks !
3
votes
1answer
643 views

rsyslogd: how to send messages to user pseudo console

I set up my rsyslogd.conf setting so: auth,authpriv.* username but username does not get the messages (in (all) his pseudo-terminals i.e Gnome terminals). My questions related to ...
3
votes
3answers
6k views

force wget timeout

How can i force wget to stop after X seconds? I have a script that downloads images, from time to time it gets stuck and refuses to "timeout" what i've tried: --tries=3 --connect-timeout=30 from ...
0
votes
2answers
38 views

create ~ dir in another dir mistakenly, can not delete it [duplicate]

I mistakenly create ~ in ~/source sx@ubuntu:~/source$ pwd /home/sx/source sx@ubuntu:~/source$ ll total 440 drwxr-xr-x 3 sx sx 4096 2012-12-06 02:25 ~ drwxr-xr-x 4 sx sx 4096 2012-12-06 02:25 ./ ...
0
votes
1answer
67 views

Fedora lower vesion not allowing php upgrade

I have php 5.2.9 installed on fedora6. Now I want to upgrade php on it's latest version. But lower version of fedora not allowing I tried with yum and rpm commands. Please help me how can I upgrade ...
3
votes
1answer
1k views

How can i install WLAN drivers on Fedora 17 without any internet access?

I need to install WLAN drivers for my "Dell Wireless 1397 WLAN Mini-Card" on my PC without using LAN because my LAN slot broke. I am a Linux NOOB btw >_<
0
votes
1answer
348 views

How to automatically take daily HDD backup?

I think my HDD might have crashed. I don't want to lose data if this happens again. I have dual boot Windows/Ubuntu system. What is the best way to backup data and other software settings in Ubuntu? I ...
1
vote
1answer
6k views

jstack command not found on centos

I installed JDK by downloading the RPM from oracle and installed it using yum. But the jstack command is not recognized. I'm using CentOS 6.3 How can I make it work?
5
votes
2answers
623 views

Ubuntu Connect Button Disabled, cannot connect

I'm trying to connect to my school network from Ubuntu 12. The network is WPA encrypted and I can connect just fine if the network manager establishes a connection automatically. However, when I get ...
-1
votes
1answer
65 views

Boot loader of linux

I am in need of help. Recently i studied about the booting sequence of Linux OS and one of my colleague mentioned that it has 2 bootloaders. Stage 1 bootloader and Stage 2 Bootloader. He also ...
2
votes
1answer
126 views

Testing for SSH access

I've changed my household router and broadband recently (to BT Infinity), and I've noticed that my SSH server has become fairly unreliable. Of course, I've set SSH to be forwarded to the correct host ...
0
votes
1answer
91 views

Replace (NOT restore) directory in within Ubuntu's etc directory?

I accidentally removed my /etc/samba folder from my installation of Ubuntu Server 12.04. Where can I get a new copy of the folder as it comes with a fresh installation?
2
votes
2answers
5k views

Alternative to NFS or better configuration - instable network, simple to set up

We are currently using NFSv4 for file sharing in a small office. Unfortunately the network is not very stable and it seems to have huge impact on the Ubuntu clients if the network is gone: The whole ...
-1
votes
2answers
975 views

Raspberry Pi sound

I am trying to configure the linux software festival which converts text to voice on a Raspberry Pi. Before and after the sound is played there is glitch sound that is heard. Does anyone know what ...
0
votes
1answer
806 views

Simple terminal command: Permanently turn off/on monitor display. (no screensaver, no lockscreen)

The following command should do this at execution: Screen turns off display permanently, nothing like(screensaver, lockscreen). Just a simple turn off display command, everything else keeps ...
0
votes
1answer
643 views

A linux distro that supports Ralink's 3090 (RT3090) wireless driver out of the box [closed]

I was wondering if such distro exists, I tried the majority of them (Ubuntu 10.10 or older, fedora 16 and older, Archlinux, Mint) Any help would be greatly appreciated.
-1
votes
1answer
58 views

Linux User Permissions

In resume i want to assume a id on a Unix machine but i wanna know if its possible to limite to only read rights and no write on the system , but if you enter the acc i sudo to normally without the ...
0
votes
2answers
229 views

Proper line-ending for an open-source PHP project

What is the proper line-ending preferences for an open-source web project? Obviously it includes source code of PHP, HTML, CSS and Javascript. The source code is managing via Github now, and there ...
-1
votes
3answers
4k views

How to make a non-root user to use chown for any user group files?

I would like to make a user super powerful, with almost all root rights but unable to touch a the root user (to change the password of the root). My goal is to user "B" to manage my web server. The ...
0
votes
3answers
1k views

Why isn't passwordless ssh working?

I have two Ubuntu Server machines sitting at home. One is 192.168.1.15 (we'll call this 15), and the other is 192.168.1.25 (we'll call this 25). For some reason, when I want to setup passwordless ...
1
vote
0answers
586 views

Unwanted remount attempt of UBIFS rootfs during boot

I have an ARM system using buildroot-2011.05 - Linux 2.6.38.7. The board uses a NAND flash and to get around a problem with squashfs not liking bad blocks I changed the root file system to use ...
3
votes
1answer
550 views

chmod always unsets setgid bit on directories if I'm not in a group

Here's the scenario: I'm using Ubuntu Linux (12.10, if it matters), and I've got a directory whose permissions are thus: drwxrws--- paul www-data myfolder/ You can see the setgid bit is set. If ...
0
votes
1answer
2k views

Connect Android to Linux laptop

I would like to establish a network connection between a Linux laptop and an Android device. More specifically, there is an MPD server on the laptop which I wish to contact from the Android device ...
2
votes
3answers
4k views

Removing extended partition without deleting logical in it

I'm running a Linux-based laptop, and in order to multi-boot several distros in it, I created an extended partition which contains a bunch of logical ones with GParted. Now, after quite a long time ...