Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Feb 2018 15:46:20 +0100
From:      Matthias Apitz <guru@unixarea.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: cat to standard out acts like tail
Message-ID:  <20180202144620.GA3050@c720-r314251>
In-Reply-To: <42dc63c396f2550226e56325c9474ddc.squirrel@webmail.harte-lyne.ca>
References:  <42dc63c396f2550226e56325c9474ddc.squirrel@webmail.harte-lyne.ca>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180202144620.GA3050>