zomebodi Verified User Joined Sep 3, 2023 Messages 61 Dec 25, 2023 #1 I need a bash to get the list of domains from /etc/virtual/domains separated by : example: domain1.com:domain2.net:domain3.com Its for exim config, any help will by appreciated
I need a bash to get the list of domains from /etc/virtual/domains separated by : example: domain1.com:domain2.net:domain3.com Its for exim config, any help will by appreciated
L LBJ New member Joined Nov 16, 2023 Messages 1 Dec 25, 2023 #2 G'day zomebodi, Code: paste -sd ':' /etc/virtual/domains Best regards, LBJ Last edited: Dec 25, 2023