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

0
votes
1answer
654 views

Intel Wifi card module not visible in linux menuconfig

I've gotten myself into a pickle it seems. I just got the latest gentoo kernel (3.7.10), and it seems that they didn't include my wireless lan driver in the menuconfig (or it depends on another option ...
6
votes
4answers
11k views

How to set up an alias server name

I want to set up an alias server name on my laptop (Linux). I do not want to use the /etc/hosts/ file since the IP address of the remote server changes. The reason I want to do this is because the ...
8
votes
1answer
9k views

Route all trafic for specific ip over specific network interface

I have a linux server that needs to get some routing. I'm fairly new at this and i don't find any clear source on google. The setup should be simple: All traffic to a server on ip 192.168.72.20 ...
4
votes
2answers
1k views

How to disable device in Linux Debian (Wheezy)

I need to force the kernel to not load drivers for the Intel NIC in my PC to see if this helps on performance issues I have by using the second NIC that is on the same motherboard. How can I do this? ...
0
votes
0answers
55 views

Limit Linux Debian user privilleges

Hi I need to create user on Linux Debian that can only access /usr/src/xxx catalog and use screen command to run server. Could you help me with it? I would be really thankful. Have a nice day!
5
votes
2answers
5k views

How to find all zero byte files in directory

How to find all zero bytes files in directory and even in subdirectories i done this #!/bin/bash lns=`vdir -R *.* $dir| awk '{print $8"\t"$5}'` temp="" for file in $lns do if test $file = "0" then ...
1
vote
0answers
1k views

Webmin Java applets not starting

I have running Mint 13 (based on Ubuntu 12.04) KDE desktop with Firefox 19.0.2 and Opera 12.14 browsers. Java installed default by the system and its version is: $~/ java -version java ...
3
votes
1answer
614 views

What's the rpm/yum equivalent of `aptitude why`?

On .deb managed systems one can use $ aptitude why <package> to find out what installed package required the installation of <package> for example: $ aptitude why python i xdiagnose ...
0
votes
4answers
788 views

How to know the process PID in linux machine

I am launching an installer from java to install a software on linux, I want to to know the "process id and image name" of it. In windows I able to get it by using tasklist command, but in linux I ...
1
vote
1answer
616 views

Linux Bash Command, Right click file and execute the file like a script

Warning: First I am new, please don't kill me. I searched for right click executes for the past two hours and didn't find what I am looking for. I am trying to make a program that you right click on ...
1
vote
0answers
773 views

No-IP on Linux: What am I doing wrong?

I want to setup a small home server using Fedora 17 (32 Bit) and No-ip because I have a Dynamic IP adress, This is what am I doing: 1) I create a Host on No-ip: 2) I setup No-ip on my fedora box: ...
2
votes
4answers
3k views

How to combine find and grep to recursively search for str or str2 in *.html and *.php files from /home/smith/sourcecode?

