4
votes
1answer
543 views

Setting up a 3 monitor display?

I currently have a Radeon HD 5750 graphics card and an M3N78-PRO motherboard. I use both outputs of my graphics card for a 2 screen display. I use xrandr at boot to set up my two screens. However, I ...
0
votes
0answers
33 views

How to access the data stored in guest operating system(i.e Virtual machine) from Host system [duplicate]

Possible Duplicate: Share memory between a virtual machine and the host I wanted to access the data stored in virtual machine from my host machine. I know that each VirtualMachine will have ...
7
votes
1answer
821 views

Linux user's guide to windows? [closed]

I am a grad student who recently found out that I will have to switch to a Windows box for my research (despite my pleading). I know there are lots of guides out there for Windows users switching to ...
12
votes
6answers
15k views

tar + rsync + untar. Any speed benefit over just rsync?

I often find myself sending folders with 10K - 100K of files to a remote machine (within the same network on-campus). I was just wondering if there are reasons to believe that, tar + rsync + ...
2
votes
1answer
3k views

Terminal does not source .zshrc with custom colors for ls and cd command

I customized the directory and file colors for ls and cd + TAB. Here is my configuration. My configuration My system environment. Ubuntu 10.10 zsh 4.3.10 (x86_64-unknown-linux-gnu) oh-my-zsh // ...
2
votes
2answers
361 views

Simultaneously move long list files to new location

I'm using a wonderful program called ExifTool to recursively rename a large batch of files. Here is example usage: $ exiftool -r -ext JPG '-FileName<CreateDate' -d %Y%m%d_%H%M%S.jpg . Error: ...
0
votes
1answer
242 views

Where do I download Vine Linux for PowerPC? [closed]

Where do I download the latest version of Vine Linux for PowerPC? I cannot find the link for PowerPC download on their website.
7
votes
1answer
4k views

getrusage system call: what is “maximum resident set size”

man getrusage 2 says ru_maxrss (since Linux 2.6.32) This is the maximum resident set size used (in kilobytes). For RUSAGE_CHILDREN, this is the resident set size of the largest ...
2
votes
4answers
5k views

Hosts file modification not used

I added an entry to my hosts file for the development of a website. I put a new line in /etc/hosts xx.xx.xx.xx www.mysite.com But even after a reboot when I use chrome or firefox the host name is ...
3
votes
1answer
444 views

Does using epub2pdf pose a potential security risk? Is there an alternative?

epub2pdf is a fairly platform-independent program. Based on Java, it executes without a hitch on my machine, with no dependencies. However, strangely enough, the program requires an active internet ...
0
votes
0answers
345 views

network device module equivalent to ping

I have made a module which is transmitting but I don't know whether the packet which I am transmitting is a ping packet or not. Code is shown below: icmp.type = 8; icmp.code = 0; ...
199
votes
10answers
23k views

In Bash, when to alias, when to script, and when to write a function?

It's taken me almost 10 years of Linux usage to ask this question. It was all trial and error and random late-night internet surfing. But people shouldn't need 10 years for this. If I were just ...
10
votes
2answers
13k views

How do I set default brightness after boot?

Linux Mint 12 (64bit), on an Acer Aspire 7730g. Upon every boot, the screen brightness is set very very low. Easily fixed via the function keys, but still a very annoying thing to do after every boot. ...
2
votes
2answers
513 views

How to install drivers on Linux

How can I install a driver on any Linux? I have XG-762 Sagem adapter on USB with the ZyDAS 1211B chipset, and I don't have drivers for it. What should I do? PS: Despite it should be in my file ...
3
votes
2answers
2k views

Setting nice and ionice for rsync via xinetd

I am attempting to set nice and ionice for rsync via xinetd. I am running Fedora 16. The reason I would like to use these values is to reduce the rsync process to an idle state so other processes run ...
1
vote
1answer
2k views

Unable to use scp on Solaris

I'm trying to use scp from one Solaris machine to another, but I get this message and the copy fails: root@ark123 # scp -r emcgrab_SunOS_v4.4.4a.tar 192.163.119.21:/tmp Password: Sourcing ...
2
votes
2answers
1k views

How to install LibreOffice on Scientific Linux 6.1?

