1
vote
1answer
487 views

Install MultiUpload Extension in MediaWiki

I am trying to install "MultiUpload" mediawiki extension. I followed the installation instructions and added below code to my mediawiki "LocalSetting.php" file ...
1
vote
1answer
3k views

How to set up FreeBSD for my region?

im currently installing FreeBSD. Im at the "Time Zone Selector" screen. I don't know what should i choose. Normally, since i live in Quebec (Canada), i choose Eastern time GMT -5, but there is no such ...
4
votes
1answer
991 views

Linux sort second last column

I would like know how to sort the second last column ? It has the word "days=" in front of the number. I'm able to get the column with awk '{print $(NF-1)}', but sorting is wrong. 457000 ...
0
votes
1answer
4k views

Centos 6.2 static IP: only getting IPV6 address and need IPV4

I installed a Centos 6.2 min install. I have edited /etc/sysconfig/network-scripts and I have ifcfg-eth0,eth1 I have tried to setup static IPs but I only get IPV6 address back on both adapters and ...
2
votes
1answer
249 views

Incomplete factory update makes btrfs filesystem unusable?

After an incomplete update from the factory repo my opensuse 12.1 btrfs filesystem is unusable. I have plenty of disk space free but zero inodes. When I try to delete or create a file it gives me the ...
1
vote
1answer
389 views

Utility for sending HTML mail with attachments to a long list of emails?

I'm in the middle of writing a Python program which simply sends the same HTML message with an attachment to a large list of email addresses (BCC). Is there a utility I could use to do this rather ...
3
votes
3answers
9k views

How to rename multiple files by removing the extension?

I have a number of tiff files named: sw.001.tif sw.002.tif ... and I want to remove the .tif at the end of each of the files. How can I use the rename command to do this?
2
votes
1answer
299 views

Script to let the user cancel a shell logout

I want to write a script to display a message and possibly cancel a logout from an interactive shell. This is because I often run background jobs in some of my shells and in the spur of the moment I ...
0
votes
2answers
736 views

xdg-open ignores my application definitions

I am running compiz-gnome session with xfdesktop on fc16, don't ask why, but I have this weird problem. Some of the applications (e.g. tracker, or evolution )do not start the proper application for ...
0
votes
1answer
875 views

Puppy frugal install Harddisk Grub Problem

I tried to install Puppy Linux 5.2 on a Harddisk (IDE), since the BIOS does not allow USB boot. As described here, I ran the universal installer and chose Harddisk, Then i create a small partition ...
1
vote
0answers
333 views

Configuring multiple static IP addresses for a disk image

Using Ubuntu 10.04 I'm using Clonezilla to create and install a customized image. I'd like to be able to set up multiple static IP addresses. For example, I'd like the first interface to have the IP ...
1
vote
2answers
3k views

Is it a good idea to run freenas 8 (inside virtualbox) on a lamp server?

I am redesigning my home network setup (specifically my nas and server), and recently asked a question about running a lamp server and freenas 8 on two separate machines. However, in the spirit of ...
1
vote
1answer
2k views

How to change mixing of channels by pulse audio / alsa

I have a recent problem with my sound configuration. Basically, it's way too loud until I set the volume below 10%. And then it's very quickly too silent. Using the alsa mixer, I can set the headphone ...
2
votes
3answers
2k views

How to remove an empty directory (btrfs filesystem)?

I'm using the experimental btrfs filesystem. My directory looks like this: ls -la empytfolder total 4 drwxr-xr-x 1 root root 0 19. Mär 14:00 . drwxr-xr-x 1 root root 298 19. Mär 13:59 .. I ...
4
votes
4answers
968 views

How to print keypresses in .inputrc format?

Which application can I use to figure out what to put in .inputrc for any custom keyboard shortcut? I've tried a few, and none of them seem to be usable: showkey, showkey -a and read just print ' if ...
4
votes
2answers
262 views

How to print keyboard shortcuts in human-readable form?

It would be very useful to have a user-friendly way to get an overview of the currently defined keyboard shortcuts. In other words, given the /etc/inputrc lines "\e[A": history-search-backward ...
7
votes
2answers
3k views

Can I create a man page for a script? [duplicate]

