Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

shell remove first lines of file

# Example usage (3 options):
tail -n +43 input_file	 # Print from the 43rd line on
sed 1,42d input_file	 # Print from the 43rd line on
sed -i 1,42d input_file	 # Remove the first 42 lines in place (meaning 
	# that the file is changed without having to print the output to a 
    # new file)
Comment

PREVIOUS NEXT
Code Example
Shell :: how to open text editor in git bash 
Shell :: copy contents of folder to another folder in terminal 
Shell :: powershell check if software is installed 
Shell :: git cherry pick 
Shell :: redwood start prisma studio 
Shell :: install mariadb 10.2 ubuntu 16.04 
Shell :: server 2012r2 powershell unable to download from URI 
Shell :: creating copy of a branch 
Shell :: colorlog python 
Shell :: gitignore io 
Shell :: push local branch to remote 
Shell :: git merge a file from another branch to current branch 
Shell :: zsh command not found nvm mac 
Shell :: hugo build 
Shell :: soundcloud for ubuntu install command 
Shell :: netbeans linux install 
Shell :: electron app from vue 
Shell :: while loop shell script 
Shell :: ubuntu docker host ip 
Shell :: ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory 
Shell :: pip install graphics 
Shell :: how to install linux headers on arch 
Shell :: copy all files from a folder to another ubuntu 
Shell :: ping: socket: Operation not permitted 
Shell :: git remove folder from cache 
Shell :: center table markdown github 
Shell :: remove folder and all subfolders in ubuntu 
Shell :: bash red text 
Shell :: clean local branches git 
Shell :: git clone command 
ADD CONTENT
Topic
Content
Source link
Name
9+8 =