Difference between revisions of "Command:Head"

From Lavish Software Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
 
== Syntax ==
 
== Syntax ==
 +
Head <file>
 
{{CMD-DR|Head|Intermediate|Intermediate|Intermediate|Beginner}}
 
{{CMD-DR|Head|Intermediate|Intermediate|Intermediate|Beginner}}
  
 
== Description ==
 
== Description ==
 +
Displays the first 10 lines of <file> to the console
  
 
== Examples ==
 
== Examples ==
 
+
Head Scripts/myscript.log
 
== See Also ==
 
== See Also ==
 +
*[[Command:Tail|Tail]]
 +
*[[Command:Cat|Cat]]
 
*[[LavishScript:Commands|Commands]]
 
*[[LavishScript:Commands|Commands]]
  

Latest revision as of 11:53, 26 October 2006

Syntax

Head <file>

Command Difficulty Rating
Head
Usage Intermediate
Level of Understanding Intermediate
Computer Savvy Intermediate
Logic Beginner

Description

Displays the first 10 lines of <file> to the console

Examples

Head Scripts/myscript.log

See Also