Possible Duplicate: How can I add man page entries for my own power tools? Most (if not all) Linux commands have their man pages that describe their usage options etc. Can I create similar ...
4
votes
1answer
2k views

Cannot set up screen panning in Ubuntu with xRandR which states that it cannot find the modes

I am using a Samsung n150 netbook with a 10.1 inch screen and it has a maximum screen resolution of 1024x600. I am running Ubuntu 10.04 LTS and want to enable screen panning for a larger virtual ...
6
votes
1answer
4k views

Ctrl+Alt+F8 meaning

I know that Ctrl+Alt+FX (X=1 to X=7) are 7 different ttys. Suddenly, I tried to find out what other combinations Ctrl+Alt+FX (X=8 to X=12) leads to. After pressing the combinations, I found that a ...
3
votes
3answers
6k views

Trying to Open a Port using CentOS

(I'm new to this!) I'm running a virtual server running CentOS. I'm trying to run a server that listens on port 37760. The code I'm running executes successfully, so I run netstat -lptu To show a ...
2
votes
2answers
321 views

Shell Prompt Customization? [closed]

I have used oh_my_zsh (and tinkered with bash_it) on multiple systems and have generally been happy with it, though I hate it's auto-correction feature and generally turn it off. My usual shell is ...
1
vote
1answer
2k views

Installing Epson Stylus SX115 printer on Archlinux

I have a printer 'Epson Stylus Sx115' plugged into my USB port. It is detected because it is listed in lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID ...
5
votes
1answer
621 views

What determines the path where the system searches for a file?

I am trying to get npm to work. In the process, I seem to have two versions of it installed: A corrupt one installed in ~/bin, and another I just compiled and ran make install to put it in ...
6
votes
3answers
3k views

Are there disadvantages in SSH tunneling?

I recently "bought" a VPS that I want to use as a Proxy to be able to use some sites and stuff that I can't reach from germany. Since I was yet too lazy to set up Squid and OpenVPN (which I ...
2
votes
1answer
629 views

Why dialog doesn't support emacs shell on Debian?

Dialog is a utility that provides dialog boxes from shell scripts, you may have seen them in aptitude during upgrades. When i use Emacs shell (M-x shell) and type sudo aptitude safe-upgrade, i get the ...
2
votes
0answers
1k views

My laptop is not able to recover from suspend and hibernate

I have a acer aspire 5750G laptop. I am running ubuntu 11.04. The uname -a reads the following: Linux admin-Aspire-5750G 2.6.38-13-generic-pae #56-Ubuntu SMP Tue Feb 14 14:32:30 UTC 2012 ...
2
votes
1answer
2k views

“>/dev/null 2>&1” in `if` statement

I don't understand the below if condition. I know that /dev/null 2 > &1 is sending output to error stream (please correct me if I am wrong). But I don't get it when it is in an if condition ...
4
votes
5answers
2k views

How to disable shutdown so that an important process cannot be interrupted?

What is the simplest way to disable or temporarily suspend reboot/shutdown when an important process is running? The process takes too long to finish and cannot be paused/resumed so I like to avoid ...
8
votes
2answers
299 views

Linux kernel headers' organization

While I was doing some reading on system calls, I did a search for "syscalls.h" to find the header file in LXR. The search results puzzled me. There is a dozen of "syscalls.h" files coming from ...
2
votes
1answer
1k views

Looking for “Camera Mouse” for Linux

I have come across a cool piece of software called Camera Mouse. It lets you control your mouse cursor with just a webcam. Is there software like that for Linux based operating systems? (I would ...
11
votes
3answers
1k views

Adding a user who can only execute scripts remotely

I would like to create a user who can only do one thing: via ssh specify a script ( and commandline arguments to the script ) that resides in one particular folder ( for the purposes of this question ...
6
votes
1answer
1k views

What program will save a fillable PDF?

There are several nice fillable PDFs available for the RPG hobby. These have boxes that number values can be entered and simple formulas are calculated throughout the sheet. I'm finding that the ...
1
vote
2answers
162 views

Saving files on lost focus in Vim

I have been trying to setup the shell version of vim to save any changed files when the shell window loses focus. Following these instructions does not work. Even though I am using OS X, I figure ...
1
vote
2answers
132 views

Non-distro specific, linux tweaking, hacking and learning support IRC

Distro-specific support channels are good only if you run their clean stable versions out of the box and basically don't install anything other than what you get out of the box. But what about those ...
2
votes
1answer
2k views

How do I restart apache as non-root (using a git-hook)?

For one specific user I want to be able to restart Apache. This user does have sudo privileges and I could run sudo /etc/init.d/apache2 reload, but I want to include this restart script in a git ...
2
votes
2answers
182 views

What should I teach in my Linux class? [closed]

I'm teaching a basic Unix class using Ubuntu. We've already covered basic Unix stuff such as: bash shell scripting file and directory permissions filesystem hierarchy common commands I would like ...
12
votes
5answers
2k views

How do you properly fork a Linux distro?

I was wondering, how one would go about creating a Linux distro. LFS seems like overkill, I would rather fork an existing distro. I know there are several "respin" applications, but these only seem to ...
5
votes
2answers
355 views

how to deal with keyboard-greedy apps

I'm having a very specific problem, however any help will aid in understanding X's relationship to the keyboard. I'd like to be able to launch the ElectricSheep program on top of music playing from ...
25
votes
5answers
19k views

Why does Linux allow ‘init=/bin/bash’?

I recently found out that if I edit GRUB before booting and I add rw init=/bin/bash I end up with a root shell. Being in a condition that I want to understand everything I would like to know why this ...
4
votes
1answer
861 views

Disabling or changing console switching keys

For some reasons on my Ubuntu 11.04 Natty running Linux 2.6.38-13, with an Italian layout for the keyboard, the keystrokes AltFx switch between virtual consoles (instead of the normal CtrlAltFx ...
6
votes
2answers
477 views

Can I configure things to open new windows on the left screen?

When I attach an external (D-SUB) display and set it up (with xrandr) to be on the right to the main (built-in) display, the most of new windows opened appear on the external display and some even ...
3
votes
2answers
593 views

Resuming screen with UTF8 enabled breaks character input

Overview of UTF8 screen re-attachment issues. Problem: Creating a screen that uses UTF8 works perfectly until re-attaching said screen session. Steps: ssh remothost screen -U -S ttytter [detach ...
1
vote
0answers
524 views

Fedora 16 install from USB memory stick to Samsung NP305U1A netbook will not boot

I have installed Fedora 16 from a USB memory stick. After installing, which seems to work just fine, and after rebooting I end up in the BIOS. I can not find which BIOS settings to use and have not ...
5
votes
3answers
2k views

How can I get the netmask from an IP address?

How do I get a netmask from the IP address? Is there a command to get it?
7
votes
2answers
861 views

How to deliberately fragment a file

I am looking for a way to fragment an existing file in order to evaluate the performance of some tools. I found a solution for NTFS file system called MyFragmenter as described in this thread. However ...
1
vote
1answer
453 views

proper way to overwrite debian kernel modules

I just downloaded and compiled tg3.ko kernel module. Where should I put it on a Debian system? There is one in /lib/modules/2.6.32-5-xen-amd64/kernel/drivers/net/tg3.ko already. Ideally, I would like ...
6
votes
1answer
17k views

automate gnuplot plotting with bash

I have 6 files which need to be plotted as line graphs with error margins and output them to different png files. The file format is as follows. seconds mean-average min max How would I go about ...
3
votes
1answer
1k views

Arch + LXDE + lxdm -> INIT: Id “x” respawning too fast: Disabled for 5 minutes

I've been trying to install LXDE with lxdm on Arch, and followed the instructions given at archlinux.org and lxde.org on how to set these things up together. Here's the manipulations I make to ...
7
votes
1answer
3k views

top output: cpu usage > 100%

Here is the top output which I gathered: I noticed that top is showing vlc's cpu usage is > 100%. Can anybody please justify me why it is showing like this, whether this is a bug in top ...
6
votes
2answers
4k views

Change default applications used by gnome-open, exo-open, xdg-open, gvfs-open and kde-open

How to change the applications associated with certain file-types for gnome-open, exo-open, xdg-open, gvfs-open and kde-open? Is there a way by editing config files or by a command-line command? Is ...

15 30 50 per page