Latest Posts
- Using the Find Command to Search for Large Files in Linux/Unix
- Finding Files by Date in Linux/Unix: A Comprehensive ‘find’ Command Guide
- Efficient File Search in Linux/Unix: A Guide to Using ‘find’ by Name
- How to Use the ‘find’ Command by File Type in Linux/Unix: A Practical Guide
- Best Practices for Sorting with the Top Command in Linux/Unix
Tags
awk awk -F awk examples background run script bash awk command grep linux curl disk space docker commands docker usage du file search find and grep find command find examples Google Analytics grep -v grep examples java java example linux awk linux command linux find linux grep linux ls ls -al ls examples ls sort ls sort by size mkdir mv examples mysql mysql example rm sed sed examples sed tutorial seo Shell tutorial top vim vim examples vim tutorial w wordpress
Tag Archives: show specific lines
How to display the first line and the last few lines of a file in Linux
In linux, print the first line and the last few lines of the file. Print the first line and the last 10 lines of the file.Print the first line of the file and the last 10 to 15 lines of the file Continue reading