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

0
votes
1answer
239 views

gnu sort alphanumerically by one column, followed by numerically in next column?

How can I sort a text file with GNU sort starting with alphanumeric sort by one column, followed by numerical sort in the next column? I tried sort -n -k1,2 file.txt, but it doesn't seem to work: ...
1
vote
0answers
288 views

Dovecot/Postfix-mysql e-mail Aliases are not correctly forwarded

I recently set up Dovecot/postfix-mysql on my Debian Squeeze Server and I have a bit of a problem. When ever I send a email to an alias (foobar@mydomain.com forwarded to foobar@gmail.com for example) ...
2
votes
0answers
357 views

Multiple SSH Connections over different connections

I have a Linux box with a couple of 3G/HSDPA modems, seen as network connections, and i would like to get each to connect to a server over SSH. The server could be the same server, and i would need ...
0
votes
1answer
930 views

Alternative to Windows Home Server (WHS) backups

Since Microsoft announced the end of life for WHS, are there any alternatives? Specifically, I am interested in recovering from a catastrophic disk failure with WHS. For example, this is my ideal ...
1
vote
3answers
2k views

Is it possible to force wget to use one connection?

I'm trying to download about 20GB of data with ftp with my personal account (no scp available and taring is not possible). I'm using the following standard command: wget -m ...
4
votes
1answer
663 views

Is it possible to power off a PCIe video card/slot? (eg. hot-plug)

I'm looking at building a system that supports VT-d so I can pass through a high powered loud video card to a Xen/KVM/whatever VM (host will be Linux based). However, when I'm not using the VM I want ...
1
vote
3answers
417 views

Focus on application when changing workspaces in awesome-wm

I am using archlinux in combination with awesome-wm for quite a while now. I still haven't figured out how to automatically grab the focus on an application when changing workspace through Mod+number. ...
3
votes
2answers
330 views

setting up static ip on linux

I understood the interface file in linux needs to be edited and the corresponding lines added. I don't understand what network and broadcast are for, it seems extra versus a windows static ip ...
2
votes
1answer
1k views

How do I reattach to a screen session when the socket is there, but screen won't use it?

I've seen this question and this question, but neither of them apply to me. I have the socket file in /var/run/screen and I own it - but screen -list doesn't recognize it and allow me to connect. ...
1
vote
2answers
705 views

Is there a way to determine the original size or file count of a 7-zip archive?

I know that when I compress an archive with the 7za utility, it gives me stats like the number of files processed and the amount of bytes processed (the original size of the data). Is it possible, ...
1
vote
1answer
637 views

Linux detects joypad key pressed even if there is no key pressed

I'm having a very weird problem on my Arch Linux machine. Well, I've been having it for a couple of years, but since I don't use joypads very often I just ignored it the first time around. It's a very ...
3
votes
2answers
199 views

deleting /bin entries in linux

I have installed CentOS. I want to remove bzip2, so I enter this command in the shell: yum remove bzip2 bzip2-libs Then nearly 500 packages were removed and I can't enter any command. For example: ...
0
votes
1answer
122 views

Windows and Linux applications to show cumulative uploads/downloads for each app, at a glance

I've read few quite a few other threads on SU, but they have been focused on instantaneous/average bandwidths (B/sec) rather than cumulative download/upload totals for a period. Either that or they ...
0
votes
1answer
632 views

finding out which GUI is installed in linux

Is there a command or way to figure out which GUI is installed on? Or can you figure it out by looking at file structure, what's the best way
2
votes
2answers
179 views

Unix tab tab equivalent?

So using (tab)(tab) in the bash is a cool autocomplete feature. However, here's my situation; when I type e.g. ssh(tab)(tab), it will display all the sshs I have but I have no way of greping from ...
2
votes
2answers
148 views

Cron Job that restarts crashed game

So I'm hosting a game that is very tempermental and can crash a lot on Linux, I made this cronjob to restart the screen and game should it fail: #!/bin/bash for t in {1..12} do if [ -z "$(ps -C ...
3
votes
2answers
384 views

Removable vs fixed mount points in Linux

What makes a mount point removable in Linux? I am using Gentoo Linux with Gnome 3.2, and I find it annoying that some of my drives (ex: /dev/sdb) appear as removable but not the others (ex: /dev/sdc, ...
-3
votes
3answers
898 views

Launching an application from Bash

I'm right now busy with moving the first steps into Linux, i'm using a bash shell within a mac osx I see in all tutorials that in order to launch an application from the bash its necessary to cd to ...
3
votes
2answers
193 views

My hard disk does't get recognized

For a few days now I have a problem with my 500GB internal hard disk. I am on Linux Mint 13 but I have the same problem with my Windows installation. When running fdisk -l I can see my hard disk ...
4
votes
2answers
375 views

Linux - Advanced automounting via /etc/fstab file

I have a simple server with 6 hard disk drives (all SATA) inside of it. They are in a simple JBOD (just a bunch of disks) mode, so Linux just shows the following devices (assume each one has a single ...
0
votes
1answer
446 views

Slackware - Assigning routes (IP address ranges) to one of many network adapters

I am using a Slackware 13.37 virtual machine within VirtualBox (current). I currently have a number of Ubuntu VMs on a single server, along with this Slackware VM. All VMs have been set up to use ...
0
votes
1answer
35 views

Creating a link to name changing directory

I have an Ubuntu 12.04 installed using wubi + Win7. I'm trying to create a link to "my documents" directory which located in my C drive: C:\Users\Myuser\My Documents\ Since the Ubuntu is installed ...
0
votes
1answer
92 views

How to see if a network share is used?

In my network there are Windows and openSUSE machines. The openSUSE boxes are using Samba shares to show their data to the Windows ones and they are using NFS to share data among themselves. Now I ...
1
vote
1answer
3k views

Set environment variable for unity application launcher

I've created a .desktop file to launch our application. Our application requires, that a certain environment variable is configured correctly. Where can I configure this environment variable on a ...
0
votes
2answers
4k views

Enable simple password for root user on CentOS

I have a machine with CentOS and I want to enable a simple password for the root user. Something like 7 characters with 2 numbers or so... But I'm getting this error: BAD PASSWORD: it is based on a ...
1
vote
2answers
1k views

user XXXX does not exist - using root?

In makefile, i used 'install' command as below command:'install -o 1010 -g 100 -m 0755 -D path' instead of checking user name and group name i would like to check uid and gid. Consider the ...
5
votes
3answers
7k views

What's the correct Processor Architecture type to pick during Debian Installation?

I am trying to install debian on local computer with Windows 7 OS and intel core i5 processor. On the download page. I was asked to select my processor architecture with the following options listed ...
0
votes
1answer
1k views

Moving files between home directories

Good morning, I am attempting to setup a cron job on my CentOS machine that will transfer a file from one users home directory to a directory in anothers. btiseis@mymachine [~]# mv ./myfile.csv ...
-1
votes
5answers
10k views

How to view the contents of .dat file in linux

I have a file with .dat extension how can i view the contents of the file in hexa ? mean if i open the file i should be able to see the contents in hex format, can this be done using vim editor. I ...
1
vote
2answers
380 views

Move files and resize partition automatically?

I'm in a bit of an odd situation. I've recently been working on switching from debian to arch, and I've got my home partition for both pointing to the same partition (different usernames, so that's ...
10
votes
2answers
23k views

Proper way for changing MAC address in a linux VM?

I tried to change the MAC address in a ubuntu VM (virtualbox), but after that it threw lots of errors during boot, and then I had no internet connection. Then I saw that the interface was renamed to ...
0
votes
2answers
332 views

Is Yum (and YumEx) intended for use on Debian/Ubuntu systems, as well as CentOS systems?

I have been building C++ server applications for Linux, typically in a CentOS environment within a virtual machine. A while ago, when setting up my development environment in CentOS, I became ...
1
vote
0answers
527 views

Ubuntu won't recognize any of my USB devices. Why?

Currently using Ubuntu on my Sony Vaio laptop. Building a simple and fast machine for my father. But USB devices don't work. Mouses, pens or anything else. When I run lsusb all seems ok, but Ubuntu ...
0
votes
1answer
986 views

Opening firewall to incoming port 443

I recently set up the ufw firewall on a Linux machine so that outgoing connections are allowed, incoming connections are denied, and denied connections are logged. This seems to work fine for most ...
2
votes
1answer
86 views

Autosaving on emacs or xemacs files (preferably on loss of focus)

Ideally I want to replicate with emacs functionality from TextMate, whereby on loss of focus i.e. I click away from the buffer, my file saves. If this isn't possible, I want to customize emacs so ...
0
votes
2answers
191 views

Optimal Legacy Data Recovery LiveCD?

I'm fixing someone's computer. It has 256MB RAM and a 1.3GHZ processor (or in that range). As the Windows (XP) install is borked, I would like to copy over all of the files on it to pick through on ...
2
votes
2answers
1k views

How to copy the files from my Linux-formatted external drive to Windows?

My Linux machine crashed, but all the files are backed up on a USB-based external drive. Problem is, it's an ext2 file system, so my other machine, which is a Windows XP machine, cannot read it (it ...
-1
votes
2answers
2k views

How to remotely connect to VMware linux machine hosted on Windows 7

I would like to remotely connect to a linux (Fedora) vmware machine hosted on a Windows7 desktop machine. My understanding is that this should work.
0
votes
3answers
2k views

How can I display details of a computer's hardware in linux?

How can I display information about a computer's hardware in linux? How could I display, for example, the amount of RAM, processor speed, HDD size, graphics card model etc.? Is there a way to view ...
0
votes
2answers
284 views

Remote Control Home PC from Corporate Work PC

Here is my situation: I am currently on a Windows XP workstation at work. I have an android tablet that I use to splashtop into my home PC. I would like to be able to use my work keyboard and mouse ...
2
votes
3answers
754 views

linux: accessing thousands of files in hash of directories

I would like to know what is the most efficient way of concurrently accessing thousands of files of a similar size in a modern Linux cluster of computers. I am carrying an indexing operation in each ...
4
votes
2answers
4k views

Display filesystem's free space available to the root user

By default, Linux reserves some fraction of a filesystem for the root user, at least on ext4 (to prevent ordinary users from filling the drive completely and crashing the system, and to reduce ...
0
votes
2answers
225 views

Can't get static IPs configured correctly

Normally, I would just keep trying to figure this out on my own, but I'm really at my wits' end. I have a server with two Ethernet adapters, eth0 and eth1. I've been assigned a /29 subnet that ...
4
votes
3answers
2k views

Is there anything that can be done to make X forwarding over LAN less painful?

I have two *nix machines that I like to remotely do graphical things sometimes with. One of those machines is my Arch Linux media server, and another is my OpenBSD router/general server. My current ...
0
votes
1answer
924 views

How do I connect satellite receivers for live streaming?

I want to create a live stream from a satellite receiver. The output available is RCA audio/video. How can I use it and connect to PC so that I can stream? Any specific hardware for Linux?
1
vote
1answer
138 views

Make a live USB of your installed ubuntu

I wonder that whether there is a way of making my own installed ubuntu a live USB. The reason in fact is that I want to make my ubuntu to be used by anybody. After this guy used my ubuntu I do not ...
0
votes
1answer
468 views

unable to edit file /proc/self/make-it-fail

I am editing file /proc/self/make-it-fail from root user. This file is having write permission but update not possible, showing "E667: Fsync failed" error.
3
votes
1answer
290 views

How to assign a particular driver to a device in linux?

I am using TP LINK TL-WN822N wireless device which has two chips. It works with Carl9170, however I would like to use ath9k which according to the link supports AR9102 which is one of the chips. I ...
1
vote
1answer
6k views

How do I play a particular playlist with mpc?

I am using mpd with mpc for all my music needs. Now, what I want to ask is how to load/play songs from a particular playlist in mpc/mpd so that it only plays those song. For example, I created a ...
0
votes
0answers
190 views

Unable to open websites that use HTTPS on linux

I have the following network configuration: My PC 192.168.1.20/24 uses 192.168.1.1/24 as a gateway. Dlink-2760U router with Local address 192.168.1.1/24 has a VPN connection open with the provider ...