Browse Source

shorten executable

pull/3428/head
Daniel Gibbs 4 years ago
parent
commit
f182b967a4
  1. 3
      lgsm/functions/info_messages.sh

3
lgsm/functions/info_messages.sh

@ -667,7 +667,8 @@ fn_info_message_ports(){
echo -e "${startparameterslocation}"
echo -e ""
echo -e "${lightblue}Useful port diagnostic command:${default}"
echo -e "ss -tupl | grep ${executable//.\/}"
executableshort="$(echo "${executable//.\/}" | cut -c -15)"
echo -e "ss -tupl | grep ${executableshort}"
echo -e ""
}

Loading…
Cancel
Save