Search Results

Search: Posts Made By: cherrywinter
1,612
Posted By cherrywinter
adding data behind a line
Hi,

I need to search for the line with the particular group name and add the user into the group. The file format is the same as /etc/group
The code i wrote is
egrep "^$newGID" $group...
2,278
Posted By cherrywinter
help! im stuck..
I want to search for the line with the group name and add the user into the group. The file format is the same as /etc/group
The code i wrote is
egrep "^$newGID" $group >/dev/null

FS=":"...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 08:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy