0
votes
2answers
710 views

RVM install issues on a local user account

I'm running Ubuntu server lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 11.10 Release: 11.10 Codename: oneiric When I try to install ...
0
votes
2answers
525 views

Storing Abbreviations in Vim

I frequently use :ab to save typing time during coding. For e.g. :ab mat matrix to replace mat by matrix every time I type mat. Is there any way of storing and loading the abbreviations I create for ...
0
votes
2answers
1k views

Problems with tight vnc on Suse 11 enterprise x86_x64

We have a production machine running Suse 11 Enterprise Server x86_x64 with tigtvnc as the VNC server used to connect remotely via UltraVNC view on a Windows 7 machine. Up to this point, the setup ...
0
votes
1answer
531 views

Remapping keys in vim's “directory view”

The "Netrw Directory Listing" you get by opening a directory in vim (e.g. :e .) seems to use a different set of keybindings than plain vim for navigation I have my hjkl keys remapped thus: noremap d ...
2
votes
1answer
138 views

/etc/rc*: Why does this command stop NFS services from starting at boot?

I recently found this home networking tutorial surprisingly enlightening. However, there is one thing I don't understand: Disabling NFS Start On Boot: If you are not planning on regularly ...
1
vote
4answers
434 views

FreeBSD is not Unix. But its Unix-Like Unix. Where is then the main Unix to read the source code?

I want to really understand System V, the main origin of Unix (not Unix-like nor modified Unix to Linux). The main origin which is very confusing and not really with care its written somewhere. Is it ...
0
votes
1answer
241 views

What causes localhost 404 requests to go to http://origin.domain.com [closed]

I've been running Apache on my local computer for years. Suddenly, any request to a local page that is not found, is redirected to http://origin.domain.com/. What could cause this? Just to be clear, ...
1
vote
1answer
390 views

How to create a cron which finds/kills/clears old puppet runs?

I am a new user of bash/cron, and I was given a task to create a cron which finds/kill/ and clears old puppet runs that were not successfully installed. The more help the better, but I am more or less ...
1
vote
2answers
552 views

Proper way to use shebang for bash

What is the recommended options in bash's shebang? #!/bin/bash -e I currently have it as above. This sources $HOME/.bashrc. I don't want to source user's .bashrc/.profile as it might interfere ...
2
votes
2answers
744 views

Can I send auditd logs to another computer?

On a Linux (debian) box, I have a NFS server wich seems to be overloaded by requests. In order to identify the problem, I'm trying to monitor with auditd/auditctl accessed files in the partition ...
1
vote
3answers
889 views

What should a Linux Server Admin know about Solaris and AIX

I'm being considered for a new Linux Server Engineer position, but I'm told by an insider that there is a little Solaris and AIX in-house. I spend most of my time in the Debian Family, have some ...
40
votes
4answers
29k views

Is it possible to find out the hosts in the known_hosts file?

I would like to see what hosts are in my known_hosts file but it doesn't appear to be human readable. Is it possible to read it? More specifically there is a host that I can connect to via several ...
12
votes
2answers
3k views

How/Why does cat write a bootable ISO to a device

I recently discovered that I can create a bootable USB key from an ISO file by simply using cat (or dd). I can't find any information on how this works. Why would: cat my.iso > /dev/sdb ...
1
vote
1answer
141 views

transfer permissions user -> group/other

How do I transfer write/execute and execute permissions from owner to group and other, respectively? I have some libraries I want to move to opt and set ownership of to root. Unfortunately, ...
10
votes
5answers
48k views

How to display lines 2-4 after each grep result?

I'm parsing a mailbox file that stores e-mail server reports for unsuccessfully delivered e-mail. I wish to extract bad e-mail addresses, so that I remove them from the system. The log file looks like ...
2
votes
1answer
481 views

How to extend an ext3 partition over LVM inside a file (virtual machine)?

I need to extend the root partition of a virtual machine (VM) using LVM (Logical Volume Manager). I can afford a few minutes of downtime so a VM shutdown/reboot is fine. The virtual hard disk is in ...
2
votes
2answers
2k views

How to delete the line after a search pattern, globally with vi?

Assume I have a big file, ~1k lines, and I need to delete the line after some pattern, lets call it: somePatern. Conditions: cannot be done by hand (no searching -- /somePattern, and/or manually ...
6
votes
1answer
1k views

How to extract annotations from PDF files?

Is there a command-line tool to extract annotations (comments added using evince) from PDF-files? I search such a solution to send people feedback on their submitted documents. Apart from replying ...
1
vote
0answers
324 views

Replacing/disabling plasma desktop/wallpaper?

I'm looking for a way to replace Plasma's wallpaper (desktop?) with Compiz's (or traditional). I'm running Compiz + Emerald as WM, and this disables the ability to have different activities on ...
6
votes
1answer
187 views

Confusion about sed and '>'

The following command works fine: sed s/input/raw_input/ p.py >p2.py && mv p2.py p.py However, the following command turns p.py into an empty file: sed s/input/raw_input/ p.py >p.py ...
6
votes
2answers
2k views

Bash $PROMPT_COMMAND messing up scroll history display

I set up a PROMPT_COMMAND to display the current branch while I'm in a git repo. The relevant part of my .bashrc is: export PS1=" \[\033[34m\]\$\[\033[0m\] " export ...
1
vote
1answer
105 views

VIM - how to minimize tabindent on hilighted text

Right now, my VIM editor tab indent has some unusual behaviour. When I am in insert mode and press tab, the cursor indents about 3 spaces instead of a whole tab indent. I like this. When I ...
0
votes
1answer
1k views

Linux mint 12: change default editor and terminal

I have the sublime text editor located in usr/bin. How can I make it the default editor so I can do sublime /var/www/test.php? And can I change the default terminal to yakuake?
5
votes
1answer
982 views

How do I filter a glob in zsh

Basically I can use a glob in zsh to a list. Often, it turns out, I would like to filter that list, grep'ishly I'm wondering though, if I need to do that. Does zsh have a method to filter a list? ...
5
votes
2answers
1k views

is it possible to send a control sequence to a terminal emulator using the keyboard

If you type echo -e '\eZ' and hit return in a shell running in an xterm, you'll see that the terminal emulator prints an obscure code 1;2c. This seems to indicate that xterm interprets the VT100 ...
1
vote
1answer
629 views

routing between two private networks (NICs)

I have two private networks say: 10.0.1.0/8 and 192.168.0.0/24 I have two machines with two NICs per each machine. machine1 NIC1: 192.168.0.10 machine1 NIC2: 10.0.1.10 machine2 NIC1: 192.168.0.11 ...
1
vote
1answer
499 views

Can Bumblee really help with Optimus Laptops?

I bought Lenovo Z570 which comes with nVidia GEForce GT520M (Optimus technology) and recently I installed Ubuntu 11.10. Surprisingly, whenever I boot my system CPU fan rotates at very high speed and ...
4
votes
2answers
1k views

Using files that have spaces in their name in pipes

I have folder named play which contains a file damn file (with space). When I use find and pipe the output to tar: find play/ -name 'damn*' | tar cf archive.tar -T - It works perfectly. Why does ...
5
votes
3answers
658 views

Is there a WinSpy++ like tool for Linux/X/GTK/QT?

When I was using Windows I have some times made a good use of WinSpy++ which allowed to point to a window or a control (a widget, a window element) to see details about it (including the values of the ...
15
votes
4answers
5k views

Is there a tool to view a torrent file?

I am interested in rendering a torrent file into a readable form (to see what files does it reference, what tracker information does it contain etc.). What a tool can I use to do just this?
1
vote
1answer
251 views

What is wget idiom for curl -o?

So I use code in some function like if [ ! -e $DOWNLOADS/$1 ]; then echo_run curl -L http://$4/$5/$1 -o $DOWNLOADS/$1 fi I wonder how to achieve the same thing without curl?
1
vote
0answers
3k views

Mint 12: I can't open synaptic package manager

I have Mint 12 Lisa DVD edition, 32 bit verion. I have kde and gnome. I can't open the Synaptic package manager. When I click on it, I am asked to enter my password, I do so and click authenticate, ...
3
votes
3answers
2k views

Is there a command line tool for image manipulation?

I'm searching for a tool for command line image manipulation. I want something similar to pinpoint presentation tool where I edit a file and can directly see the results on another window. I can get ...
9
votes
3answers
17k views

Extracting a regex matched with 'sed' without printing the surrounding characters

To all the 'sed' doctors out there: I have a seemingly trivial 'sed' question to which I have not been able to find a solution. How can you get 'sed' to exctract a regular expression it has matched ...
-1
votes
1answer
153 views

Is linux.org still maintaining their OS? Who's using it?

There are many distributions of linux, so is linux.org still maintaining their orginal OS? If yes, then why use it when you can get Ubuntu, Debian, Centos, etc?
1
vote
1answer
2k views

SIOCSIFNETMASK: Invalid argument using OpenVPN on Ubuntu

Trying to configure OpenVPN client on my Ubuntu desktop. Conf file: remote 192.168.11.103 #192.168.11.103 #85.249.45.106 #dev-node tap0 dev tap port 5027 ifconfig 10.9.0.74 10.9.0.73 route ...
2
votes
1answer
571 views

How do I build Lynx with SSL on Mac OS X?

I'd like to build and install Lynx on Mac OS X. I've found out that building is as simple as running ./configure, but I'm having trouble building with SSL support. I've downloaded openSSL. How do I ...
3
votes
2answers
188 views

How can I make my home Linux most closely resemble the Linux used at my school?

We have to ssh into our school's server to make sure our programming assignments work on the system that will be used to test them by the teacher. It's running RHEL 6.2. When I test my program on my ...
2
votes
2answers
341 views

GNU Screen and Emacs

I upgraded recently to OpenSuSE 12.1 from 11.3 and now when I open any files in emacs from inside a screen session, I get a blank buffer. Let's say I open it as: emacs myFile.txt it will open to an ...
2
votes
2answers
1k views

Fedora 16 desktop missing workspaces, Applications and Desktop menus at top of window

My last system was Fedora 12, and I don't recall doing anything special to get Applications Places Desktop at the top and having multiple workspaces (also switchable at the top). I can't find any ...
1
vote
1answer
1k views

Why don't I see the XAMPP page on Linux Mint?

I am trying to install PHP MySQL on Mint 12. I downloaded and installed XAMPP. According to the tutorial, when I go to localhost in a browser I should see this: Instead, I see: It works! This is ...
2
votes
1answer
329 views

Install apache2-mod-mono-2.10

I am trying to install mod-mono for apache so that I can run C# asp.net websites from my server. The project I have is a .net 4 project. When I go into yast and select apache2-mod-mono for install ...
2
votes
2answers
199 views

Two differently-versioned binary Debian packages from one source

I'm thinking about properly Debianizing a package, which contains two parts in one upstream tarball/git branch: Userspace binaries and libraries, version 1.5.0 (foobard binary package) Kernel ...
0
votes
2answers
150 views

Finding the best working driver for a video card

where can I look for the best working driver for a video card (and if available at all)? In my case it is a "Nvidia Geforce GTX 580", because I've read that the drivers are better for Nvida than for ...
2
votes
1answer
1k views

How and where to install a headers only library?

I like to install gource which requires libglm-dev installed on the system. I am using Ubuntu 10.10. Maverick. The newest sources of the headers only library I found is not available for apt-get. ...
1
vote
1answer
497 views

Where are temporary files used for installation stored?

Where are installation temporary files stored by pacman in Arch Linux?
1
vote
3answers
3k views

AUR and pacman GUI frontend for Arch

Do you know any good GUI for pacman and arch? Where I could view packages installed and possible to install? And of course do anything as in pacman.
5
votes
1answer
953 views

Remove watermarks from pdf file

Is it possible to remove annoying watermarks from pdf file in Linux? For example, every page contains text This file was merged by application XY.
2
votes
1answer
1k views

What's wrong with this csh file?

I don't have any experience writing .sh files. I want to run the pvm2raw utility of this app from the Volume Library. I get the following error when running build.sh in Ubuntu 10.10. build.sh is ...
1
vote
2answers
651 views

Embedded device: How to do raw reads and write to flash (emmc/movinand) bypassing file system cache

I have an embedded device with a flash memory running linux. I want to do raw read writes on the flash part but I also want to avoid any file system cache. How can I do this? Any pointers?

15 30 50 per page