Tagged Questions

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

3
votes
2answers
236 views

Same IP for WLAN and ethernet on Linux

I have a laptop runnung Lubuntu 13.04. I use "ssh -X" to log into my server and start programs there that I view on my laptop. When I pull the ethernet cable, the laptop switches to WLAN but my "ssh ...
0
votes
2answers
64 views

Can I use `which` command for partial match?

I want to find all programs with name like "gcc", "gcc-4.2", "gcc-4.9" and so on. To find all binaries I tried with which -a gcc*. But "*" is not recognized as 'any' with which command. Is there ...
0
votes
1answer
593 views

Steam doesn't start in Debian. It lacks 32-bit libGL.so.1

I use Debian sid, with the proprietary NVIDIA driver, version 325.15. Whenever I start Steam, it says I don't have 32-bit libraries. I've seen lots of "fixes" to this problem, but every one of them ...
0
votes
1answer
341 views

Error: Sub-process /usr/bin/dpkg returned an error code (2)

I am running 64bit Ubuntu 13.04 I tried to install cairo-dock executed these command : sudo add-apt-repository ppa:cairo-dock-team/ppa - went well, no error. sudo apt-get update - went well, no ...
0
votes
2answers
73 views

VIM Hotkey Creation

I'm pretty new to VIM and linux in general. So doing this on my own is well beyond my skill level now. I'm familiar with vimrc file but that is it... Let's say I have one terminal open idling. ...
1
vote
2answers
204 views

Easiest way to restore symbolic links turned into text files?

I had folders with many symbolic links in them. Unfortunately after copying that around different filesystems, they've turned into plain text files with the link target as the contents. That is: ...
1
vote
2answers
425 views

du -x still examines mounted filesystems when using wildcards

