From owner-freebsd-questions@freebsd.org Fri Feb 2 14:46:26 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 85351EDCDE8 for ; Fri, 2 Feb 2018 14:46:26 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (mail.dpedia.de [178.254.4.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1D3186E1B3 for ; Fri, 2 Feb 2018 14:46:25 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [88.217.125.30] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1ehcbe-00022M-Jw for freebsd-questions@freebsd.org; Fri, 02 Feb 2018 15:46:22 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id w12EkLax003077 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 2 Feb 2018 15:46:21 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id w12EkKMf003076 for freebsd-questions@freebsd.org; Fri, 2 Feb 2018 15:46:20 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Fri, 2 Feb 2018 15:46:20 +0100 From: Matthias Apitz To: freebsd-questions@freebsd.org Subject: Re: cat to standard out acts like tail Message-ID: <20180202144620.GA3050@c720-r314251> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , freebsd-questions@freebsd.org References: <42dc63c396f2550226e56325c9474ddc.squirrel@webmail.harte-lyne.ca> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ew6BAiZeqk4r7MaW" Content-Disposition: inline In-Reply-To: <42dc63c396f2550226e56325c9474ddc.squirrel@webmail.harte-lyne.ca> X-Operating-System: FreeBSD 12.0-CURRENT r314251 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. User-Agent: Mutt/1.8.0 (2017-02-23) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 88.217.125.30 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2018 14:46:26 -0000 --ew6BAiZeqk4r7MaW Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable El d=C3=ADa viernes, febrero 02, 2018 a las 09:24:35a. m. -0500, James B. B= yrne via freebsd-questions escribi=C3=B3: > FreeBSD-11p6 >=20 > # ll /bin/cat > -r-xr-xr-x 1 root wheel 13288 Nov 13 10:00 /bin/cat >=20 > [root@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 >=20 > 12 > 13 # Cloned i/f and assigned ipv4 addr for jails > 14 cloned_interfaces=3D"lo1 lo2 lo3" # For shared jail configurati= on > 15 ipv4_addrs_lo1=3D"127.0.100.1/32" # idempaire / theheart > 16 ipv4_addrs_lo2=3D"127.0.109.1/32" # redmine - wiki / pas =2E.. > 45 > 46 syslogd_flags=3D"-b 127.0.0.1 -b 192.168.216.19 -b 216.185.71.19" >=20 > What happened to the first 11 lines? Please check with 'od -c ...' the content of the file or do # cat -n /etc/rc.conf > /tmp/x # vi /tmp/x matthias --=20 Matthias Apitz, =E2=9C=89 guru@unixarea.de, =E2=8C=82 http://www.unixarea.d= e/ =F0=9F=93=B1 +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub --ew6BAiZeqk4r7MaW Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXmn7rBYYViyzy/vBR8z35Hb+nREFAlp0ebkACgkQR8z35Hb+ nRHpORAAiRCSxW6Zujthnd7ZMQaKYeXv1eYR/ynwsYfYFTJq+rBdFZJFEn7i+vEN UYriy7gdxjWCEDPlhzSkLUTI7IwrIols2lYxswy9Pum0E3XhRZ3ynEwKyvmQhV99 UjYb0bV3rzPlGM16d7Kv28JDVBREDFtppoOqcT0P/Ad02GqfpBk998NCUPhLIreH BCULoQYqpzNxZGAfUHkx+kVpsJTGIEdrQH4ruySgDlKSlcZEQd2OsQ3Mn4id3N0J qSmobVcoVt7hW5lZB2ogY9Kre+DFOqy1CiezEx6pCUxBuUhxlk6/L9rIsjZIYGve c2BkZrAzuuknz4NnzWj0uKam5AqBWYBR4dpMo4d920h1GThDBmOYn1f3LkxZoMd+ xTM+PYkclpX9Rk5PIgG6V8CFJiz1m7MqXV3NVKxRoMFJ/S8GYItLRYRfL5AutXKf 7bf1Tj7zfo74ET/WVdXfJUiAOiLLMRbyosmBpW5mX+xOCWRokd9F6adhnnupkTps 6Yg+Ws+oLcZe7wnPJNW965efMGnJKT01boAGkdJ4f8Llc+HtBOuF7xgUbuYvUdrO /lbCxxOsD4RsXYHPK3wFdVG6JWdtr4ZcKkn/pO2O2qEElBqshsoXc2DkM3Y0ZTtL HN1ma5hIqm2GH7S/lfnzMUjHDAWvyRYIVSWVMfCP/GtN6aRdNQI= =B+50 -----END PGP SIGNATURE----- --ew6BAiZeqk4r7MaW--