Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

bash remove empty line

sed -r '/^s*$/d'
Comment

how to remove blank lines in bash

grep "S" file.txt
Comment

bash how to delete blank lines

sed -i '/^$/d' foo
Comment

PREVIOUS NEXT
Code Example
Shell :: running splash in docker command line 
Shell :: current time linux 
Shell :: kill cron proccess ubuntu terminal 
Shell :: install msf in termux 
Shell :: post webhook bash 
Shell :: build docker file with no cache 
Shell :: how to git login in terminal 
Shell :: install microsoft edge terminal 
Shell :: mac see current path 
Shell :: find only files linux 
Shell :: zip a file terminal 
Shell :: git diff two commits 
Shell :: git take ours 
Shell :: how to kill all emulator 
Shell :: install gradle 
Shell :: vijm jump to end of file 
Shell :: git go back to previous commit 
Shell :: new branch from existing branch 
Shell :: install python 3.10 on raspberry pi 
Shell :: create pdf from images linux 
Shell :: mac compress tar.gz pc 
Shell :: kill process using cmd 
Shell :: Unzip all zip files in a proper directory 
Shell :: nvidia proprietary driver arch linux 
Shell :: dns benchmark arch linux 
Shell :: commit git 
Shell :: package manager dotnet 5.0 frameworks 
Shell :: putty ubuntu 
Shell :: add file in ignored folder git 
Shell :: Package signatures do not match previously installed version; ignoring! 
ADD CONTENT
Topic
Content
Source link
Name
6+8 =