If I try du -s -h -x /* it will try to examine all filesystems (real and pseudo) mounted directly under /, e.g. /dev, /proc, /sys, /run, and /home (/home is on an extra partition). I think it ...
1
vote
1answer
108 views

Why is [find] running incredible fast, if run twice?

In the Dash of my Ubuntu/Linux system are two versions of the same program. To find where the corresponding .desktop files are located I used find / -type f -name 'Sublime Text.desktop' 2> ...
0
votes
1answer
581 views

Black screen when running game in virtualbox on linux

After installing the virthualbox 4.2 in linux mint and installing Windows XP in virtualbox (Testing in windows 7 shows the same problem) When I try to run a game (like Red Alert 2), it shows me a ...
0
votes
1answer
71 views

Copying File From One User To Another

So I have this file stored in my account. It's postgres dump. To be able to use postgres it seems that I have to execute the following command. sudo su - postgres Once I do this I am now working as ...
0
votes
0answers
49 views

Is it safe to use Sphinx on /dev/shm?

Is /dev/shm only for temp files? I have a lot of memory on my server and I think to use shared memory to store sphinx index files. How safe it is?
8
votes
3answers
467 views

What should I make my computer do while I'm away from keyboard? [duplicate]

During the day, usually I'm away from my computer for 3-5 hours. I also sleep 6+ hours every night. I run Arch Linux x64 on my computer. Besides the usual things that do not require user ...
2
votes
1answer
1k views

Dovecot.conf assistance since upgrade

I've been following a guide on this site: http://oskarhane.com/setup-your-own-mail-hosting-with-linux-postfix-dovecot-and-mysql/ To install postfix with dovecot and mysql on a Linux server. All ...
-1
votes
1answer
653 views

Restoring MBR and GRUB bootloader

I have accidentally broken my Fedora 19 boot when installing Windows 7. Fedora is a separate HDD drive, but somehow it now has Win bootloader and no GRUB. How can I restore GRUB and fix Linux boot? ...
1
vote
1answer
171 views

FTP I/O Error Ubuntu VM

I have an Ubuntu 12.1 VM running on Windows Azure. I've been trying to connect via FTP to upload files to the VM but I'm having problems. I installed and set up vsftpd, like is outlined here (and ...
0
votes
1answer
80 views

Difference between 'du' and 'du -b'?

root@host:/var/log/apache2# du access.log -bh 753M access.log root@host:/var/log/apache2# du access.log -h 1.2G access.log Why is there such a huge difference in size for the same file?
1
vote
0answers
52 views

Rerouting IP address or better solution on KVM on RHEL

I've been having some issues accessing some secure websites through my KVM Windows 7 on a Linux RHEL. I have to use a VPN in the Windows 7 but somehow, it doesn't detect me as if I was on the same ...
1
vote
1answer
127 views

Set home directory for current session?

I want to run some programs which depend on a home directory, but my current user does not have a home directory defined. I don't want to create a user just to run this program, and I don't want to ...
1
vote
2answers
361 views

How to recover data from a USB-connected hard disk that shows no partition?

Is there a possible way to recover data on my Western Digital 2TB drive? I have tried different ways like using gparted and fdisk etc.. but nothing helped. The error I get is that it cannot find a ...
0
votes
0answers
261 views

linux traffic routing through vpn instead of proxy on eth0

okay im running kali linux on a network with a proxy but blocks certain sites like youtube and imdb etc, recently i got a vpn which allowed me to access this site so i would use one browser(firefox) ...
0
votes
0answers
98 views

DCOPSERVER not running plus both partitions full on Asus Eee PC 900

I'm new to Linux and have recently purchased an Asus Eee PC 900 running Xandros Linux. My DCOPserver is not running. I can't find the command line to put it back in service. The 900 came with both ...
2
votes
3answers
18k views

How to install rpm file along with its all dependencies?

I am trying to install HPCC on RHEL based machine. I have one .rpm file and to install this rpm, I am using following command : sudo rpm -Uvh hpccsystems-platform_community-4.0.0-9.el6.x86_64.rpm I ...
0
votes
4answers
391 views

Does 64bit GNU/Linux have better performance?

I had 32bit Ubuntu (with Xfce) and now I switch to 64bit Xubuntu and I'm not sure but I think that 32bit had better performace, but just a feeling. I want to know which one 32 or 64 will give better ...
0
votes
1answer
158 views

How to keep daily tar.gz backup with less redundant data

Like most of you, I have a few daily tag.gz snapshot of a folder (of any application). There is only a few different each other but the tar.gz is not a diff/delta friendly format. Most data in the ...
0
votes
1answer
92 views

Tar archive wrong creation date

I have a script to backup some directories: tar cjf /backup-`date +\%m-\%d-\%Y`.tar.bz2 mydir >> /dev/null 2>&1 At the end of the process, a "ls -al" show something like: -rwxr-xr-x 1 ...
0
votes
1answer
2k views

Debian x64 and Nvidia optimus drivers

I have an ASUS laptop. It has a Core i5 CPU with integrated graphics and a discrete NVIDIA 310M GPU. I have Windows 7 installed and I'm sure that everything is working. Today I installed Debian 7.1. ...
-6
votes
1answer
125 views

When I select some text, I want it to be copied to clipboard automatically

Let's say you have firefox open on centos linux desktop. Or simply some basic text editor. You select a text. Soon as the mouse button is up. In other words selecting is done. I want it to copy it ...
2
votes
1answer
783 views

Is it possible to boot a Windows VHD using GRUB on a physical machine?

Is it possible to boot Windows from a VHD file which is stored on a Linux partition? I don't want to run Windows under VirtualBox. Linux is the only OS on the hard drive, and Windows should only ...
2
votes
1answer
174 views

Linux kernel option to force video card to stay on

I just installed Debian Wheezy 7.1.0 on an Intel vPro System (Intel Core i5-2520M, SuperMicro MBD-X9SCV-Q-O). Intel AMT's KVM works perfectly until Debian has completed booting and shows the login ...
5
votes
2answers
956 views

Linux Virtual Machine runs Slow depending on the Network

At work I use a VM running Linux Mint 13 under Oracle VM VirtualBox 4.2.16 on a Windows7 machine. The laptop is connected to a network cable and the wireless connection is turned off. The network ...
1
vote
1answer
203 views

What does “{} \;” mean in find (in Linux)?

Sometimes I see a command like find . -name * -exec ls -a {} \; I was asked to execute this. What does {} \; mean here?
0
votes
1answer
2k views

Booting linux without bootloader

I installed Ubuntu-Server in Oracle Virtual Machine and it failed grub install step. At the end of install it gave me a message: You need to manually boot linux /vmlinuz kernel on partition /dev/sda1 ...
2
votes
2answers
2k views

Execute a command if Linux is idle for 5 minutes

I would like to execute a command such as notify-send 'a' if my Linux machine has been idle for 5 minutes. By idle, I mean the same thing a screen saver that gets activated would use to define ...
1
vote
1answer
2k views

chmod 777 no effects on Linux Mint

I'm trying to assign run privileges to a file named foobar using: sudo chmod 777 foobar However nothing happens. The file is located on a NTFS mounted partition. The mount command says: /dev/sda4 ...
2
votes
2answers
469 views

Manually trigger automount in debian based linux

I have formatted a flash drive and thus needed to unmount the device. Is there a way to trigger automount via command line after formatting was finished ? (I know I can just reinsert a USB flash ...
0
votes
1answer
5k views

getent passwd outputs only local users

I want to authenticate via Active Directory on a CentOS 6.4 server. wbinfo -u and wbinfo -g display the domain users/groups. Authentication via wbinfo -a DOMAIN+user works. Authentication via kinit ...
1
vote
1answer
232 views

Search for two strings within zip archives

Hope someone can help. I have a series of zip files. These zip files contain email files (.eml) I need to find all files between two people. I can find on of them easily using an answer I found in ...
1
vote
2answers
465 views

Creating a custom GUI. App/DE/WM?

I am starting with this project of mine of writing a custom UI for linux. What would happen is: The computer would boot into this UI which would not be the typical taskbar/icons/startbutton kind of ...
1
vote
0answers
31 views

Vmware breaks with Linux kernel Updates

Can I somehow not break VMware after every kernel update? Basically since the drivers for VMware are compiled based on your kernel, they break when you update. And I have to reinstall VMware always.
1
vote
1answer
461 views

Internet access to host behind firewall using ssh tunnel

My goal is to give host behind firewall access to the internet. Below you can find brief description of network [internet] <-> [proxy] <-> [A] <-> (firewall) <-> [B] [A] - ...
2
votes
3answers
193 views

Looking for a GUI application to enter linux commands

I am looking for a GUI console where I can enter linux commands in an entry widget and the result will be output in a text area widget. Is there is such software available? A console programs like ...
1
vote
3answers
5k views

Source Based Policy Routing & NAT (DNAT/SNAT) aka Multi WANs on CentOS 5

Originally posted at Unix and Linux but nobody was able to answer it, so m migrating the question here: My question is regarding Source Based Policy Routing on CentOS 5 with 2 WANs plus a LAN (NAT) ...
5
votes
1answer
295 views

Use IPv6 temporary address only with remote peers

I think this question concerns the interaction between the configurable Default Address Selection algorithm defined by RFC-3484 and the temporary addresses defined by RFC-4941, though the solution may ...
0
votes
1answer
324 views

Is it possible to have a Linux box with 2 Ethernet adapters, connected to 2 networks with same IP range (no routing needed)?

Bear with me. This relates to this Stack Overflow question. My Linux thing (actually a BeagleBoard) has two interfaces, eth0 and eth1. It needs to connect to a client's network on eth0 (address ...
4
votes
0answers
3k views

Using samsung SSD magician on linux

I have a samsung SSD and Samsung has a magician software for their SSD. I would like to use it, however I just have linux and the software is only supported on Windows. Is there a way to install it ...
6
votes
2answers
1k views

Install emacs without sudo?

I have been using vim for years, and I don't really like it. I'd like to try emacs for a while, but it's not installed on any of the linux servers I use regularly. I don't have root so apt-get ...
19
votes
4answers
11k views

How do I get out my embedded Windows 8 key from a Linux environment?

I have seen other SuperUser questions on this topic: How to find Windows 8 product key? | How to find Windows 8 OEM product key? However, all of the answers assume you have Windows 8 running. I've ...
0
votes
3answers
89 views

Virtualization for desktop security?

I am frustrated with windows and the whole pay $60 per year for security products. Seriously, its too much now. I want to use virtualization for desktop security because I think (not sure) that it ...
1
vote
2answers
189 views

Copying contents from an NTFS disk to exFAT formatted disk

Will there be any problem if I copy contents from an NTFS file-system hard disk to an exFAT file-system hard disk? I will taking files from Windows 7 on an NTFS file-system EHD and copying them on a ...
0
votes
0answers
19 views

Is it possible to put only the boot partition on a CD-ROM?

In order to protect a fully encrypted system I want to put the boot partition on a CD-ROM, so it cannot be altered. In my scenario an USB stick is too insecure and not possible. I read that I might ...