Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

regex last word in lin

Just use "$" to specify matching a pattern at the end of each line.
Example with grep:
grep "pattern$" file.txt
Comment

PREVIOUS NEXT
Code Example
Shell :: how to add a zip file 
Shell :: how to compress files in powershell 
Shell :: how to move git clone to another git repo 
Shell :: modifier un nom de branche git 
Shell :: bash manual 
Shell :: powershell import-certificate trusted publisher 
Shell :: git make new branch 
Shell :: mount a folder from windows inside wsl 
Shell :: babel source maps 
Shell :: how to pass docker hub credentials for k8s pods 
Shell :: how to delete local master branch in git 
Shell :: sort linux 
Shell :: docker logs path 
Shell :: rsync delete old files 
Shell :: kubectl logs with grep 
Shell :: install moment.js 
Shell :: how to change the time in kali linux 
Shell :: install magento 2 docker 
Shell :: grpc client 
Shell :: get files with name linux 
Shell :: linux copy directory 
Shell :: drupal update config install 
Shell :: pgadmin terminal connect 
Shell :: ssh bad owner permissions 
Shell :: mac terminal curl trim response 
Shell :: merge another branch into current 
Shell :: where are chocolatey packages installed 
Shell :: github to gitlab 
Shell :: Installing Dradis 
Shell :: linux source env file 
ADD CONTENT
Topic
Content
Source link
Name
3+1 =