LinuxCourse/Lesson4/MiddleOfFile.sh
From flossk
Jump to:
navigation
,
search
\#!/bin/bash
echo the file is $1
head -$((`wc -l $1 | cut -d\ -f1`/2)) $1 | tail -1
Views
Article
Discussion
View source
History
Personal tools
38.107.191.111
Talk for this IP
Log in / create account
Navigation
Main Page
Community portal
Current events
Recent changes
Random page
Help
Donations
Search
Toolbox
What links here
Related changes
Special pages
Printable version
Permanent link