Subscribe
Tutorial search

Count the Number of Lines in a File in UNIX - Linux tutorial


There is no official way to get the number of lines in a file with Unix, but here is a script that can achieve the desired effect.
Category: Linux tutorials - Difficulty:


More cool Linux tutorials:



Kerberos policy management for AIX v. 5.3
Kerberos policy management for AIX v. 5.3
Use IBM Network Authentication Service (IBM NAS) for AIX to learn about the Kerberos policy management for passwords, and get acquainted with anything and everything about IBM NAS policy. Also examine complete commands, examples, and scenarios to assist you in using the kerberos password policy to its fullest.
Difficulty:
Tour the Linux generic SCSI driver
Tour the Linux generic SCSI driver
Linux provides a generic driver for SCSI devices and an application programming interface so users can build applications to send SCSI commands directly to SCSI devices. In this article, the author introduces some of the SCSI commands and methods of executing SCSI commands when using SCSI API in Linux. He also provides background on the SCSI client/server model and the storage SCSI command.
Difficulty:
Moving Files In Linux
Moving Files In Linux
Getting files from one machine to another is a snap, right? Just fire up the old FTP client and upload and download away. Linux has a number of command-line FTP applications, some very good, and some not. Dee-Ann LeBlanc walks readers though the basics of some of the better tools available, and warns which tools might pose problems for you.
Difficulty:
awk - oneliners for use with IBM Infoprint Manager
awk - oneliners for use with IBM Infoprint Manager
awk - oneliners for use with IBM Infoprint Manager
Difficulty:
mktcpip - how to configure a tcpip interface in IBM AIX
mktcpip - how to configure a tcpip interface in IBM AIX
mktcpip - how to configure a tcpip interface in IBM AIX
Difficulty: