Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

extract every nth line using sed linux fedora

$ sed -n '1p;0~3p' input.txt
Line 1
Line 3
Line 6
Comment

PREVIOUS NEXT
Code Example
Shell :: Minercraft set night command 
Shell :: Please ensure that the SDK and/or project is installed in a location that has read/write permissions for the current user 
Shell :: ffmpeg extract frames resize 
Shell :: how to checkout to another branch in git 
Shell :: how to set two wallpaper in ubuntu 
Shell :: install react redux 
Shell :: install mongoes 
Shell :: convert audio to mp3 with ffmpeg 
Shell :: remove all local changes git 
Shell :: surge installation 
Shell :: creating bucket in aws cli 
Shell :: install wmctrl in mac 
Shell :: how to compare files in terminal 
Shell :: Could not find or parse valid build output file. 
Shell :: wget to particular directory 
Shell :: restart bluetooth kali 
Shell :: file name from path linux 
Shell :: cargo new lib 
Shell :: Could not install packages due to an EnvironmentError: [WinError 5] Access is denied: 
Shell :: ubuntu cat last 10 lines 
Shell :: how to run a .sh file 
Shell :: name stash 
Shell :: pimcore setup / installation 
Shell :: bash memory 
Shell :: termux update 
Shell :: install mongodb on ec2 ubuntu 18.04 
Shell :: set up ssh for github 
Shell :: NGINX systemd service file 
Shell :: windows terminal background image 
Shell :: gitlab push to create 
ADD CONTENT
Topic
Content
Source link
Name
5+9 =