About 83,600 results
Open links in new tab
  1. Use config file for my shell script - Unix & Linux Stack Exchange

    Dec 24, 2014 · Here is a clean and portable version which is compatible with Bash 3 and up, on both Mac and Linux. It specifies all defaults in a separate file, to avoid the need for a huge, …

  2. networkmanager - Where does Network Manager store settings?

    Feb 18, 2019 · When NetworkManager is integrated into a particular distribution, the distribution maintainer may also include a patch or use compile-time options to set NetworkManager's …

  3. How do I find the config files for any application

    May 4, 2021 · Here's a universal method for Linux. Install strace and do this: sudo strace -e file -fF -o /tmp/application.log application You can then examine /tmp/application.log and see all the …

  4. How can I set customise settings for htop? - Unix & Linux Stack …

    In either case, the same config file format can be used, and in both cases, it's recommended you change any settings via htop 's own setup instead of directly editing the config file, as it's …

  5. Specifying an IdentityFile with SSH - Unix & Linux Stack Exchange

    For example, if you add this to your ~/.ssh/config file: Host hostname User username IdentityFile ~/.ssh/mykey IdentitiesOnly yes # see comment in answer below You can then simply ssh …

  6. How to force ssh client to use only password auth?

    From the ssh man page: -F configfile Specifies an alternative per-user configuration file. If a configuration file is given on the command line, the system-wide configuration file …

  7. How to setup DNS manually on Linux? - Unix & Linux Stack …

    Jan 14, 2019 · In Linux /etc/resolv.conf get often overwritten when we setup the DNS, because of the multitude of programs managing the DNS servers. How to properly setup the DNS ?

  8. Variable username in SSH config - Unix & Linux Stack Exchange

    Mar 21, 2023 · Create a ~/.ssh/environment file on the client ENV_VARIABLE=VALUE Set PermitUserEnvironment to yes on the server in sshd_config file If you are trying to use user …

  9. Where do I put my systemd unit file? - Unix & Linux Stack Exchange

    I read that there are two folders for unit files (not in user mode). /usr/lib/systemd/system/: units provided by installed packages /etc/systemd/system/: units installed by the system administrator

  10. Tmux doesn't read `~/.config/tmux/tmux.conf` by default, so where?

    Dec 31, 2021 · 0 By default, tmux loads the system configuration file from /etc/tmux.conf, if present, then looks for a user configuration file at ~/.tmux.conf. More information can be found …