SOLVED How to view the config.php file

Status
Not open for further replies.

Andrew Byrd

Member
Feb 16, 2018
311
10
18
54
Can someone please tell me the command to view the contents (database password) in this file?

/etc/fusionpbx/config.php

I can ssh in with no problem. I just can't remember the command line to view the file
 
cat filename

or

grep -oP ".*db_password ?= ?'\K.*[^';]" /etc/fusionpbx/config.php
 
Status
Not open for further replies.