3
votes
2answers
98 views

In Gnome, how do I decide whether to accept a PackageKit software source?

When I try to install software in the Gnome environment of Linux (mine is openSUSE) from a repository that I have not used before, PackageKit asks me to respond "Yes" or "Cancel" to a dialog "Software ...
2
votes
1answer
709 views

Preventing ChromeOS from blanking the screen when working on a different tty

I am running Archlinux in a chroot alongside Chrome OS on a chromebook. The original project is there, my fork of it is here (mostly similar). The issue is that the display power management of Chrome ...
4
votes
1answer
3k views

How to print from remote over SSH to local LAN printer?

OK, so it is fairly straight forward to to run apps from a remote server on my local X screen as though they were local apps. The question is, when trying to print, the remote app only sees printers ...
0
votes
5answers
2k views

add command to /etc/init.d/rc.local file that's missing

Want to add the command sudo mount -t vboxsf H_DRIVE /media/windows7share to /etc/init.d/rc.local file, to run the command every time when system starts up but I don't have such a file (rc.local) ...
9
votes
2answers
45k views

gcc can't link to pthread?

I have recently installed XUbuntu 11.10 64bit, but I am having problem compiling the most simple pthread example. Here is the code pthread_simple.c: #include <stdio.h> #include ...
3
votes
2answers
2k views

Change directory with -d in shell script

I am trying to give the option to the users to run the script in a different directory. However when the script changes the directory, the mkdir does not work. I change the directory like this: case ...
25
votes
1answer
21k views

Getting information about a process' memory usage from /proc/pid/smaps

For a given process in /proc/<pid>/smaps, for a given mapping entry what are: Shared_Clean Shared_Dirty Private_Clean Private_Dirty Is Shared_Clean + Shared_Dirty the amount of memory that ...
1
vote
2answers
471 views

Copying files based on a condition

Here's the problem I'm attempting to solve: Let's say I have a directory "A", containing some files as well as some other directories. I want to copy all the files directly under directory A to ...
5
votes
1answer
805 views

How can the job of SDFlasher.exe given with FriendlyARM utility be accomplished on Linux?

I am playing with FriendlyARM Tiny 6410. The instructions on setting up an SD card for booting self compiled versions of linux kernel involve the use of SDFlasher.exe. People have tried to find an ...
3
votes
2answers
19k views

Debian dhcpd “No subnet declaration for eth0”

I am trying to set up a pxe boot server on a Debian 6.0.3 Squeeze machine that gives images of PLoP Linux. I was following a tutorial from ...
3
votes
1answer
107 views

HDD Testing En Masse

Does anyone have any ideas about how to set up automatic detection and conditional formatting of a LOT of HDDs? I tried posting this on TomsHardwareForums, but I don't think the responder read my ...
2
votes
1answer
3k views

Trying to install gearman on CentOS, and ./configure cannot find event.h even though libevent is installed

I'm trying to compile and install gearman onto a CentOS 6 box, and am getting an error when I compile from its source code. It requires the boost libraries, and was failing on that at first, but I ...
2
votes
2answers
485 views

Is it possible to define where the .bash_profile is located on the bash command line?

I'm running bash programmatically from objective c to create a terminal-like application. Once launched I would like to execute some commands prior to turning control over to the user. Normally these ...
0
votes
0answers
44 views

-d shell script doesn't work [duplicate]

Possible Duplicate: Change directory with -d in shell script I am trying to give the option to the users to run the script in a different directory. However when the script changes the ...
12
votes
1answer
703 views

Dynamically update completion list in zsh

I find zsh's result lists for Tab completion quite useful, however I'd like to tweak their behaviour a bit: They should appear when I Tab for the first time and afterwards dynamically update with ...
0
votes
2answers
594 views

ls outputs multiple columns even if piped to grep with grml's zsh config

I just decided to give zsh a go against Bash and came across some unhandy behaviour about which I couldn't find anything on the net: If you do a ls | grep foo in Bash, the ls only contains one file ...
2
votes
3answers
201 views

is it possible to lock a user into a give directory tree in bash?

I want to lock a user into a given directory tree. That is he/she can cd deeper into the tree but no higher out of the tree. Everything else in the environment should be the exact same. Edit: How can ...
1
vote
1answer
865 views

