Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

diff between tail and head command

tail -f file # Opens file at the end
head file  # Outputs file start
# Ctrl + "C" to exit
tail -n 10 file # Outputs in terminal last 10 file lines
head -n 10 file # Outputs in terminal first 10 file lines
tail -n +10 file # Outputs file content since 10th line
Comment

PREVIOUS NEXT
Code Example
Shell :: bash find files containing string 
Shell :: kill process running on port 80 
Shell :: remove mac ._ files windows 
Shell :: how to make a function in bash 
Shell :: shell scripting 
Shell :: pyinstaller Failed to execute script pyi_rth__tkinter 
Shell :: changed files git 
Shell :: yum update 
Shell :: git how to learn 
Shell :: move a file from one directory to another in linux 
Shell :: how install mongodb on raspberry 
Shell :: shopify cli 
Shell :: pnpm upgrade 
Shell :: github create directory 
Shell :: how to compare a character to uppercase in bash script 
Shell :: install postman arch linux 
Shell :: install unifi controller raspberry pi 
Shell :: terminals for ubuntu 20.04 
Shell :: linux history select command 
Shell :: evans cycles womens gravel bikes 
Shell :: Failed to download pear within preferred state "stable" 
Shell :: bokura no kiseki wikipedia 
Php :: tinker color disabled 
Php :: laravel version check 
Php :: php 0 padding left 
Php :: php filter validate email 
Php :: Unable to resolve NULL driver for [MaatwebsiteExcelTransactionsTransactionManager]. 
Php :: laravel catch exception ex log save 
Php :: laravel asset storage not working 
Php :: ubuntu php uninstall 
ADD CONTENT
Topic
Content
Source link
Name
2+9 =