2
votes
1answer
95 views

Running a program without the assistance of the system administrator

I have an rpm for a program called KDirStat that I would like to run on a machine where I am not the system administrator. My questions are: Can I install this rpm package without the assistance of ...
0
votes
1answer
97 views

Why does this compound command report errors when copying directories? [duplicate]

Possible Duplicate: Why does this compound command report errors when copying directories? if one executes the following two commands in one line, as follows, rm -rf dir ; cp -r dir2 ...
2
votes
1answer
127 views

determine what is processing command GB_INIT()

debian wheezy (raspbian armhf) and i'm struggling to compile gambas3 from source: pi@raspberrypi ~/gambas-svn $ ./configure checking whether to enable maintainer-specific portions of Makefiles... no ...
4
votes
4answers
8k views

Is there any reason to have ntpd sync to Local(0) if server is not used as a time source?

Running CentOS release 5.8 I had a time drift issue on a server which I fixed - it was not syncing the hwclock so that on a reboot ntp would be more than 1000 seconds off and never sync time. While ...
1
vote
2answers
395 views

Should I change the permissions of binaries?

I'm running CentOS 6.2 and installed nginx as root. After the install I changed the owner and group of the install to it's own user and group to keep thing a bit more secure. I logged in as root and ...
0
votes
2answers
215 views

Why does this compound command report errors when copying directories?

if one executes the following two commands in one line, as follows, rm -rf dir ; cp -r dir2 dir it may complain that cp can not create directory dir/subdir: File exists but if these two commands ...
2
votes
5answers
3k views

Tools to visualize file size distributions [duplicate]

Possible Duplicate: How to understand what's taking up space? Are there any tools in Linux for graphically visualizing the distribution of file sizes under a given path? I am looking ...
4
votes
4answers
4k views

Cannot create “Hello World” module (and NVIDIA, and VirtualBox)

First off, the details. BEFORE: kernel: 3.2.0-2-amd64, nvidia driver: 295.59 AFTER: kernel: 3.2.0-3-amd64, nvidia driver: 302.17-3 My Debian wheezy is kept recent at all times. Actually, doing ...
98
votes
6answers
170k views

How do I copy a folder keeping owners and permissions intact?

So I was going to back up my home folder by copying it to an external drive as follows: sudo cp -r /home/my_home /media/backup/my_home With the result that all folders on the external drives are ...
20
votes
7answers
13k views

How can I set my default shell to start up tmux

I would like my default bash shell to go straight into tmux instead of my always having to type tmux every time.
5
votes
2answers
513 views

Tool for todo notes and lists for linux which allows tagging

I am looking for a handy (offline) tool to manage todo-notes and lists on linux. As a necessary requirement it should be possible to assign tags and sort, filter and search for tags. It should support ...
0
votes
1answer
398 views

Gvim opening files in new tabs

I was wondering how I can modify the gvim.desktop file so that it opens files in new tabs. Also I want it to create a new instance of vim in case it is not supplied with any files(eg. Invoked from ...
5
votes
1answer
2k views

Umount all attached usb disks with a single command

Is there a (safe) way to umount all partitions on all attached usb devices (usb-hdds, usb-sticks) with a single commandline command, including several encrypted luks partitions? Only the partitions ...
3
votes
2answers
1k views

Besides the journal, what are the differences between ext2 and ext3?

I just saw an answer question about filesystems for embedded hardware on another Stack Exchange site. The question was "What file system format should I use on flash memory?" and the answer suggested ...
0
votes
1answer
719 views

How to compile kernel for KVM guest (without paravirtualization)?

So I have a KVM machine, where I run an Ubuntu 12.04 (server edition). I want to compile a minimalistic kernel for the KVM guest, but I only found the howto for hosts, and guests with ...
2
votes
1answer
2k views

connecting (bridging) two networks

I would like to connect (bridge) two networks (ppp0 and eth2). Normally you would do this with brctl but one of the network-interface is a ppp-device so it won't work (ppp can't transport ppp-frames). ...
1
vote
0answers
481 views

How to force Intel GMA 3150 use only fixed rectangle of the screen e

I have Atom N455 with Intel GMA 3150 and Debian 6 xfce x64. It's connected to 1680x1050 display by VGA cable. The problem is that the screen looks blurry (on Win also). I found that the maximum ...
0
votes
1answer
271 views

