About 268,000 results
Open links in new tab
  1. Best way to read a config file in bash - Ask Ubuntu

    Mar 8, 2016 · What is the best way to read a config file in bash? For example, you have a script and aren't willing to fill in all the config manually each time you call the script.

  2. Can't open config file: /usr/local/ssl/openssl.cnf on Windows

    The solution is running this command: set OPENSSL_CONF=C:\OpenSSL-Win32\bin\openssl.cfg or set OPENSSL_CONF=[path-to-OpenSSL-install-dir]\bin\openssl.cfg in the command …

  3. How to read a config file using python - Stack Overflow

    Step 1: Create a file called "config.txt" and paste the below two lines: [global] mykey = prod/v1/install/ Step 2: Go to the same directory and create a testit.py and paste the code …

  4. How do I edit a file after I shell to a Docker container?

    Jun 16, 2015 · You can open existing file with cat filename.extension and copy all the existing text on clipboard. Then delete old file with rm filename.extension or rename old file with mv old …

  5. How can I introduce a config file to Powershell scripts?

    Aug 27, 2015 · I suggest using a global PS configuration file and here is how: Create a Powershell configuration file ( E.g. Config.ps1 ), then put all configuration as global variable …

  6. boot - How can I edit a .conf file owned by root? - Ask Ubuntu

    sudoedit /path/to/file.conf This is logically equivalent to writing the same command the long way: sudo nano /path/to/file.conf The instructions for using nano text editor are always displayed at …

  7. Configure apache to listen on port other than 80 - Stack Overflow

    Oct 15, 2010 · 83 Open httpd.conf file in your text editor. Find this line: Listen 80 and change it Listen 8079 After change, save it and restart apache.

  8. text editor - How do I edit configuration files? - Ask Ubuntu

    Jul 24, 2019 · You could also use LibreOffice Writer but make sure you save your file as plain text and not in LibreOffice Writer's default Open Document Format. Mostly though, you needn't edit …

  9. Correct location of openssl.cnf file - Stack Overflow

    Aug 8, 2017 · I have an Ubuntu system and I have installed OpenSSL. Now I want to make changes to the config file. I searched my folders and found the following locations for the …

  10. How to configure PostgreSQL to accept all incoming connections

    Jul 1, 2023 · I've got a PostgreSQL data base that I'd like to configure to accept all incoming connections regardless of the source IP address. How can this be configured in the …