AI232 Version 9.6x User’s Guide
AI232 Commands: head
8-58
head
Description

This command displays the first few lines of a file.

Command Type
shell
Formats

head [ -n

lines

]

file_name

...

Parameters
Examples

This example displays the first 30 lines of file core.txt.

[ -n

lines

] Defines the number of lines to display. The default is 20.

file_name

Defines the name of the file to display.

Note: Several filenames can be entered with this command.

[232] head -n 30 core.txt
Crash Code= 00000025
PC= 000e72d8 SP= 01ca2140 IMMR= ff000031 MSR= 00000002
GPR00= 00000025 GPR01= 00000001 GPR02= 0025c980
GPR03= 002295c4 GPR04= 00000025 GPR05= 002295e8
GPR06= 00000064 GPR07= 00000005 GPR08= 0effffff
GPR09= 002c0000 GPR10= 002c0000 GPR11= 0027a7d4
GPR12= 01ca20b8 GPR13= 01bf5738 GPR14= 01ca2128
GPR15= 00000001 GPR16= 0a000069 GPR17= 01ca2188
GPR18= 0000000a GPR19= 00000055 GPR20= 00000063
GPR21= 01bf5738 GPR22= 01ca2110 GPR23= 0001cc08
GPR24= 00000001 GPR25= 00000001 GPR26= 01ca2110
GPR27= 00000055 GPR28= 00000069 GPR29= 00000002
GPR30= 01ca2198 GPR31= 00000005
CR= 22000000 SSR0= 000e72d8 SSR1= 00009002
LR= 000f4894 XER= 0000b020 CTR= 00000000
PVR= 00500000 PSOS1= 000346fc PSOS2= 01ca20a8 PSOS3= 0001cbb0
Stack dump: Caller
01ca2140: 01ca 2180 000f 3c8c 7573 6167 653a 2025 000f3c8c
01ca2150: 7320 3c70 6173 7377 6f72 643e 0a00 0c00
01ca2160: 01ca 2180 000f 3c8c 0000 0001 0000 0000
01ca2170: 0000 0000 01f4 5274 0000 0007 0027 ab6c
01ca2180: 01ca 21f0 000e d294 01f4 5274 0000 0200 000ed294
01ca2190: 0000 0055 0000 000b 01d3 533c 01d3 5342
01ca21a0: 0000 01fc 0000 0004 0000 0001 0005 0374
[232]