Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

sed script "etc/psswd"

sed 's/:[^:]*$//;s/:.*:/ /' /etc/passwd
Source by www.unix.com #
 
PREVIOUS NEXT
Tagged: #sed #script
ADD COMMENT
Topic
Name
3+7 =