2
votes
1answer
187 views

How do i get screen to execute/load .zprofile when starting a new window?

How do i get screen to execute/load .zprofile when starting a new window?
18
votes
8answers
1k views

How to tell what type of filesystem you're on?

Is there a command to tell what type of filesystem you're using?
1
vote
0answers
366 views

Compiling and running linux test project

I'm trying to install Linux Test Project (LTP) on Debian 6.0.2, kernel 2.6.33.20. Compilation and installation went fine and without errors, but when I try to run basic tests $ ./runltp I get ...
3
votes
0answers
263 views

Increasing serial baud rate within Ubuntu under VirtualBox

I'm debugging a kernel module under VirtualBox with a guest and host OS as Ubuntu 10.10. I'm using the virtualbox serial port but I'm maxing out at the baudrate 115200. My grub config looks like ...
1
vote
1answer
3k views

Is there a better way to unlock a file than move and copy?

My organisation uses Debian Linux running Samba for office file servers. Users run Outlook for their email, which crashes fairly regularly and leaves the outlook.pst file locked. Currently, our ...
4
votes
1answer
2k views

Can the nouveau Xorg driver be used for a multihead workstation?

I'm trying a manual setup of Xorg 1.9.5, for two identical monitors connected to the VGA and DVI ports of an nVidia GeForce 6600. I get the X Server to run using a single screen, and it appears ...
1
vote
1answer
357 views

resolv.conf + PXE server + kickstart files

I use PXE server in order to download kickstart and to install Linux. After installation I saw that /etc/resolv.conf was created with the IP of the PXE server. Why there is PXE server IP address in ...
6
votes
2answers
494 views

sort every field numerically, varying field counts

I'm trying to sort some data using sort. I noticed it was sorting by digit rather than number, so I added the -n flag. It then seemingly only numerically sorts on the first field though. Breaking it ...
7
votes
1answer
13k views

pacman could not find database

I want to install sudo. So I type in pacman -S sudo. But then I get the following errors: warning: database file for 'extra' does not exist warning: database file for 'community' does not exist ...
1
vote
2answers
502 views

Add in `whois` servers

Does anyone know how to configure the whois command to add in whois servers for the whois command? FYI: it's not whois, the one that's on OSX. Would have posted in Apple version but figured I'd get ...
0
votes
2answers
324 views

How to generate Zipf-like samples, by using scripting language

Is there any scripting language function (like in python or bash) that samples from a zipf-like distribution, for exponent 0<a<=1. PS: I am aware of existence of a numpy function that can ...
7
votes
1answer
574 views

Pause music while screen is locked

I was wondering whether it is possible to pause a music player (in my case Rhythmbox), by pressing a button, while the screen is locked. I would assume no, but I thought I'd ask. A short example: If ...
3
votes
1answer
819 views

Launch a GTK3 aplication without customized gtk settings?

In previous versions of gtk it was easy to launch one instance of an application with default gtk settings: GTK2_RC_FILES= epdfview But for version 3, it won't work anymore: GTK3_RC_FILES= evince ...
0
votes
0answers
37 views

How to make unused dependencies clean with yum? [duplicate]

Possible Duplicate: How can I remove Orphan Packages in Fedora? I need something equal gentoo's emerge --depclean so how to make unused dependencies clean with yum?
6
votes
3answers
790 views

Terminal change keys

Is it possible in the Unix terminal to change some of the keyboard keys? For example: when I press , then _ gets printed? If this is indeed possible, how do I go about doing that? I'm on Ubuntu.
2
votes
1answer
77 views

Deploy libs in hard-coded dir

I have a set of libraries and some apps that depend on it. Some of these libraries names might conflict with already installed libraries. The easiest way for me to deploy them would be Install the ...
5
votes
2answers
7k views

tail program output to file in Linux

I know we can use below format to redirect the screen output to a file: $ your_program > /tmp/output.txt However when I used below command, it says "-bash: /home/user/errors.txt: Permission ...
2
votes
0answers
601 views

Does “persistence” slow down boot and shutdown on a USB linux?

Essentially, my question is: how does casper-rw (IIRC) work? Every time it boots, it copies the entire file? Every time it shuts down, it recreates it? Also does its size affect the speed? RTFM ...
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
990 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
734 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
874 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
620 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 ...

15 30 50 per page