How can i combine find and grep to search for str1 or str2, recursively, in all *.html and *.php files starting from a directory named /home/smith/source? The output only needs to list files (with ...
2
votes
1answer
60 views

How can I create several folders?

How can I create several subfolders in folder in one command. For example, I want to create: /home/user/*create dir1*/*create dir2*/*create dir3*/ Provided, I don't have dir1. And I can't use 3 ...
0
votes
1answer
79 views

Script or approach to “update” several files from directory1 to directory2 under Linux

I have two directories, directory1 and directory2. What is the cleanest way with a linux friendly script that would copy the latest files from directory1 onto directory2 including the same sub ...
0
votes
1answer
67 views

Linux user group permissions and virtual development environments

So, I wanted to establish a virtual development environment that would be shared by a few users for collaboration. I created a new user group X denoting the group of users allowed access the virtual ...
1
vote
1answer
12k views

Enable Remote Access Linux

It might sound very basic question but I am beginner on Linux... I have created a few users on my Linux distribution. I would like to enable Remote Connection through SSH for some of these users not ...
1
vote
2answers
2k views

Decrypt .docx file to view in OpenOffice.Org

I have been sent an encrypted .docx file as it contains confidential information, but I am on linux. I have the password, but OpenOffice.Org doesn't seem to even recognize that it is an encrypted ...
0
votes
1answer
1k views

Disable incoming emails for a specific virtual user

I've just setup a mail server with mysql virtual users. I want to use an account for sending notifications/registrations emails from my website I found no options for disabling incoming emails, so my ...
1
vote
1answer
285 views

How to let gnome-terminal to use specific font to display punctuations in their full width forms? (·‘’“”)

I'd like to use SimSun(宋体) font to display interpunct/middle dot ·, single quotes (curly) ‘’, double quotes (curly) “” characters in their full width forms, because it's easy to distinguish them from ...
1
vote
1answer
118 views

Can't type in CLI after running ffmpeg

I get a strange behaviour after running ffmpeg in console and piping its output to mplayer. After I close mplayer's window or I close ffmpeg with Ctrl+C sometimes I can't type anything in that console ...
0
votes
0answers
101 views

Glyph overview of True Type Font

Similarly to this question, I would like to have an overview of all glyphs of a True Type Font (TTF). I know how to achieve this for Type 1 fonts (via LaTeX), and for Open Type Fonts (OTF) via ...
0
votes
2answers
357 views

Don't sync files during Matlab execution in Dropbox (Linux)

I'm a strong Dropbox user. I usually log in (via SSH) to my Linux machine and use Matlab on a Dropbox folder which automatically syncs everything. However, at this moment, my code generates a lot of ...
0
votes
2answers
2k views

Linux Mint 14 issues with WiFi connectivity

For the past month and a half or so I've been trying rid myself of my Windows dependency. I have tried Fedora, Ubuntu, and now Linux Mint. Everything works great except for WiFi. I install the distro ...
4
votes
2answers
7k views

How do I install python with proper permissions?

So python installed probably fine. Or perhaps it was already on here (I'm using xubuntu 12.10). But I tried to install networkx today using pip: pip install networkx then says I don't have ...
0
votes
2answers
208 views

utility “less” takes high cpu

I'm using suse 9 and redhat 5. Sometimes I see that "less" takes a lot of cpu. It happens more on suse 9 though happened on redhat 5 too. I have to admit that the frequency of such event is very low - ...
2
votes
1answer
573 views

Enabling Bold and Color with LPT parallel printer

I know how to echo text to my HP Deskjet 420 printer on lubuntu with bash: echo -e "line of text" > /dev/lp0 Is there a way to print text that is bold or in color? Should I echo some sort of ...
1
vote
0answers
21 views

Two music streams in one session

I have been trying to see if I can make the following work in linux (technically, Redhat/Centos or even Fedora): I want my system sounds to be sent to my speakers. I want my music to be sent to my ...
0
votes
1answer
548 views

Can't connect to X11 window server using ': 2.0' as the value of the DISPLAY variable

I have connected Linux server (centos 64bit)using VNC viewer. Then I have tried to run java swing application using this command (java -jar app.jar). I am getting this error "Can't connect to X11 ...
0
votes
1answer
71 views

host to host translation in linux?

In Linux (fedora or cent OS, etc), I want to say if one program tries to download from one url, it goes to my host (my url) instead of what it tries to go. Something like /etc/hosts, but /etc/hosts is ...
1
vote
1answer
596 views

Access audio from Linux server on iPad Mini [closed]

This is driving me crazy, I'm trying to enable playback of mp3s/flac audio stored on a home linux server on a iPad mini. Please can someone explain what software is required on the linux side of ...
1
vote
0answers
246 views

Deprioritizing (traffic shaping) bittorrent seeding

I have a linux server with spare bandwidth. I thought about running an rtorrent client and seeding some popular distros images. However, I can't allow myself to curtail the normal operation of the ...
2
votes
0answers
308 views

USB Hub Error -62

I have a 5m usb cable which I want to connect to a usb port on a embedded device (linux debarm; kernel 2.6). The cable has one repeater so it's actually two cables with one hub between. When I plug it ...
1
vote
1answer
321 views

Which PDF viewer for Linux supports going back and forward?

I use Alt-arrow to go back and forward very often in browser, IDE, etc. But the standard PDF viewer in Linux Mint lacks this function. What can I use instead (preferably not Adobe Reader)?
1
vote
1answer
126 views

How to make Wine open links without IE7

I run QQ2012 using Wine, and when I didn't have IE7 installed, the links would open using Chrome. After I installed IE7, links were opened with that. There's a problem with Explorer too: I don't ...
-1
votes
1answer
113 views

LPT Printer Indents Text When Printed

I originally posted this at Stack Overflow but I thought it would be more appropriate here: My LPT? printer (HP Deskjet 420) is indenting text when I print to it: echo -e "this is text" > ...
0
votes
3answers
197 views

Partition hard drive to install windows

I need to partition my hard drive to install Windows. My current operating system is Ubuntu. I google'd for "partition hard disk/drive ubuntu" - Not much luck. Anything else you suggest me to ...
1
vote
0answers
577 views

Set refind as default boot loaader on a mac. ( Having trouble saving bless settings )

I have done quite a bit net surfing and have not been able to find a solution to my problem. Here is the background info: The refind boot loader is installed to my EFI partition on the mac (sda1) ...
0
votes
0answers
393 views

Reset and clear Gnome Terminal not working

I'm using GNOME Terminal 2.31.3. I was at work, ssh'ed into a machine at work. I came home and obviously broke the connection, so I want to reset that terminal tab. There is a menu option Terminal ...
0
votes
1answer
984 views

.htaccess - subfolder URL Clearing

I don't seem to be able to do the following in my .htaccess I have my script in a sub-folder inside my root directory, let's call it "ecommerce", and inside that sub-folder I have my .htaccess. I Am ...
1
vote
1answer
215 views

How to troubleshoot lost 6to4 packets?

On my VDS, both 6to4 and Teredo seem to work poorly (packet loss is about 40%). just-ping.com shows packet loss 10%-80% both for 6to4 and for Teredo address, but 0% for IPv4 address. When running ...
3
votes
1answer
8k views

Use losetup and dd to make filesystems images ready to be deployed

Introduction Using dd, one can easily backup the MBR and partition table of a disk. It's as easy as: dd if=/dev/disk2 of=~/Desktop/disk2_mbr bs=512 count=1 One can also backup whole partitions: dd ...
6
votes
1answer
4k views

What killed my process?

Been having a problem with application that keeps getting killed. This is running a RHEL5 server. We ran strace against the process and at the end of the trace file I get a bunch of +++ killed by ...
3
votes
1answer
328 views

Local website served via ad hoc wifi network

I am in the process of creating a carputer which will be controlled via a web browser on my android device. I plan to use a raspberry pi with a USB wireless adapter, which will serve a simple website. ...
-1
votes
1answer
320 views

Opening file/application through smb/ftp

I know that if I open a file/application through ftp, the file gets downloaded on windows 7 and then I run it. My questions are as follows: 1.On ftp on windows, does it get downloaded to the ...
1
vote
1answer
470 views

rsync --remove-source-files and symbolic links

My source folder contains only symbolic links to different directories: symlink1 -> /path/to/dir1 symlink2 -> /path/to/dir2 I want rsync to delete synch'd links from the source on success. ...
2
votes
1answer
290 views

udev affects behavior of script, prevents dpkg from working

I have a udev rule configured to run a shell script whenever a USB flash drive is inserted; I've verified that udev matches against the rule, that the shell script runs as intended when run manually ...
0
votes
0answers
934 views

how to dual boot Redhat and ubuntu on using different partitions

I want to dual boot my laptop using RedHat and Ubuntu in different partitions. My hardisk contains the following partitions: /boot ==> redhat boot partition 300MB /SWAP ===> 8GB / ===> ...
1
vote
2answers
10k views

sudo to run command as different user

I am trying to setup a script that will be run as a "maint" user. The script is basically a menu that allows maintenance personnel to do different things on the server. However, some of the scripts ...
1
vote
2answers
6k views

How to mount truecrypt volume in linux from command line without having the file manager opened?

How do I mount a truecrypt volume in ubuntu from the CLI without a nautilus window being opened? O/S: Ubuntu 12.10 TrueCrypt: 7.1a Command (that opens nautilus): echo "MySuperSecretPassword" | ...
3
votes
1answer
235 views

Use a proxy with web authentication

I'm behind a web-proxy that needs me to authenticate on a web page in order to browse the web. It seems to me that because of this authentication page sytem, I can't set up my linux package manager to ...