From owner-freebsd-questions Sun Oct 14 19:18:31 2001 Delivered-To: freebsd-questions@freebsd.org Received: from sasami.jurai.net (sasami.jurai.net [64.0.106.45]) by hub.freebsd.org (Postfix) with ESMTP id DB0CB37B406 for ; Sun, 14 Oct 2001 19:18:28 -0700 (PDT) Received: from localhost (scanner@localhost) by sasami.jurai.net (8.9.3/8.8.7) with ESMTP id WAA47761; Sun, 14 Oct 2001 22:18:20 -0400 (EDT) Date: Sun, 14 Oct 2001 22:18:19 -0400 (EDT) From: To: Scott Gerhardt Cc: FreeBSD Subject: Re: "nl" command In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 14 Oct 2001, Scott Gerhardt wrote: > I'm new to FreeBSD but not new to Linux/UNIX so bear with me. > I tried using "nl" to number lines in standard out put and I got this: > > 102 scott@blue: /home/scott > ls -al | ln > usage: ln [-fhinsv] file1 file2 > ln [-fhinsv] file ... directory > link file1 file2 You typed ln not nl. ln is for making symbolic links. > My question is: what is the "nl" command under FreeBSD used for? I guess > "cat -n" would give the results I'm looking for but what happend to nl > (number lines)? I dont know what "nl" is but I believe you want "wc" which is part of the POSIX.2 standard. Man wc. ============================================================================= -Chris Watson (816) 464-7780 | Sr. Unix Administrator Work: chris.watson@twa.com | Trans World Airlines, Kansas City, MO Home: scanner@jurai.net | http://www.twa.com ============================================================================= WINDOWS: All our IP belongs to us. GNU/LINUX: Touch our IP, and your IP belongs to us. BSD: Here's our IP, just use it. ============================================================================= irc.openprojects.net #FreeBSD -Join the revolution! ICQ: 20016186 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message