Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

bash remove empty line

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

linux remove empty lines

sed -i '/^$/d' [file_name]
Comment

PREVIOUS NEXT
Code Example
Shell :: npm save as dev dependency 
Shell :: git show only merge commits 
Shell :: bash script how to show a file by using less 
Shell :: git stash unstaged 
Shell :: how to check for tmp 
Shell :: How to completely remove Mod Pagespeed from Ubuntu 
Shell :: tmux set color 
Shell :: copy file using powershell script 
Shell :: cisco save running config 
Shell :: check solidity version 
Shell :: ubuntu touchpad not working 
Shell :: zsh syntax highlighting plugin 
Shell :: dockerfile prevent exit 
Shell :: linux batch resize jpg 
Shell :: ngitignore 
Shell :: install wp-cli 
Shell :: linux screen 
Shell :: disable pre commit hook 
Shell :: linux command after create folder cd it 
Shell :: open gui of git repo 
Shell :: add directory to path windows 10 
Shell :: fix brew 
Shell :: execute as another user linux 
Shell :: please rebuild precompiled header 
Shell :: xampp archlinux 
Shell :: execute powershell file windows 
Shell :: alpine set keyboard layout 
Shell :: bun sh install 
Shell :: ubuntu kill specific port 3000 
Shell :: linux append group 
ADD CONTENT
Topic
Content
Source link
Name
5+7 =