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
1answer
111 views

Pressing the Q key in any application in gnome-terminal quits terminal?

I recently set up Linux (Debian 6), and am running Openbox as my WM. My problem is that, whenever I press the Q key in the terminal, whether in a script, program, app or just typing a command, it ...
2
votes
1answer
594 views

How to pipe the output of a linux command back into the predecesssing command

The linux command nc -l 8090 | (read METHOD URI PROTOCOL ; echo "method: $METHOD" ; echo "path: $URI" ; echo "prot: $PROTOCOL") listens to port 8090 and when I type something like ...
0
votes
3answers
586 views

How to use LC_MESSAGES=C with gcc every time?

Currently I'm using Ubuntu with my system locale and language set to Japanese. However I'd like to have it always displaying gcc messages in English as it would be easier for me. I found here if I ...
1
vote
3answers
138 views

Linux: find - Stop as soon as it finds something

I am trying to use find to locate a single directory, and I would like it to stop as soon as it finds something, is this possible? Currently I am using the command find /directory/to/search/ ...
0
votes
1answer
631 views

Devices renamed with udev not working, original device node still there

I'm trying to rename certain video devices using udev. Here's a rule (broken down for readability): ACTION=="add", SUBSYSTEM=="usb", ATTR{busnum}=="1", ATTR{devpath}=="2", ATTR{idVendor}=="05e1", ...
0
votes
1answer
404 views

How can I change number of rows in Ubuntu server terminal

I use server version of Ubuntu, and I can't find out how to change the number of rows in terminal. I mean I want to scroll back in terminal a lot more rows than the default. I can't make it via GUI ...
1
vote
2answers
5k views

Openssl installation using HomeBrew fails giving a make error

I am using HomeBrew as a package manager. The operating system that I am using is Mountain Lion. I just tried to install openssl using the command : brew install openssl What I am getting is the ...
0
votes
1answer
325 views

Is madwifi-ng driver better for cracking? [closed]

I'm very new in cracking and wireless network, and I just follow tutorials of airckrack. Unfortunately, network card change it's channel to -1 every time I try to inject. This is output of "airmon-ng ...
0
votes
2answers
665 views

Get back to the default terminal in debian

I've accidentally press the key Ctrl + Alt + F1. It switches my default terminal to a virtual terminal, and I don't have the folder and user information in the command line anymore. How do I get back ...
2
votes
1answer
304 views

Install a command line only Linux in Virtual Box in Windows and access Windows home directory from there

I want to have a command only linux installed in Virtual Box and access my Windows home directory (User directory) from there to enjoy powerful linux commands and easier SSH to my remote machines and ...
2
votes
1answer
2k views

Printing from the command line with LibreOffice, lpr commands?

I'm trying to print a word document from the command line, but I need to specify printing options that I would normally use lpr for. This is the command I'm using libreoffice -p "filename.doc" I ...
0
votes
1answer
17 views

Logs appear to have switched off?

I'm running a ASUS EEE 701 laptop with the stock linux OS. I was (and still am) having problems with a cron not running - so I went to look at the logs - and it turns out that none of the logs ...
0
votes
0answers
243 views

Xubuntu 12.04: Slow Login

I'm running Xubuntu 12.04, and after I ran the update, my login started slowing down big time. I've dabbled a little bit with the programs in Settings -> Settings Manager -> Session and Startup, and ...
1
vote
1answer
264 views

What causes a TX overrun, and how to troubleshoot?

On a Linux machine acting as a router I have a large number of TX 'overruns'. The machine routes through a tunnel interface (which is where the overruns are occuring). What would cause these ...
1
vote
1answer
142 views

/etc/sudoer/ - Is it possible to enter into single user mode through putty?

I accidentally chown the /etc/sudoer/ folder so that my sudo command no longer works. (I can only ssh into this Linux Centos vm on windows azure) I don't have the root password and I wonder how I may ...
1
vote
0answers
159 views

Why isn't there anything like WINE to run Osx software on Linux? [closed]

Is there any particular reason that prevents the possibility of creating software like WINE to run Osx soft on GNU/Linux ? What led to the creation of wine, excluding games, was the lack of some ...
1
vote
1answer
1k views

ftp: special characters in password