How do I attach my LVM RAID's to a new Ubuntu install?

I have an Ubuntu 9 Desktop system that I mainly use as a media server. I have a 2TB RAID5 and a 500GB RAID1, both using LVM. The OS drive is a 4GB CompactFlash card which has finally run out of space. ...
3
votes
2answers
2k views

What does this output from xev mean?

I'm interested in remapping some keys on my keyboard. In particular, I want to hold down the Function key, press the F1 key, and have this trigger a script. I know that xev is useful for figuring out ...
2
votes
1answer
2k views

firefox launch failed: X11 connection rejected because of wrong authentication

I logged into a Linux server (RHEL) from an linux desktop. There is not any error message at login, but I failed to launch firefox and see the following error emessage: [myname@myserver ~]$ firefox ...
2
votes
1answer
136 views

Preventing LyX from getting a SIGHUP and closing when the terminal window is closed

I have written a Ruby script to manage my LyX documents. The script has a short CLI interaction with the user(=me), and then it decides the name of the file to open, and opens it via a lyx shell ...
-2
votes
4answers
262 views

Steps to secure your server? [duplicate]

Possible Duplicate: What to use to harden Linux box? Apparmor, SELinux, grsecurity, SMACK, chroot? I'm just completed install my web server. So what should i do to secure it? I just ...
2
votes
2answers
324 views

Is there any “non live” distribution of Linux that can be run from a USB drive, AND allow access to files from Windows?

I tried installing a "pen drive" version of Ubuntu from PenDriveLinux.com, but since it was a modified version of Live Ubuntu (i.e. that usually runs from a CD), it had some kind of custom ...
1
vote
0answers
300 views

Chromium does not honer Fontconfig fallbacks? Can I set it for that? Or manually specify?

Chromium is not honoring font matching, set by Fontconfig. If webpage CSS specifies fantasy, Chromium chooses Impact. Fontconfig Configuration for fantasy, $ fc-match fantasy ...
6
votes
1answer
1k views

Jailbreaking HDTV

I have a Vizio internet TV, the predecessor to this one with basically the same specs, not 3D though. I wanted to try and gain root access to the tv. Using nmap I leaned that the only port open is ...
22
votes
5answers
14k views

Can't use exclamation mark (!) in bash?

I'm trying to use the curl command to access a http url with a exclamation mark (!) in its path. e.g: curl -v "http://example.org/!287s87asdjh2/somepath/someresource" the console replies with bash: ...
2
votes
4answers
2k views

How to Suppress messages generated by an application being sent to my terminal window? [duplicate]

When I launch an application from terminal related to the window system, for example gnome or kde, then usually these applications send all sorts of junk messages in my terminal. How do I make these ...
23
votes
3answers
9k views

How to enable autocompletion for remote paths when using scp?

I remote copied a file to my laptop using: scp someFile USER@192.168.178.32:/home/USER/put/it/some/where/oh/damn/you/here I want to be able to autocomplete the remote path by hitting tab.
1
vote
2answers
1k views

To pass a parameter with sed

For my script I have to read the data from a file. For example I have 2 files: one is a text file, the second is a csv file with 10 columns. What I am trying to do is to read the csv and change the ...
3
votes
1answer
4k views

small Linux host for virtual box

Does anybody know a small and simple Linux distribution that contains not much more than the "VirtualBox" program? I'd like to set up a machine that actually needs some kind of graphical display plus ...
3
votes
2answers
5k views

How to make an ext4 file writable on mounting by a user (not root)

I have been trying to write onto a newly created partition My partition block is /dev/sda6 I am unable to write anything onto that partition. My Corresponding fstab file is this ...
1
vote
1answer
276 views

Toggle border with key combination in xmonad

How can I define a key combination which toggles between my default borderwidth (for example 2) and disabled borders (borderwidth=0) in xmonad. Compare this related question: Change the red border ...
1
vote
1answer
977 views

Install newer version of application in $HOME without root access and linking to installed app

I am new to installing application from source and just learning the best practices to do so. I have this linux box without root access with a quite old emacs, so I downloaded the latest version and ...
2
votes
1answer
434 views

