Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

head and tail command in linux

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 :: openssl command 
Shell :: windows how to run sh script 
Shell :: create theme visual studio code 
Shell :: git show hidden commits 
Shell :: kubernetes clusterip 
Shell :: powershell update help 
Shell :: all changed files git 
Shell :: ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied 
Shell :: Before installing tensorflow and Keras, install some of the libraries that are needed. 
Shell :: create local git branch from remote 
Shell :: move one foile/folder to another ubuntu 
Shell :: chown ubuntu 
Shell :: remove folders from remote git 
Shell :: install kubectl on ubuntu 20 
Shell :: customize ubuntu terminal in windows 
Shell :: kali nethunter-termux no root 
Shell :: command to delete a directory in linux 
Shell :: github oisintgram 
Shell :: cp -r copy linux directory or file 
Shell :: add platform toolchain to linux 
Shell :: remove MiniDLNA 
Shell :: if dos premere un tasto 
Php :: tinker lost color 
Php :: laravel version command 
Php :: get child theme path in wordpress 
Php :: downgrade php 7.4 to 7.3 mac 
Php :: php turn off warnings and notices 
Php :: only date in php 
Php :: laravel 6 link storage with public 
Php :: php read file line by line 
ADD CONTENT
Topic
Content
Source link
Name
2+7 =