Xorg.conf, which modules should be loaded for better performance?

In general what is supposed to be in the Module section of the Xorg.conf file in order to get maximum performance from a graphic card? At the moment my Module section is empty... also because I ...
2
votes
0answers
1k views

Install Chrome Linux from PXE boot

I've got a PXE boot server from which I can boot a selection of LIVE CD's. Mostly different Ubuntu distributions. Setting it up for ubuntu was relatively easy. I have copied the caspar directory from ...
1
vote
3answers
218 views

CPU or RAM better in old machine?

I'm planning to use one of two old computers as a low-volume backup server. The machine will be online and files will be backed up over ssh/rsync. I will do a minimal install of Ubuntu or Debian ...
1
vote
1answer
87 views

Gnome saving dialogues keyboard shortcuts

For example when I try to save the destination of a link in firefox or save a copy of a pdf file in evince I get the following dialogue. I find it annoying that I have to do some clicks (for ...
1
vote
1answer
2k views

libpng warning: Incompatible libpng version in application and library

libpng warning: Application was compiled with png.h from libpng-1.2.39 libpng warning: Application is running with png.c from libpng-1.4.0 libpng warning: Incompatible libpng version in application ...
8
votes
2answers
2k views

Get colors in less command with ccze: Shift + g doesn't go to the end of file?

In all the tools to get colors with less command: -R, Pygments, GNU Source-highlight, vless, ... ccze make me sastified with below command: ccze -A < /path/to/log/file | less -R but Shift+g ...
0
votes
2answers
164 views

HDI script fixed (non-interactive) input in a command-line gui program?

I want to create a simple script that initiates a simple gui-based program (think ncurses-style, text-based graphics in a shell) in Debian. I only access the server through SSH, so I can't do ...
2
votes
2answers
929 views

Install Linux on PPC Mac: NO CD DRIVE

I am trying to install Linux on my Xserve G4, a NewWorld PPC Macintosh computer. The issue is: I have no CD drive, so all those helpful comments like "Just boot from Linux using a LiveCD" don't work ...
5
votes
1answer
3k views

Why rootfs is mounted multiple times?

Here you can see two devices are mounted as root: $ df Filesystem 1K-blocks Used Available Use% Mounted on rootfs ...
5
votes
9answers
1k views

Unix without a GUI for old machine

I have been given my father's old computer, which currently runs Windows 95 and has a 133-MHz processor, a Pentium(r) according to "My Computer". It seems a shame to recycle it when it works so well ...
0
votes
2answers
1k views

How do I get wget to download a cgi file behind robots.txt?

As an example - http://aok.heavengames.com/cgi-bin/aokcgi/display.cgi?action=t&fn=22. I found a way to get through the robots.txt restrictions, but even then, it just downloads a binary file ...
1
vote
1answer
262 views

How to prevent fs unmounting?

(Apologies in advance for giving so few details below, but trust me that the set-up and the problem I'm dealing with are truly baroque, and even a superficial description would result in a far ...
2
votes
1answer
591 views

Detect file-type with the help of magic-file and rename file-suffix accordingly

I have a folder (the iPhone Backup) with various files without a suffix. I want to run a batch process over these files, which detects each file's file-type (with the help of the magic-file database ...
81
votes
4answers
45k views

What do the flags in /proc/cpuinfo mean?

How can I tell whether my processor has a particular feature? (64-bit instruction set, hardware-assisted virtualization, cryptographic accelerators, etc.) I know that the file /proc/cpuinfo contains ...
4
votes
1answer
2k views

What does Linux's “nointremap” option do?

Ubuntu 12.10 alpha 2 works perfectly on my new 11" 2012 Macbook Air, but only when I boot with the "nointremap" option. Supposedly this is not good to use as a permanent solution. What exactly does ...
0
votes
1answer
737 views

Error compiling glib

I am trying to compile glib 2.24.2 under Debian 64bit GNU/Linux 6.0.4 (squeeze) using: gcc 4.0.3 glibc 2.3.6 Configure command: CPP="/home/swarkentin/externalBins/bin/cpp" \ ...
1
vote
1answer
6k views

Bash: kill background jobs

Is there a more compact form of killing background jobs than: for i in {1..5}; do kill %$i; done Also, {1..5} obviously has a hard-coded magic number in it, how can I make it "N" with N being the ...
8
votes
2answers
2k views

Is it possible to create and use menus in (terminal-based) vim?

I'm setting up virtualized Linux boxes (as local development servers) for developers at a company that is primarily Windows-based, and some of developers make negative cracks about vim (among other ...
1
vote
1answer
656 views

complicated mpd/ssh setup howto?

I've recently acquired a raspberry pi and plan to use it as a home-computer and web/file-server. The setup I have a pretty big (3TB) HD hooked up to it that has all my music on it. I also have a ...
9
votes
3answers
4k views

How can I print well formatted code

Similar to using markdown on Stack Overflow to create monospace output, how can I do that for my programs. I tried lp filename.txt and was pleasantly please to find that it was able to use the local ...
0
votes
2answers
497 views

Perl-Minimum & Maximum value [closed]

input file Xm_ABL1 Geneious extracted region 1 168 . + . Name=Extracted region from gi|371443098|gb|JH556762.1|;Extracted interval="3512970000000 -> 3514640000000" Xm_ABL1 Geneious ...
2
votes
0answers
379 views

FreeBSD 9.0 install NOT configuring ports

We have a new FreeBSD 9.0-RELEASE with a ports tree generated via portsnap and none of the ports perform make config. To some degree it is behaving as though BATCH=yes was set. However, that variable ...
6
votes
2answers
1k views

Optimize performance for encrypted disk

Recently I tried to copy 200GB to a 1TB external / USB2 / encrypted disk and it took 36 hours. The same copy when the disk was not encrypted took no longer than 1 hour. I am using dm-crypt (LUKS) ...
16
votes
1answer
20k views

Color schemes good for the eyes

Are there any common guidelines howto choose a color scheme (for example foreground/background color) for terminal, emacs etc. to minimize exhaustion of the eyes? If so, is there scientific evidence ...
1
vote
1answer
2k views

Debian hibernate problem PM: Swap header not found

I have Debian 6 2.6.32-5-amd64 on netbook. With pm-utils Sleep works but hibernate fails with error: PM: Swap header not found!. Swap was enabled using ubuntu tutorial after installation - this is ...
11
votes
2answers
1k views

Avoid very fast double clicks

I have a mouse with a weird problem. The left button sometimes fires a double click even if I click just one time. I would like to know if there's a way to avoid fast double clicks, ignoring clicks ...
4
votes
1answer
196 views

Why does find's -exec only executes on one result?

Here's what I checked: find mydir -maxdepth 2 -name .project -or -name .classpath gives output: mydir/.project mydir/.classpath Meanwhile find mydir -maxdepth 2 -name .project -or -name ...
3
votes
6answers
6k views

Difference between “echo $SHELL” and “which bash”

I am trying to determine the location of bash interpreter on my Solaris system and I am a bit confused. When I type: echo $SHELL The resulting path is: /bin/bash And when I type: which bash I ...
6
votes
2answers
6k views

How to properly run “top” command through SSH?

I have to run top command on one computer being on another. My targeted PC has IP 192.168.0.81 I was trying to do it: ssh 192.168.0.81 top But I got this result: top: tcgetattr() failed: Invalid ...
2
votes
5answers
1k views

Where are command line arguments (e.g. 'some.text') actually passed to?

From what I know, parameters you pass to a command, goes to it's STDIN stream. so this: cut -d. -f2 'some.text' should be perfectly identical to this: echo 'some.text' | cut -d. -f2 as we send ...
3
votes
2answers
178 views

Uniformity of Linux files

How is it that, if you are in a folder with various files --- pictures, binary executables, scripts, even directories, zip files, just about everything --- how it is that when you hit ls -l, you get ...
3
votes
2answers
4k views

File not found for file which is there [duplicate]

Possible Duplicate: “No such file or directory” lies on Optware installed binaries I am currently trying to get some piece of hardware to work on an embedded device. One part of ...
8
votes
3answers
7k views

vi/vim, how can I write out a number of lines to a new file

I have a bunch of lines that I want to write out to a different file. How can I do that?

15 30 50 per page