Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

linux check line exist in file

[ grep -Fxq "string" file.txt ] || echo "not found"
Comment

PREVIOUS NEXT
Code Example
Shell :: git ignore remove 
Shell :: pod reinstall 
Shell :: docker no sudo 
Shell :: wifi adapter not detected ubuntu 
Shell :: disable selinux in redhat 
Shell :: apt install zbar 
Shell :: kill process in windows using port number 
Shell :: Ignore insecure files and continue [y] or abort compinit [n] 
Shell :: linux invalid filename fix 
Shell :: embed photos google drive 
Shell :: how to get the size of directory in linux 
Shell :: bash gnome-terminal Unable to init server: Could not connect: Connection refused # Failed to parse arguments: Cannot open display: 
Shell :: git change crlf to lf 
Shell :: reset iptables ubuntu 
Shell :: pytesseract 
Shell :: how to push git 
Shell :: boost volume ubuntu 
Shell :: how to convert openssl to keytool 
Shell :: making file executable linux 
Shell :: how to add path in ubuntu 
Shell :: dash bootstrap install 
Shell :: shell: search a substring in another string 
Shell :: uninstall dependencies npm 
Shell :: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) 
Shell :: uninstall openshot linux 
Shell :: git delete remote branch error: unable to delete remote ref does not exist 
Shell :: uninstall vmware in ubuntu 
Shell :: how to know what container is using a volume? 
Shell :: ubuntu 20.04 openvpn client 
Shell :: git clone in gitpython 
ADD CONTENT
Topic
Content
Source link
Name
9+3 =