12
votes
1answer
668 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
575 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
196 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
842 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
132 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
253 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
302 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
280 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
995 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 ...
21
votes
4answers
12k 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
8k 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 ...
2
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
265 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
900 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
410 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 ...
22
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
89 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
635 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
12k 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
667 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
879 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
363 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
401 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 ...
24
votes
4answers
53k 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
12k 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
234 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 ?
13
votes
5answers
14k 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
4k 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
721 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?
5
votes
1answer
421 views

Columns of Virtual Desktops in Openbox

I'm setting up Openbox in Arch and was trying to setup the virtual desktops like I usually like them, in one tall column. The default is to have them setup as a single row and the Openbox config ...
13
votes
4answers
8k views

How to define and load your own shell function in zsh

I am having a hard time defining and running my own shell functions in zsh. I followed the instructions on the official documentation and tried with easy example first, but I failed to get it work. ...
2
votes
2answers
3k views

Nano editor - display not updating with PuTTY

When I use PuTTY to connect to a specific Linux server via the SSH protocol, and I try to edit a file using the nano editor, the "enter" does not update the display. When I press enter to insert ...
20
votes
3answers
14k views

How to Determine the Amount of RAM Slots In Use?

I forgot how many RAM modules are installed on my laptop. I do not want to unscrew it but want to look it up on the console. How do I gather this information?
2
votes
2answers
1k views

splitting the array and send the values to hashset in awk

I am getting var as argument from shell script to awk awk -v var = "blah1|blah2|blah3" -f awk_script.awk I need to put each blah's into a hashset, currently, I am doing it like this. I am getting ...
4
votes
4answers
3k views

fstab not mounting a disk on boot

I'm running Arch Linux on a Macbook. I want to automatically mount my Macintosh partition when booting Arch, so I added the following to /etc/fstab: /dev/sda2 /media/Machintosh hfsplus defaults 1 2 ...
5
votes
3answers
3k views

Does GNOME 3 support desktop zoom?

GNOME 3 is not compatible with Compiz, so I cannot use the desktop zoom feature from Compiz. I googled for a long time, and it seems GNOME still does not support desktop zoom -- does it? I am using ...
1
vote
1answer
414 views

Load module from the boot menu

Is there a way to insert/load a module at the boot menu in Suse? I'm referring to the menu in the screenshot below (this isn't from my machine, just a similar screenshot I took from the web). I ...
0
votes
1answer
871 views

Why is this make file not working?

I have tried to simplify this makefile to the bare minimum, but cannot get it to use an executable to convert one type of file to another if the timestamps have changed. I'm sure there is a stupidly ...
4
votes
2answers
1k views

Buffer overrun on Fedora 16 serial

I got a brain smashing problem with Fedora 16 and my serial port. I use the serial to monitor an STB on which I'm developping. The STB runs on Linux and when booted, I launch the program I'm working ...
2
votes
1answer
523 views

Configure autocomplete for the first argument, leave the others alone

I have a utility that takes a load of different arguments. For now, I want to autocomplete the first argument, but leave all the others to fall through to normal autocompletion. How do I do that? ...
3
votes
2answers
242 views

SSH Bash Jail Session

I've seen some game tunneling service providers that jails the customer's account to a Information screen upon login and any input is ignored. Ctrl+C closes the SSH session, and disconnecting. This ...
4
votes
2answers
4k views

Can I redirect logfiles to syslog?

I have a Node.js server that is being monitored by forever. Forever generates three logfiles: the server STDOUT, STDERR and the log of forever itself. $ forever -l forever.log -o out.log -e err.log ...
3
votes
3answers
8k views

Run sudo as another non-root user and save in this user's home directory

I added a new group: ircuser and a new user: ircuser In visudo I placed this line: myuser localhost=(ircuser) NOPASSWD: /usr/bin/irssi Created ircuser directory, where config files, caches, etc ...

15 30 50 per page