1
vote
0answers
2k views

GRUB2 and EFI - File not found?

I'm running Linux on a 8,3 2011 MacBook Pro. It uses EFI/rEFIt to boot. I was able to install GRUB2 EFI support, and it shows up just fine in the rEFIt boot menu. Everything seems to be working ...
8
votes
1answer
1k views

gvim -p limit of opened tabs?

When I run : gvim -p *.xyz I find that not all files are opened in tabs. It feels, like a kind of tab limit? But ! When I try to open unopened with : :tabnew it is opened next to previous ...
2
votes
0answers
971 views

Using Image Magick Convert to Change Channel Depth?

I want to change an image depth of bitmap for testing purposes. Right now I am trying to get a 2 bit palette image, and a 4444 Hicolor image. I have a true color bitmap. I used the below command ...
2
votes
1answer
2k views

Gtk2 Themes under Gentoo's Gnome 3

I have made it to get a nice gnome shell environment running under my new gentoo. It's all fine, except there are a whole bunch of programs built against gtk2 (Chromium, Pidgin, Thunderbird, Firefox), ...
1
vote
3answers
461 views

antispam techniques in postfix on linux

We have an issue of incoming spam on the server hosting several domains. Its running postfix on CentOS 5.x. Please suggest the techniques that can be enabled on the server to prevent incoming spam.
0
votes
3answers
233 views

help with script; if status is this do that if not do something else

