Skip to main content

Questions tagged [configuration]

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

297 votes
7 answers
463k views

What do options `ServerAliveInterval` and `ClientAliveInterval` in sshd_config do exactly?

I found this question, but I'm sorry I don't quite understand the settings on the two variables ServerAliveInterval and ClientAliveInterval mentioned in the accepted response. If my local server is ...
M. Tibbits's user avatar
  • 3,257
46 votes
3 answers
9k views

Why do some applications use ~/.config/appname for their config data while others use ~/.appname?

I've noticed that some applications put their configuration files to ~/.config/appname while others use ~/.appname (the classic way, AFAIK) for this. What's the sense in this distinction and what ...
Ivan's user avatar
  • 18k
97 votes
4 answers
192k 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 ...
Emanuel Berg's user avatar
  • 6,921
49 votes
1 answer
19k views

Understanding home configuration file locations: ~/, ~/.config/ and ~/.local/share/

There are a number of hidden configuration files in my home directory: some of them are in ~/ (e.g. ~/.cinnamon) some of them are in ~/.config/ (e.g. ~/.config/cinnamon-session) some of them are in ~...
Elliptical view's user avatar
26 votes
1 answer
37k views

How do I set a user's default .bashrc file?

On Ubuntu 10.4 I have edited the /etc/bash.bashrc file to set some variables like the command history size (HISTSIZE=5000), however if I create a new users Ubuntu by default gives them a .bashrc file ...
cwd's user avatar
  • 45.7k
132 votes
6 answers
200k views

How to properly and easily configure `xdg-open` without any environment?

I'm using OpenBox window manager without any desktop environment. xdg-open behaves strangely. It opens everything with firefox. $ xdg-settings --list Known properties: default-web-browser ...
kravemir's user avatar
  • 4,226
6 votes
1 answer
3k 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?
sam's user avatar
  • 1,017
4 votes
1 answer
7k views

Large zone file for bind9 : ad-blocking

I was successfully using a small (20,000 entries) zone file with bind9 server, but today my data provider sent an update which caused the zone file to become 300,000+ entries large (30Mb+). The ...
Kolyunya's user avatar
  • 577
4 votes
1 answer
9k views

Broadcom Wireless PCI Card BMC4360 14e4:43a0 cannot get drivers working

I have a problem similar to this: Unable to get Broadcom wireless drivers working on Arch Linux But in my case, loading the broadcom-wl-dkms driver did not work. I am new to this, so maybe the ...
T.m Chronos's user avatar
27 votes
5 answers
82k views

Dynamic variables in systemd service unit files

Is there a way to dynamically assign environment variables in a systemd service unit file? We have a machine that has 4 GPUs, and we want to spin up multiple instances of a certain service per GPU. E....
Kal's user avatar
  • 753
24 votes
15 answers
8k views

What customizations have you done on your shell profile to increase productivity?

I know some people have some startup scripts and some people personalise the prompt. One developer uses short aliases for the long path he often visits and the frequent commands he runs. What are all ...
21 votes
3 answers
109k views

Which version of NFS is my NFS server using?

I'm mounting a NFS filesystem on my machine. How do I figure out what version of the NFS protocol the server uses? I don't have access to the NFS server machine, but I do have root on my client ...
D.W.'s user avatar
  • 4,090
19 votes
2 answers
40k views

Change default port for PulseAudio (line out, not headphones)

When I boot, PulseAudio defaults to sending output to Headphones. I'd like it to default to sending output to Line Out. How do I do that? I can manually change where the output is current sent as ...
D.W.'s user avatar
  • 4,090
18 votes
4 answers
66k views

automount nfs: autofs timeout settings for unreliable servers - how to avoid hangup?

I'm running a small server for our flat share. It's mostly a file server with some additional services. The clients are Linux machines (mostly Ubuntu, but some others Distros too) and some Mac(-Book)s ...
Brutus's user avatar
  • 365
9 votes
3 answers
1k views

best way to set up separate linux environment in ~

I do most of my work (involves a lot of C/Python) on a development server that is shared with several other people. As a result we all seem to do a bit of the system administration chores (there is ...
user avatar

15 30 50 per page
1
2 3 4 5
9