cat to standard out acts like tail

James B. Byrne byrnejb at harte-lyne.ca
Fri Feb 2 14:24:41 UTC 2018


FreeBSD-11p6

# ll /bin/cat
-r-xr-xr-x  1 root  wheel  13288 Nov 13 10:00 /bin/cat

[root at inet19 ~]# ll /bin/cat
-r-xr-xr-x  1 root  wheel  13288 Nov 13 10:00 /bin/cat
# wc /etc/rc.conf
      46     226    2093 /etc/rc.conf
# cat /etc/rc.conf | wc
      46     226    2093
# cat -n /etc/rc.conf

    12
    13  # Cloned i/f and assigned ipv4 addr for jails
    14  cloned_interfaces="lo1 lo2 lo3"   # For shared jail configuration
    15  ipv4_addrs_lo1="127.0.100.1/32"   # idempaire / theheart
    16  ipv4_addrs_lo2="127.0.109.1/32"   # redmine - wiki / pas
    17  ipv4_addrs_lo3="127.0.107.1/32"   # redmine - wiki / pas
    18
    19  ### Firewall
    20  # This is a bhyve vm and the firewall is handled on the host
system
    21  pf_enable="No "                   # Enable PF firewall on startup
    22  pflog_enable="YES"                # Enable logging
    23  pflog_logfile="/var/log/pflog"    # where pflogd should store
the logfile
    24  pflog_flags=""                    # additional flags for
pflogd startup
    25
    26  ### Services
    27  local_unbound_enable="YES"        # Enable caching only DNS
    28  ntpd_enable="YES"                 # Enable local network time
server
    29  postfix_enable="YES"              # Enable Postfix SMTP MTA
    30  sendmail_enable="NONE"            # Disable Sendmail SMTP MTA
    31  sshd_enable="YES"                 # Enable ssh access
    32
    33  ### Jailed Services
    34  #jail_enable="YES"                # Set to NO to disable
starting of any jails
    35  ezjail_enable="YES"               # Use EZJail to manage
    36  #jail_list="hllidempiere \
    37  #           hll107 \
    38  #           hllredmine" # Space separated list of names of jails
    39
    40  ### File system
    41  clear_tmp_enable="YES"            # Clear /tmp on boot
    42  #dumpdev="NO"                     # Disable crash dumps
    43  dumpdev="AUTO"                    # Enable crash dumps
    44  zfs_enable="YES"                  # Enable zeta file-system
    45
    46  syslogd_flags="-b 127.0.0.1 -b 192.168.216.19 -b 216.185.71.19"

What happened to the first 11 lines?

-- 
***          e-Mail is NOT a SECURE channel          ***
        Do NOT transmit sensitive data via e-Mail
 Do NOT open attachments nor follow links sent by e-Mail

James B. Byrne                mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3



More information about the freebsd-questions mailing list