I need to execute this command wget -r ftp://$USER:$PASSWORD@$SITE/ But first since there were some special characters (such as '!?') within the PASSWORD I had some problems that I solved by ...
0
votes
2answers
2k views

redhat linux 6 / disk space at 100% after delete and reboot

Using df -h and du my disk space show 100% all the time. I have deleted at least 2GB of files and I rebooted the server. I thought that will fix the issue as the server came up just fine. However, it ...
3
votes
2answers
2k views

How can I find all hardlinked files on a filesystem?

I need to find all hardlinked files on a given filesystem. E.g. get a list of files, each line contains linked pairs, or triplets, etc. I understand more or less how to do it, one needs to create a ...
1
vote
1answer
265 views

Google Chrome doesn't respond user actions correctly

Recently I've changed my OS to Ubuntu 12.04 (Cinnamon, 64 bits) from Mint 13 (KDE, 64 bits) and one same bug still appears on new installation. The Google Chrome it seems that don't refresh (repaint) ...
30
votes
3answers
9k views

Can a process be frozen temporarily in linux?

I was wondering if there is a way to freeze any process for a certain amount of time? What I mean is that: is it possible for one application (probably running as root) to pause the execution of ...
0
votes
1answer
51 views

Size of a folder on server

I have a magento store running on a shared hosting server. We are in process of migrating the site and need to know the size of particular folders like media etc. This will help us getting the size ...
5
votes
1answer
330 views

DNS does not work equally on Windows and Linux

The problem is in browser, ssh,... Windows: myservername is resolved to myservername.company.com and both the URLs work fine Linux: Only myservername.company.com works here and myservername is not ...
2
votes
1answer
8k views

how do I fix a wrong UUID in grub.cfg?

I run Debian Wheezy alone on my PC and I recently copied the root partition to another with rsync as I found that worked well (I also know about dd and ddrescue but they leave unusable space on the ...
6
votes
2answers
101 views

How to prevent gnu screen capturing the mouse?

I want to use local scrollback on my terminal, whilst using gnu screen. That's because my network connection is incredibly slow, so using screen's scrollback is very slow. Local scrollback is much ...
5
votes
1answer
551 views

Gnu screen with local scrollback buffer?

I'm using a remote server over a very slow and unreliable network connection. So, I want to use gnu screen in order not to lose what I'm doing whenever I get disconnected. But I want a local ...
0
votes
1answer
338 views

gnome-screensaver disable blank screen

I am using SUSE Linux with gnome-2 My screensaver runs for 5 minutes and the screen goes blank after that. I want to disable the blank screen. I tried the following commands: $ setterm -blank 0 $ ...
1
vote
1answer
1k views

Writing USB udev rules based on vendorid, productid & usb bus information

I've got a few usb webcams, but unfortunately they have no serial numbers. So upon boot they tend to switch device file names. Since they'll always be in the same usb port I want to create a rule ...
1
vote
1answer
68 views

Determine channel of wireless interface

I know that iwconfig can provide me frequency of some wifi interface, but is existing some possibility to know chanel which configured for wireless interface? I use Ubuntu 12.04.1
2
votes
2answers
3k views

How can I emulate windows mouse behaviour in Ubuntu?

I've been using Windows for years and now I'm using Ubuntu's newest version (12.04.1) for desktop. Now this is all a matter of opinion, but is there a way to make the mouse pointer behave like on a ...
2
votes
3answers
3k views

Connect a linux server to network and access it from another computer browser

I had a server in a hosting company and I took it home. I need to connect him to a local network (not wifi) and access to the server from another computer in the network via browser, like I did it ...
2
votes
2answers
233 views

How to remove a duplicate symbolic link

I accidentally created a link to a folder in the same directory with the same name as the folder, and I'm not sure how to safely remove it without removing the actual folder. # ls -l total 4 ...
1
vote
1answer
580 views

Restrict mouse from moving to secondary monitor

I have two screens connected to my system and I am working in Ubuntu Linux. Is it possible to make the mouse work only on one screen and to make it stop going in the second one?
3
votes
2answers
4k views

php startup error Invalid library (maybe not a PHP library) 'pcntl.so'

After searching for hours to solve my problem and found nothing helpful I ask my first question here. I want to compile and install php 5.3.17 cli with pcntl extension enabled on a Debian server. The ...
0
votes
2answers
278 views

Set Linux date with ddmmyy

I need to set the date of a Linux box with a string I get from a program. This string is formatted as ddmmyy. Is it possible to use that directly or do I need to reformat it first? Currently I have ...
0
votes
1answer
705 views

Access Ubuntu Host Files from RHEL installed on Virtual Box

Im trying to access Host files (Destop Folder) from RHEL installed on Virtual Box. First I Shared a folder from menu bar of VirtualBox. Then I make a directory in /Media/ubuntushare Then I tried to ...
6
votes
1answer
2k views

Large volume at /mnt on AWS instance

I know this is probably a somewhat 'dumb' question :) I have an AWS (small) instance and I just noticed that there is a ~150gb volume attached at /mnt, is this normal? It kinda freaked me out, I was ...
0
votes
1answer
409 views

