Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

delete lines that contain a pattern in unix

sed -i '/pattern to match/d' ./infile
Comment

PREVIOUS NEXT
Code Example
Shell :: how to install rebar3 
Shell :: ls order by filename length 
Shell :: pyaudio windows fail 
Shell :: how to install drawing in ubuntu 
Shell :: setup commandline vscode in mac 
Shell :: ubuntu open with software install not working 
Shell :: ssh passphrase stop prompting 
Shell :: bash: count number of lines 
Shell :: git push empty folders 
Shell :: Failed to mount cgroup at /sys/fs/cgroup/systemd: Operation not permitted 
Shell :: vscode terminal shell font broken 
Shell :: conda create new environment in specified location 
Shell :: package github.com/golang-migrate/migrate is not a main package 
Shell :: zypper install build-essential 
Shell :: download powershell 7.2.1 
Shell :: git patch staged to file 
Shell :: first 3 lines of a file 
Shell :: npm install web3 vue 
Shell :: nc http server 
Shell :: Make an existing Git branch track a remote branch 
Shell :: generate jks certificate 
Shell :: installing whatsapp 
Shell :: add dir to your path kali 
Shell :: git cherry pick example 
Shell :: How do I rename a local Git branch? 
Shell :: ubuntu gui manager 
Shell :: stop mariadb 
Shell :: install pgadmin 
Shell :: uninstall kite 
Shell :: cargo test specific test 
ADD CONTENT
Topic
Content
Source link
Name
9+9 =