Bluetooth pairing hangs up the system in debian

Whenever I try to pair bluetooth in debian using bluetooth-agent command, the system hangs up and I am unable to do anything with it. When I ask for access from my remote laptop it gives the message ...
23
votes
3answers
2k views

Bash: repeat last N commands [duplicate]

In bash you can repeat the last command by entering !!, or the third last command !-3 for example. Is there a quick way to repeat the last 3 commands, without having to type out !-1; !-2; !-3 ...
1
vote
0answers
90 views

What is the meaning of /etc (as acronym) [duplicate]

Possible Duplicate: What does etc stand for? What does it mean? All I can think is etcetera. By my teacher told me that there is a more appropriate meaning.
3
votes
1answer
3k views

How to install windows 7 after fedora 16 [closed]

I have Fedora 16, but I want to play games, and I´m considering installing Windows 7. I need to be able to dual boot these two OS. Is there something special I´m supposed to do, or it will work like ...
1
vote
3answers
692 views

How to move files into newly created directory on condition in shell/perl

It was a mess of music files and directory. It is needed to perform the below operation over multiple directories at once: If the directory contains ".jpg" files, then create a new directory ...
6
votes
6answers
13k views

make grep output without trailing newline

Please consider this snippet: X=$(grep -m1 'some-pattern' some-file | sed -n 's/.* //p') I want to put last word in a variable if some pattern condition is matched for lines in arbitrary text file ...
2
votes
1answer
715 views

403 forbidden issue - .htaccess

I am getting 'Forbidden' 403 problem with my website. Earlier today it worked. The only thing I did was try to access other folders (eg bin). I checked permissions, and it all seems to be looking ...
6
votes
2answers
977 views

Can I make Tmux tell Vim when its pane loses focus?

I use Vim and Bash side-by-side in Tmux. I have Vim configured to autosave files as I switch between them, but I'd really like it to autosave when I switch to the Bash pane. Is there a way to get ...
0
votes
0answers
376 views

Remove duplicated Java packages

I'm on linux mint 12 I have installed Java, following the NetBeans instructions. It wasn't working on chrome, so I installed it like that: sudo echo 'deb http://www.duinsoft.nl/pkg debs all' ...
3
votes
1answer
450 views

How can one force a re-scan of an SDIO bus from Linux user space?

On an embedded Linux platform, I have a network adapter attached to an SDIO interface. There is no Card Detect signal on this particular bus. If for instance, I turn the network adapter power on or ...
25
votes
4answers
61k views

Recovering ext4 superblocks

Recently, my external hard drive enclosure failed (the hard drive itself powers up in another enclosure). However, as a result, it appears its EXT4 file system is corrupt. The drive has a single ...
1
vote
2answers
14k views

how can I rename multiple files by removing a character or string?

As a follow-up to my previous question, if I have multiple files of the form sw.ras.001 sw.ras.002 sw.ras.003 … What command can I use to remove the ras. in the middle of all the files?
2
votes
2answers
243 views

IPv6 NDP timer problem

Need to change Fedora Linux's IPv6 stack for NDP DAD timer changes. How to locate the Fedora's IPv6 and IPv4 stack in Fedora distribution dvd/site so that, we can recompile and generate new stack ?
14
votes
5answers
18k views

how to avoid ssh asking permission?

We are attempting to speed up the installation of oracle nodes for RAC installation. this requires that we get ssh installed and configured so that it doesn't prompt for a password. The problem is: ...
8
votes
1answer
5k views

Running Debian i386 binary on Debian armel via qemu

I am trying to follow this guide to set up a Ventrilo server on my SheevaPlug, running Debian armel. This page states that I can use QEMU to run the binary that was made for i386 on my arm system. ...
16
votes
2answers
743 views

Linux kernel for Nintendo Wii

I'm trying to compile a Linux kernel for the Nintendo Wii newer than the version 2.6.32 with mike p5 patches, which I have been using since now without problems. Since version 2.6.33 Wii support is ...
3
votes
3answers
1k views

how can I rename multiple files by inserting a character?

I have many files of the form sw001 sw002 sw003 ... I want to insert a period between the sw's and the number values. How can I accomplish this?

15 30 50 per page