How can I install (from a repository?*) a fresh but still stable version of LibreOffice under Scientific Linux 6.1 64bit? * = this means I need updates too, so if there will be a newer stable version ...
3
votes
1answer
401 views

GRUB on MBR of Windows-only internal drive, with distros on external drive

I think what I want to do is long and convoluted; then again, it might be somewhat easy, and I'm just overthinking it. Here's the setup I want to achieve: The internal drive (sda) is one giant ...
0
votes
1answer
179 views

How do I get started with linux? [closed]

I am a programmer but have only used Windows as the development environment till now. I work on Java. I wanted to start developing on Linux and would like to know where to start. More specifically: ...
1
vote
1answer
146 views

# of reads/writes for LVM vs. “regular” partitioning?

I am going to be installing linux to a USB flash drive (an actual install, not a "live usb"). I need it to be completely portable, so I can't realistically have the high-access partitions (swap, var, ...
12
votes
3answers
14k views

How to escape quotes in shell?

I'm having trouble with escaping characters in bash. I'd like to escape single and double quotes while running a command under a different user. For the purposes of this question let's say I want to ...
3
votes
4answers
2k views

passing passwords to a script

I want to scp a file to a remote host, and from there, run a command on the file, and exit the remote session. If I write a usual script, call scp and then ssh, I am prompted to enter two passwords. ...
1
vote
0answers
519 views

format / rewrite old ide flash module

I have an old PC where the disk is a 32mb IDE flash module. BIOS boots the Flash, works good. But if I am in a Linux distro (tinycore/arch/puppy) the flash module is not recognized nor mountable. ...
0
votes
0answers
157 views

Network Interfaces Don't Exist After Loading Modules

I installed SourceMage Linux on my laptop and the ethernet and wireless interfaces don't exist after loading the required modules (tg3 and ath9k). On other distros (Xubuntu, aptosid) the networking ...
8
votes
2answers
4k views

GNOME 3 Ctrl+Alt+D (show desktop)

I recently upgraded my system to GNOME 3. In previous versions of GNOME, the key combination Ctrl+Alt+D would hide all open windows and show the Desktop. This shortcut was eliminated from GNOME 3 ...
8
votes
2answers
1k views

Is it possible to make seek() operations on a named pipe return successful?

Is there any way to make it so that when programs try to perform seek() operations on a named pipe it will come back successful (but act as if the pipe was an empty file) instead of 'Illegal seek'? I ...
0
votes
1answer
1k views

Shrink a Linux guest .vdi in VirtualBox?

I've seen instructions for shrinking the .vdi image for a Windows guest machine in VirtualBox 4.1.8. However, it used a tool to write zeroes to free space in the .vdi (nullfile-1.02.exe) that is for ...
26
votes
2answers
66k views

What user should apache and PHP be running as? What permissions should /var/www files have?

I just spun up an Ubuntu 11.10 box and then ran apt-get install apache2 php5 to install apache2 and PHP 5 on the box. Now it is functioning as a "web server" and it loads the "It Works!" page. Now I'm ...
3
votes
4answers
2k views

Share memory between a virtual machine and the host

Through shmget and shmat, I am able to access the data stored in one program from another program. Here's the gist of the code: key=ftok("shared.c",'c'); shmid=shmget(key,1024,0644|IPC_CREAT); ...
1
vote
1answer
113 views

setting up yum in stripped down linux

I have a box that contains minimal binaries needed to run Scientific Linux. What I want to do is to install additional programs. I could get rpm installed and tried to install yum but resolving those ...
2
votes
1answer
102 views

application to see the cpu architecture in a figure

I remember there was an application that showed, in the console, or in a simple picture, the memory architecture of the system: what caches were shared by which processors, etc. but I can't remember ...
5
votes
1answer
4k views

Dual booting Scientific Linux 6 and 64 bit Windows 7

For a school project we need to run Scientific Linux as well. So I tried installing it. I had Windows 7 running on on drive C (NTFS). Drives D and E(500 GB each; NTFS format) were empty. I ran the ...
2
votes
1answer
1k views

Dragging and resizing floating windows in xmonad without the modkey

In my .xmonad/xmonad.hs file, I have the following lines, which control howto drag and resize windows. How can I change this, such that I don't need any mod key? myMouseBindings (XConfig ...
9
votes
2answers
2k views

Launchpad equivalent for Debian

