(imported topic written by SystemAdmin)
I have a file on AIX /etc/rc.tcpip that has the following lines:
- Start up Network Time Protocol (NTP) daemon
start /usr/sbin/xntpd “$src_running” -x
or
- Start up Network Time Protocol (NTP) daemon
start /usr/sbin/xntpd “$src_running”
I need to check if the -x is missing from the end of the line:
start /usr/sbin/xntpd “$src_running”
Here is what I tried, but I think the embedded " " around the $src_running" is messing this up
Q: exists lines of file “/etc/rc.tcpip” whose ( it contains “start /usr/sbin/xntpd “$src_running” -x”)
E: This expression contained a character which is not allowed.