The action of modifying a program's behavior, generally by modifying a text file.

learn more… | top users | synonyms (1)

-1
votes
1answer
66 views

Config File Sequence for ZSH?

I know there is an elaborate sequence of config files that BASH reads sequentially (or alternatively skips if a particular one is present), however I have for the most part adopted ZSH as my default ...
4
votes
1answer
192 views

Disable the configuration tool in Zsh

When there is no .zshrc file in a user's home directory and zsh is started, an interactive configuration utility is run instead of directly giving access to the shell prompt. I set up zsh to be the ...
2
votes
2answers
531 views

Finding out the values of kernel options related to sysctl.conf and sysctl.d

On my Ubuntu machine, in /etc/sysctl.conf file, I've got reverse path filtering options commented out by default like this: #net.ipv4.conf.default.rp_filter=1 #net.ipv4.conf.all.rp_filter=1 but in ...
2
votes
3answers
774 views

Substitute placeholders in template

Say I have a shell configuration file config like this: HOST=localhost PORT=8080 Now I have a template template like this: The host is <%= @HOST %> The port is <%= @PORT %> How do I ...
2
votes
2answers
92 views

Can I change the shell used to run GUI applications from a Desktop Manager?

A bit of background I'm a developer and I install most of my tools in my home folder. So my shell's rc file is full of JAVA_HOME, GROOVY_HOME, MAVEN_HOME, ... variables. To expose all these ...
3
votes
1answer
197 views

Transferring XFCE customization from one system to another?