I am thinking of switching to Debian (Squeeze) from Ubuntu (10.10). But these questions have been bugging me: Is there a Launchpad equivalent repository for Debian? I am not able compile packages ...
0
votes
1answer
171 views

pendrive distro

Which distro should I install on my 8GB pendrive? I need it to have powerfull repos (everything, music editing is crushial) and should be lightweighting not losing on functionality. Any propositions? ...
2
votes
2answers
386 views

Fast distro which only allows a USB boot?

Older PCs BIOS don't have the ability to boot from USB and there is no upgrade from the motherboard manufacturer that makes that possible. Usually I load UNetbootin to make the USB bootable. Since ...
3
votes
1answer
145 views

De-obfuscate a picture with statistical information?

I need to get this kind of information into numbers, how? Perhaps related http://dsp.stackexchange.com/questions/1054/how-do-i-recover-the-signal-from-an-ecg-image ...
8
votes
2answers
6k views

How to list console and kernel fonts?

I have a number of console fonts installed in /lib/kbd/consolefonts/ installed. How do I list them (obviously all I can do, is just look at the filenames, but not at a list at available fonts). How ...
5
votes
6answers
318 views

How can I be sure that my server is not virtualised?

How can I make sure that my Linux server is running on a non-virtualised real box? This is the scenario I am thinking of: I install some distro on a rack-mounted server, I rent some rack space on ...
8
votes
2answers
4k views

Fast X for LXC guest on localhost?

How can I run X apps inside an LXC container efficiently? ssh -Y guest is too slow - there is no graphics acceleration with ssh -Y - everything has to travel over the virtual network with the ...
6
votes
2answers
371 views

Filesystems other than UDF and ISO9660 on CDs, DVDs, and Blu-ray

I know for a fact, that Live CD versions of distros like Arch Linux, Debian, Fedora, Gentoo Linux, Salix, Ubuntu and on embedded distributions such as the OpenWrt and DD-WRT router firmware use ...
1
vote
2answers
741 views

Software raid + separate partitions?

I have setup software RAID1-arrays using two 250GB harddrives. There's two arrays - one named md0 in which the system is kept and the other, md1 works as swap: # cat /proc/mdstat md0 : active raid1 ...
4
votes
2answers
3k views

Hardening debian?

So I have thought a bit about hardening a Debian squeeze file & VPN server lately. Right now, we've placed the machine behind a firewall only allowing SSH connections from LAN, set a strong root ...
8
votes
4answers
2k views

How does Bash path completion work with sudo?

Tab path completion does not work (at least on Ubuntu and AFAIK Arch) with sudo mount <whatever> The iso file I am trying to mount is not in /etc/fstab. If I just type mount <whatever> ...
-3
votes
4answers
496 views

Since Android has malware, does it mean no Unix is immune from malware?

Android has virus: Android.Counterclank, Android.Tonclank (seal info, back-door). Does it prove that FreeBSD, Solaris, Fedora, CentOS, ArchLinux, Ubuntu all is running and having similar ...
14
votes
3answers
14k views

Copy and paste a file/directory from command line

Instead of using the following command: cp {source file} {dest file} I want to be able to copy a file into the clipboard, and paste it somewhere else, in another directory. something like this: ...
3
votes
5answers
3k views

awk separate columns of 3

I have a file that looks like the following (the columns are separated by tabs and might contain spaces): 0637 apple 8528 1392 orange 1390 8528 unknown fruit 7537 1039 ...
1
vote
1answer
484 views

Arch Linux makepkg failed on compressing package

I just reinstalled Arch Linux 2010.05 on VPS, and sudo pacman -Syu But when I try to install anything from AUR, makepkg failed on ==> Tidying install... -> Purging unwanted files... ...
1
vote
1answer
118 views

Why FOSS 3d performs so badly, compared to proprietary. Trying to understand

I know this is not the best question, I'm just trying to understand what needs improvement. I just read a Phoronix article, which compared the FOSS radeon drivers a 5 years old FGLRX catalyst. As ...
3
votes
2answers
969 views

Trying to run oprofile on ubuntu kernel but cannot find vmlinux file

I am trying to run oprofile on my ubuntu host but cannot find the vmlinux file. The set up sfor oprofile needs this file: As given here : ...

15 30 50 per page