Quantcast
Channel: Automating removal of legacy entries in /etc/group - Ask Ubuntu
Browsing latest articles
Browse All 2 View Live

Answer by cmak.fr for Automating removal of legacy entries in /etc/group

yes the grep idea is fast and reliable. Take care to always have the /etc/group file exists. You can save the output of grep in a variable then rewrite the file :: newGroup=$(grep -v '+' /etc/group);...

View Article



Automating removal of legacy entries in /etc/group

I'm removing entries in /etc/group programmatically. Because I cannot use grep, cat, or cut for this exercise, I wrote my own program that can produce stdout and stdout data to essentially read a...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images