I need to write a script that checks on the status of something. If the status "Copying" then exit (or retry in 60 minutes if we want to get fancy.) If all there is nothing returned (based on my ...
2
votes
1answer
432 views

How to do dosbox autoexecutable like dosemu on Opensuse

I was trying to migrate an DOS aplication on a dos emulator, I was pretty sure that dosemu was the answer ... but a couple of errors ocurred on the program. So I tryied dosbox. The thing is, under ...
2
votes
4answers
378 views

How to make Firefox 9 read stdin?

An earlier question got several nice answers involving stdin, none of which work in Firefox 9.0.1 (Edit: because I didn't read that you had to start a new Firefox process to make them work (thanks ...
1
vote
2answers
364 views

Match neither regex

I have a Bash script which installs a customised JBoss. The name of the JBoss instance is checked against a regular expression to make sure that the name is valid: if [[ ! $1 =~ $instanceNameRegex ...
1
vote
1answer
61 views

Highlight Files in X and get some function executed, how?

Suppose I want to execute pdftk input FilesHighlightedInX out specifiedByUserInX in the following way: User highlights files in X User clicks some button, shortcut, right-mouse-button-select, to ...
2
votes
1answer
487 views

How to create a book signature from text?

How can you transform a text file (plain text or HTML) or print-format file (PS or PDF) to bind it as a book using shell commands? That is, how do you create a print-format file which orders pages ...
6
votes
2answers
26k views

mount error “is not a block device”

I am trying to make olddir accessible from newdir with the mount command: mount olddir newdir Why do I get the following error? mount: olddir is not a block device
3
votes
1answer
308 views

Can I copy text from one file by shell?

Can I copy text to the clipboard from one file by shell? and I want to paste it to Browser later.
6
votes
2answers
942 views

How to develop a small linux distro?

Since Linux uses open-source packages, I was wondering if I could develop my own Linux distro by compiling these packages. I tried to read the Linux From Scratch book but it's quite big and uses lots ...
0
votes
1answer
2k views

Execute command for x seconds? [duplicate]

Possible Duplicate: Run a command for a specified time and then abort if time exceeds Is there a command which allows me to execute another command for at most x seconds? Imagined example: ...
1
vote
1answer
3k views

What's the difference between 'no caching page mode present' and 'assuming drive cache. write through.'

Post-POST, post-BIOS screen, post-GRUB; when I boot Debian with a SD card or USB stick plugged in, one of the first things to pop up on the screen (so quickly that usually I don't even notice) looks a ...
1
vote
2answers
4k views

Can't start mysqld

I've installed mysql through $ sudo apt-get install mysql-server-core-5.1 $ sudo apt-get install mysql-client-core-5.1 This is my current conf file And the service won't start, at first the ...
5
votes
3answers
9k views

Setting headers using the /bin/mail command

I have a bash script that I use with nagios that sends notifications by email. The key part of it looks like this: # $1 (FROM) | $2 (TO) | $3 (SUBJECT) | $4 (BODY) /usr/bin/printf "%b" "$4" | ...
8
votes
2answers
598 views

Any relatively new binary distro causes kernel panics

I'm having trouble using any relatively new binary distro on this machine. The last binary distro to work without issue was Ubuntu 8.04. I'm currently using Gentoo with the latest 3.2.1 kernel and ...
1
vote
2answers
382 views

Apache server doesn't start when mod_sm.so is loaded

I have an Apache 1.3 on a Sun machine (SunOS 5.10 Generic_138888-01 sun4u sparc SUNW,Sun-Fire-15000). If I keep the following two lines in httpd.conf, the server will not start: LoadModule sm_module ...
3
votes
1answer
1k views

git grep colors differ from grep custom colors

I've setup grep colors in my ~/.bashrc : export GREP_COLORS='ms=01;34:mc=01;34:sl=:cx=:fn=35:ln=32:bn=32:se=36' They work for grep --color=auto grep --color=always Unfortunately, those custom ...
5
votes
5answers
676 views

I messed up my zshrc on a remote server and now I can't run any commands!

On a remote machine I changed my zsh settings and it is now broken, for every keypress it says: "url-quote-magic:1: url-quote-magic: function definition file not found " I don't have another ...
3
votes
3answers
1k views

Trying to update php on CentOS 5.7

Apologies in advance - I'm not a good Linux user by any stretch of the imagination. I have a CentOS 5.7 dedicated server on which I host a few websites. I currently have php 5.2.10 installed, but ...
12
votes
4answers
2k views

Why do we need a firewall if no programs are running on your ports?

When I try to telnet to a port on a server, and if there is no program listening on that port telnet dies with a "Unable to connect ... " error. I understand that. But, why do we need a firewall if ...
11
votes
3answers
4k views

Why does Linux heat up my computer?

I have been using Linux on my Acer 5740 for a couple of years now. Lately, I noticed that my computer starts heating up and steadies at around 70 degrees. If I fire up Eclipse or ffmpeg or something, ...
3
votes
7answers
19k views

Black screen at boot with Mint and Ubuntu live CDs

I just bought an HP pavillion g6 laptop, with the hope of installing Linux on it. I have now tried both Linux Mint (my first choice) and Ubuntu, and both simply give me a black screen from the moment ...
9
votes
1answer
7k views

What's the {} in find /path/ -exec command '{}' do?

I'm curious as to what the {} in the following command is actually for? Example Command: find /foo/ -name "*.txt" -exec rm -v {} \; The Man page provided a small blurb but it confused me a little ...
2
votes
2answers
1k views

Per Socket network Buffer queues utilization

Is there a way to get a per-socket send and receive Queues utilization on Solaris similar to the way that Linux' netstat displays it? Example on Linux: Proto Recv-Q Send-Q Local Address ...
3
votes
1answer
1k views

How do I add a local user to a box that uses LDAP authenticaiton?

I'm working with a box that uses LDAP for user authentication. However, I need to add a local user to run some services and I don't want non-person users junking up the LDAP directory. Does anyone ...
3
votes
2answers
1k views

How to check and block processes connecting to internet directly?

Is there a way to find which processes in my system are getting connected to net automatically. Is there a way to select and block net access of some processes permanently? I use mint 11. I use a USB ...
3
votes
1answer
988 views

24 hour crash course in ZFS… some final questions

Due to various circumstances I've given myself a crash course on the ZFS file sytem. I need some help getting comfortable with the unknowns. Whatever those are. Data: Running www.zfsonlinux.org on ...
1
vote
2answers
535 views

Autodetect modem in Linux?

Is there a way to autodetect modem devices in Linux and then symlink them to /dev/modem using a udev rule? Currently, I wrote a program that probes each serial port, sending AT and waiting for OK. I ...
4
votes
3answers
10k views

vsftpd does not list content of a directory

I have set up a FTP server using vsftpd and enabled anonymous upload and download. The problem I have is that when I upload a directory it will be uploaded successfully (I can see it in server), but ...
2
votes
1answer
716 views

Software installation with GUI package installer using sudo permission

I have the sudo permission, and I can install any software using the CLI. But I want to know that whether sudo works with package installers in GUI mode. For example I have a .chm file and I want to ...
7
votes
3answers
670 views

Is it possible to execute scripts in BIND based on lookup

Is it possible, to set up BIND as DNS server on my local network, and make execute scripts when it gets a lookup? I would like to execute a Python or Bash script, based on the incoming DNS lookup, ...
3
votes
1answer
2k views

With Synaptics “clickpad,” AreaBottomEdge prevents right-clicking

I have a new Sony Vaio Z with what I believe they're calling a "Clickpad". That is, it's a touchpad with a single physical button beneath, and the detected location of the click is used, in software, ...
8
votes
5answers
2k views

Is there an equivalent to Arch Linux's NETCFG for Debian?

I have installed Debian Squeeze (minimal -- no DE) and I would like to connect to my network (via wireless) via command line. I have used Arch Linux before and I really liked the simplicity of netcfg ...
5
votes
1answer
4k views

mv file without write permission to the source file

I just realised that I can move a file that I do not own and don't have write permissions on. I have write permissions to the directory, so I am guessing that is why I could move it, but in this ...
2
votes
1answer
805 views

Is there a config file for telnet that's similar to .ssh/config?

I constantly need to type some hostnames / IPs to telnet, and sadly they don't support ssh. Is there a config file for telnet similar to ssh? I don't have admin access to change the /etc/hosts file. ...
2
votes
2answers
3k views

Undefined reference to symbol 'acs_map' when running makeconfig

I get a linker error when I try to configure the Linux kernel with menuconfig: # make menuconfig HOSTLD scripts/kconfig/mconf /usr/local/bin/ld: scripts/kconfig/lxdialog/checklist.o: undefined ...
1
vote
2answers
196 views

Having xwin start by default on system boot

My system boots into a console, from which I can launch my gnome desktop by issuing the command startx. How can X be instructed to start by default upon boot? The commands /etc/init.d/gdm3 start and ...
3
votes
1answer
2k views

What's the difference between a screen being attached and detached?

[blah]$ screen -ls There are screens on: 16517.pts-0.blah (01/28/2012 01:55:32 PM) (Detached) 4345.pts-1.blah (01/27/2012 11:22:48 AM) (Attached) 2 Sockets in ...
0
votes
2answers
741 views

Vi for Cygwin syntax

How can I make vi in Cygwin highlight the syntax when I open a file by default? I know that I can type in the command "syntax on" but I would prefer to not do this all the time.
3
votes
1answer
878 views

How to setup port redirection after a ssh connection has been opened?

I'm using openssh on both client and server. I know I can run ssh -L or ssh -R to setup some port redirections over ssh. However, since they are command-line parameters, such redirections must be ...
2
votes
2answers
659 views

xargs grep suggestion

grep -v "\<Swap" instruments.log | awk '{ idx=index($0, "MasterId="); masterId=substr($0, idx+length("MasterId=")+1); masterId=substr(masterId,1,index(masterId,"L")-3); print masterId; }' | xargs ...
6
votes
3answers
5k views

What is the formula to determine how much memory a socket consumes under Linux?

I'm doing some capacity planning and I was wondering if there is a formula that I could use to predict (from a memory standpoint) how many TCP connections I could handle on my server. At the moment, ...
0
votes
2answers
5k views

vncserver refuses to start

I have a Fedora 15 server that has been running just fine for months until I suffered a power outage. After the recovery, all services came back up just fine except vncserver. When I try to start the ...
2
votes
1answer
1k views

Limit window size when maximizing in Xfce

I have a window that is marked 'always on top'. I want to be able to maximize another window and it have not hide behind the always on top window. Is this possible?
36
votes
3answers
9k views

What is the difference between /tmp and /var/tmp?

On most FHS systems, there is a /tmp folder as well as a /var/tmp folder. What is the functional difference between the two?
2
votes
1answer
2k views

Disable Hardware acceleration on Gnome 3 or fix VNC

I've just upgraded my openSUSE to 12.1, which ships with gnome3. Previously, I had gnome2 running with vino-server as a vnc server that starts upon login. With gnome3 this works too, but the vnc ...

15 30 50 per page