Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

tail vs head

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 with word 
Shell :: linux change default gateway 
Shell :: i dont have pip, hoow to install pandas 
Shell :: git find commit by message 
Shell :: fslmaths threshold 
Shell :: postgre create user 
Shell :: All changed files github 
Shell :: generate rs256 key pair 
Shell :: how to create ssh key for github 
Shell :: burp suite kali linux 
Shell :: how to install google chrome in ubuntu 32-bit 
Shell :: grep or match 
Shell :: command to change user username 
Shell :: read -p linux 
Shell :: linux record camera 
Shell :: install npm packages on shared hosting 
Shell :: log cpu usage of process linux 
Shell :: how to install chrome browser on linux mint using terminal 
Shell :: pip install pytorchvideo_trainer 
Shell :: heroku pg:pull ----exclude-table-dat 
Shell :: runtime=$(date +\%Y\%m\%d\%H\%M\%S) 
Shell :: debian install tcpflow 
Php :: tinker color auto | tinker lost color cli | tinker not colorful 
Php :: check laravel version 
Php :: user-agent cURL php 
Php :: php recursively delete directory 
Php :: get featured image url 
Php :: blade number format by comma 
Php :: laravel symlink command 
Php :: php reading a file line by line 
ADD CONTENT
Topic
Content
Source link
Name
9+7 =