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 :: ubuntu activate network interface on boot 
Shell :: linux bash if else 
Shell :: linux zip file 
Shell :: cmd echo without newline 
Shell :: Files by size 
Shell :: How to Block Ports in UFW Ubuntu Firewall 
Shell :: python libraries for game development 
Shell :: bash rename multiple files pattern 
Shell :: restart bind centos 8 
Shell :: awk field separator multiple characters 
Shell :: execute bash script with sudo 
Shell :: flutter step to release appbundle 
Shell :: installing font awesome brand icons 
Shell :: chown a file 
Shell :: how to install wsl 2 
Shell :: how to delete all ufw rules 
Shell :: install vue native globally 
Shell :: firebase realtime database delete all data 
Shell :: uninstall all pip packages 
Shell :: terminal show running processes tree mac os 
Shell :: create requirements file from project add them to poetry dependency 
Shell :: sudo swapoff 
Shell :: ubuntu navigate to directory in windows 
Shell :: fetch a specific branch 
Shell :: install intellij 
Shell :: ubuntu create user 
Shell :: eliminare spooler di stampa 
Shell :: dpkg: error processing package nginx (--configure): dependency problems - leaving unconfigured 
Shell :: bubulle epitceh 
Shell :: appium inspector is getting 304 error 
ADD CONTENT
Topic
Content
Source link
Name
2+1 =