Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

sed remove empty lines

sed '/^$/d' /tmp/data.txt
Comment

sed remove all line breaks

tr -d '
' < input.txt > output.txt
Comment

PREVIOUS NEXT
Code Example
Shell :: run docker redis localhost 
Shell :: how to add remove origin url 
Shell :: give write-access of a folder to all users in linux? 
Shell :: starting apacha fail 
Shell :: browserrouter react not working install 
Shell :: cancel a commit not pushed 
Shell :: how to change swap space on ubuntu 
Shell :: Missing essential plugin: org.jetbrains.android Please reinstall Android Studio from 
Shell :: composer require maatwebsite/excel install 
Shell :: ubuntu remove kubelet 
Shell :: mac os terminal bash command not found 
Shell :: how to check hard disk space linux 
Shell :: git can we reset a new branch to a specific commit 
Shell :: how to swap ubuntu 
Shell :: git remove all local commits 
Shell :: command not found: neovim 
Shell :: corntab using nano 
Shell :: live server vim 
Shell :: open avd manager linux 
Shell :: ubuntu change permissions on folder and subfolders 
Shell :: install tkinter 
Shell :: xrandr add 1920 
Shell :: device manager windows 10 run 
Shell :: force remove directory windows 
Shell :: spacy install en_core_web_lg 
Shell :: ubuntu server antivirus 
Shell :: install clockwork laravel 
Shell :: install scikit learn windows 
Shell :: snapd install 
Shell :: git change branch name 
ADD CONTENT
Topic
Content
Source link
Name
5+7 =