I configured XFCE on my desktop at home and wanted to setup my work system with the same configurations (figured it'd just be copying a few files) or even a script? In the past I used to just mark the ...
0
votes
4answers
331 views

securing SSH and disabling direct root

In these instructions below what appears on my terminal is different so not sure what I should change. After port 22 mine says #AddressFamily any and further down for protocol it has longer line ...
4
votes
2answers
228 views

manage unix user settings across multiple machines

I have many different linux machines with similar "profiles". I want to keep my settings in sync. e.g vimrc, zshrc,. I have the problem that they are various distributions of Linux with various setups ...
1
vote
1answer
162 views

tomcat: symbolic link in a loop

linux-trra:/usr/local> $CATALINA_HOME bash: /home/anisha/openGTS17Nov/apache-tomcat-7.0.32/: is a directory linux-trra:/usr/local # ln -s $CATALINA_HOME tomcat linux-trra:/usr/local # file tomcat ...
1
vote
1answer
739 views

How do I SSH into my Samba file server?

So I made a dedicated Samba file server on my Debian(3.2) machine. I have had great success accessing it from both Windows and Unix. I can SSH into it on the local network. When I try to SSH into it ...
9
votes
2answers
4k views

How do I cycle through panes inside a window in tmux like in screen?

I thought Tmux - move window to pane was the same question but it doesn't seem to be. Coming from using GNU screen regularly, I'm looking for tmux to do the same things. On of the things I do ...
1
vote
1answer
154 views

map “Ñ” to “:” in vim

I want map the key Ñ (Shift+ñ) to : in the normal mode of vim. I've searched vim configs with Ntilde but I've found nothing. Any idea?.
11
votes
2answers
1k views

How to separate Awesome's `rc.lua` configuration into multiple files?

I've just moved to Awesome WM from OpenBox. I like that it's very extensible, customizable and I have huge control about window layout. I like structured and organized things and I'd like to separate ...
2
votes
1answer
296 views

Configuring Wireless Network

After a long struggle I finally seem to have installed the non-free wireless firmware for my wireless NIC. I'm trying to set up a file server, so I want to configure the network to be static. Would ...
2
votes
2answers
4k views

Where could I find the ifcfg-eth0 file?

I am using RHEL6, but I could not find the Ethernet interface configuration file ifcfg-eth0 under /etc/sysconfig/network-scripts. Issuing ifconfig -a shows that eth0 does exist. Could it be that the ...
4
votes
1answer
11k views

Setup static IP in redhat 6

I installed Redhat 6 x86_64. I am using the Network connection screen to set a static IP address like below (I want two PC's in my house to see each other: one Redhat PC and one Mac) 192.168.0.5 ...
5
votes
2answers
1k views

Is it possible to include file in config file of zsh? How?

I'd like to have a file eg. f with only zsh aliases (pureness reasons). Then I'd like to include f file in my .zshrc file, so that the aliases defined in f are visible in .zshrc. Is it possible? If ...
3
votes
2answers
688 views

Close ssh session that has ControlPersist and is kept alive in the background

I have ControlPersist 4h in my .ssh/config and it works perfectly, Every now and then I need to connect to this server that requires some special authentication, and if I don't use that account for ...
1
vote
4answers
5k views

Purpose and typical usage of /etc/rc.local

The header looks like this: #!/bin/sh -e # # rc.local - executed at the end of each multiuser runlevel # # Make sure that the script will "exit 0" on success or any other # value on error. What is ...
3
votes
2answers
111 views

Getting emacs to convert latex on the fly?

What's really nice about posting in the math stackexchange, and other forums, is that you can view the latex symbols right below as you're typing your post. Is there a way to do this in emacs? That ...
-2
votes
3answers
781 views

Differences between Windows registry and UNIX/Linux approach [closed]

What are the main differences between the Windows registry and the approach used in UNIX/Linux, and what are the advantages and disadvantages of each approach?
6
votes
2answers
1k views

Auto-run script when Wifi card is plugged in (udev)

I've been trying to use udev to make a Debian system run a bash script when a wireless card is connected. So far I created this file /etc/udev/rules.d/wifi-detect.rules: ACTION=="add", ...
2
votes
1answer
710 views

Arch modules not loading on start?

I keep getting errors on startup in Arch relating to my rc.conf: failed to load module "wl" failed to load module "lib80211" etc. It lists all the modules in my /etc/rc.conf This is my full ...
1
vote
0answers
165 views

apache2 gui / Comanche Replacement

I opened an OLD redhat book to the section about Apache configuration and it talked about the Comanche GUI. I thought "That's great! Why hasn't anyone suggested that before?" Then I found out that ...
0
votes
1answer
673 views

Ubuntu 10.04 LAMP Virtual Host seems to ignore active sites

I was going to delete this question, but I couldn't because it has been answered. I am abandoning this question because I am going to replace my desktop install with a server install. We'll see if ...
1
vote
0answers
183 views

Is collectd able to send data tagged as a host other than itself?

I log various stats both generic and custom from a lot of different servers using collectd to a single host running a network listener. The setup is pretty simple. All the systems run an instance of ...
5
votes
2answers
6k views

How to make changes in nvidia-settings tool persistent

I want to disable VSync (it's called "Sync to VBlank" in nvidia-settings) for my nvidia graphics card. But the configuration only takes effect if I start the nvidia-settings tool. After rebooting ...
0
votes
1answer
997 views

Install another PHP version. Fedora 17

How can I install another PHP version? I have php 5.4.5 for now, but I need the version 5.3.15 running too. How can I perform this on Fedora 17? Without using a Virtual Machine?
3
votes
3answers
246 views

How to make and apply (patch) one side diff?

I want to make a shell script that updates a config file. The file present on the server has information, like various IP addresses. The new file has more code, from new configs added to the system, ...
4
votes
2answers
304 views

Archbang look on Archlinux

I installed archlinux but I want to get the look and feel of Archbang. Is there a way to find the config files or scripts for Archbang? http://bbs.archbang.org/viewtopic.php?id=2501 gives a list of ...
3
votes
1answer
233 views

vi setting for new window

I'm using terminator (terminal emulator). Whenever I open it, the initial workspace comes with the setting I defined in the config file. But whenever I split the workspace, the new workspace comes ...
4
votes
1answer
346 views

What's the conf file reading between login and non-login shell?

I found that those are .bash_profile, .bashrc, .bash_login, .profile. What's the reading sequence between them?
0
votes
1answer
473 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
0answers
305 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 ...
0
votes
1answer
2k views

Postfix Configuration - different servers for subdomains and domain

I have a following setup: 1 postfix server: a.example.com that needs to accept all emails for any subdomain on example.com (*@*.example.com) and delivers to mailman account and also send emails to any ...
2
votes
0answers
85 views

How to deal with closed source modules when configuring a new kernel build

I found this command very useful: make localmodconfig However, having some closed source drivers/modules ends up being a problem because this command can't find an appropriate way of including the ...
2
votes
0answers
419 views

Configuring default resolution and color depth for RealVNC's vncserver-x11-serviced?

When searching the web for information about how to configure the default resolution and color depth for RealVNC sessions, I always come across stuff that talks about passing commandline parameters to ...
4
votes
2answers
11k views

Debian Squeeze as a router

I'm trying to setup Debian Squeeze (ala Dreamplug) as a router. I can't seem to get the pieces to fit together. ETH0: Upstream/internet - DHCP-Client ETH1: Downstream/Lan - 192.168.0.1 DHCP-Server ...
1
vote
2answers
83 views

Linux VPS Configuration

I just recently got my hands on a linux (Fedora) VPS and I would like to ask if there are special configurations that I have to be wary of. Do I still configure it like I would configure a normal ...
2
votes
4answers
7k views

How to start changing linux source code to make custom OS?

I am doing Under Graduation in CS Major, have medium level knowledge in C, C++, and Java and also learned some operating system concepts (as they are in my course syllabus). I have heard that we can ...
5
votes
1answer
3k views

How do I convert a kernel .config file from 32-bit to 64-bit?

At this page you can download a configuration file that lets you target a particular notebook architecture during the compilation of a new 32-bit Linux kernel. I need a 64 bit version. What do I ...
1
vote
1answer
1k views

Screen resolution problems on Thinkpad E520

I'm having some troubles with screen resolution. First of all, I'm using a Lenovo Thinkpad E520, with BackTrack 5 R2 installed. My natural resolution is 1366x768, but I'm stuck with 1024x768. This ...
1
vote
0answers
469 views

Having a problem installing snort on fedora 17 [closed]

I've installed the latest versions of libpcap and libdnet. There is however a problem with daq. I configured snort with --wth-daq-libraries=/usr/local/lib/daq and --with-libpcap-libraries=/usr/lib ...
0
votes
0answers
1k views

Mail Server not working?

I am trying to setup mail server since a long time but as I am new to Linux I have unsuccessfully configured it to the best as I could but now I need assistance. I have installed it using the links ...
1
vote
1answer
224 views

Edit the .config file when en/disabling a particular option like CONFIG_CPU_FREQ?

From here: http://www.xenomai.org/index.php/FAQs#Which_kernel_settings_should_be_avoided.3F Which kernel settings should be avoided? Note that Xenomai will warn you about known invalid ...
3
votes
0answers
109 views

Configure Emacs to use Chrome as the web browser of choice?

Using Emacs on a Linux system I click: Scala>Browser Scala API which produces a terminal window with this message: /usr/bin/xterm: Can't execvp lynx: No such file or directory How do I inform ...
1
vote
1answer
536 views

Creating a proFTPd user

I'm setting up a proFTPd server so I can upload files to my webserver, but I've never tried this before. I've installed proftpd, added a user with a home folder: /home/FTP-shared and added /bin/false ...
2
votes
1answer
45 views

Set EDT emulation by default for Emacs

Using the Emacs editor I can set it to enable OpenVMS EDT editor keypad mode with this command: M-x edt-emulation-on How can I set it so that whenever I invoke Emacs, EDT emulation is the default ...
4
votes
1answer
251 views

configuration ethics (esthetics): /etc vs $HOME

Ok this may not be a very concrete question, and is perhaps subject to taste, yet I'm struggling to get this right so here it goes. I have a computer. This computer has linux on it (thank god). Arch ...
3
votes
1answer
354 views

Reversing the direction of a trackball

For some reason, I want to use a trackball Logitech (aka Logicool) Marble Mouse (aka Trackman Marble) upside down. Is there a way to reverse the left and right rolling and up and bottom rolling ...