AIX auto completion: how to show a whole file name by type in only a few letters

I used to work on Redhat Linux and really enjoy its feature that I can only type a few letters on the command line, and the rest of a file name would show up. I am running AIX 5 or 6 now, and it does ...
-1
votes
1answer
587 views

Using sed, how can I delete all blank lines? [duplicate]

Possible Duplicate: How to remove blank lines in .txt files Using sed, how can I delete all blank lines? Input file: Steve Blenheim:238-923-7366:95 Latham Lane, Easton, PA ...
0
votes
1answer
100 views

Using sed, how can I remove lines with salaries ending 500?

Using sed, how can I remove lines with salaries ending 500? Input file: Steve Blenheim:238-923-7366:95 Latham Lane, Easton, PA 83755:11/12/56:20300 Betty Boop:245-836-8357:635 Cutesy Lane, ...
4
votes
2answers
640 views

wget recursive limited within subdomain

I want to download the following subdomain with the recursive option using wget: www.example.com/A/B So if that URL has links to www.example.com/A/B/C and www.example.com/A/B/D, these two should ...
2
votes
2answers
1k views

Using sed, how can I append “START” above the first line and “END” below the last line?

Using sed, how can I append "START" above the first line and "END" below the last line? Input file: Steve Blenheim:238-923-7366:95 Latham Lane, Easton, PA 83755:11/12/56:20300 Betty ...
2
votes
2answers
640 views

What do I need to make Linux host names resolvable on LAN?

What do I need to get local host names to be resolvable? BIND? DHCP? dnsmasq? With the needed components, how do you configure it? We use Vyatta 6.4 as our router and we have CentOS 6.3 boxes. I ...
0
votes
2answers
1k views

How to suppress “Destination Host Unreachable” when running ping

When I run the ping command, I often do so with the goal in mind to learn when a particular machine has come up, e.g. from rebooting. But recently (read: in the last few years) I have noticed that ...
4
votes
2answers
2k views

How do I align the bottom edges of two monitors with xrandr?

I have two outputs that I'd like to use on my laptop: LVDS1 - 1366x768 HDMI1 - 1920x1080 I set my monitors up like so: xrandr --output LVDS1 --auto --output HDMI1 --auto --right-of LVDS1 This is ...
2
votes
1answer
170 views

Using sed, how to print the contents of the file with the last names and first names reversed?

Using sed, how to print the contents of the file with the last names and first names reversed? Input file: Steve Blenheim:238-923-7366:95 Latham Lane, Easton, PA 83755:11/12/56:20300 Betty ...
0
votes
1answer
101 views

How do I find all the symbolic links to a master file? [duplicate]

Possible Duplicate: How can I find out if a symbolic link exists, that points to /tmp? I have an mpeg file that has been linked to in a number of directories. I need to replace all those ...
1
vote
0answers
206 views

ACPI events delayed or not logged in Linux

I have a samsung ultrabook (NP530U3C) that is not working good with ACPI events: lot of ACPI events randomly stop to be logged on kernel messages either in acpid logging. the lid closing is ever ...
0
votes
4answers
601 views

iMacros-like program for terminal?

Is there such a program for Terminal like the iMacros plugin for Firefox, that can record what I did, then automatic do the work I have done? I hope that there is such a program to help me do the ...
0
votes
2answers
91 views

Why is there user-ownership in Linux? Aren't group/other file permissions enough? [closed]

I think I rather understand how file permissions work in linux. However, I don't really understand why they are split into three levels and not into two: can anyone explain the rationale for why a ...