Created
February 6, 2012 16:13
-
-
Save spara/1752984 to your computer and use it in GitHub Desktop.
examine file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # Look at the first 2 lines of a file | |
| # | |
| $ head -n 2 campus_dropout.csv | |
| "CAMP_SPEN","CAMP_SPER","CAMP_SPED","CAMP_OVRN","CAMP_OVRR","CAMP_OVRD","CAMP_MIGN","CAMP_MIGR","CAMP_MIGD","CAMP_LEPN","CAMP_LEPR","CAMP_LEPD","CAMP_IMMN","CAMP_IMMR","CAMP_IMMD","CAMP_GFTN","CAMP_GFTR","CAMP_GFTD","CAMP_ECNN","CAMP_ECNR","CAMP_ECND","CAMP_CTEN","CAMP_CTER","CAMP_CTED","CAMP_TTLN","CAMP_TTLR","CAMP_TTLD","CAMP_BEN","CAMP_BER","CAMP_BED","CAMP_ATRN","CAMP_ATRR","CAMP_ATRD","CAMP_MUN","CAMP_MUR","CAMP_MUD","CAMP_PIN","CAMP_PIR","CAMP_PID","CAMP_WHN","CAMP_WHR","CAMP_WHD","CAMP_NAN","CAMP_NAR","CAMP_NAD","CAMP_HSN","CAMP_HSR","CAMP_HSD","CAMP_ASN","CAMP_ASR","CAMP_ASD","CAMP_AAN","CAMP_AAR","CAMP_AAD","CAMP_FEMN","CAMP_FEMR","CAMP_FEMD","CAMP_MALN","CAMP_MALR","CAMP_MALD","CAMP_ALLN","CAMP_ALLR","CAMP_ALLD","DISTRICT","Gradespan","campus","cntyname","regnname","campname","distname","COUNTY","REGION" | |
| "0","0.0","28","-","3.7","<100",".",".",".",".",".",".",".",".",".","0","0.0","24","-","1.5","<100","0","0.0","45","-","1.4","<300",".",".",".","-","4.4","<100","0","0.0","10",".",".",".","-","1.8","<200",".",".",".","0","0.0","9","0","0.0","1","0","0.0","29","-","2.3","<100","-","0.8","<200","-","1.4","<300","001902","712","001902001","Anderson County","Kilgore","Cayuga H S","Cayuga ISD","001","07" | |
| # | |
| # look at the last line of the file | |
| # | |
| $ tail -n 1 campus_dropout.csv | |
| "0","0.0","31","-","12.5","<100","0","0.0","39","0","0.0","12",".",".",".","0","0.0","20","-","1.3","<200","-","1.1","<100","-","1.5","<300","0","0.0","11","-","1.5","<200","0","0.0","1",".",".",".","0","0.0","12",".",".",".","-","2.1","<200",".",".",".",".",".",".","-","2.9","<200","-","1.0","<200","-","1.9","<300","254902","912","254902001","Zavala County","San Antonio","La Pryor H S","La Pryor ISD","254","20" | |
| # | |
| # look at a specific line number | |
| # | |
| $ head -n 234 campus_dropout.csv | tail -n 1 | |
| "0","0.0","23","0","0.0","56","0","0.0","1",".",".",".",".",".",".","0","0.0","19","0","0.0","62",".",".",".","0","0.0","208",".",".",".","0","0.0","67","0","0.0","4",".",".",".","0","0.0","157","0","0.0","5","0","0.0","36","0","0.0","2","0","0.0","4","0","0.0","90","0","0.0","118","0","0.0","208","014901","712","014901041","Bell County","Waco","Academy J H","Academy ISD","014","12" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment