newbie! help please!
hey there everyone, this is a very easy question but i just cant seem to work it out, i have just started stduying linux in a diploma of network engineering..
all i need is the command to type in shell to make a copy of the /etc/group and the /etc/passwd files and merge them into another file called info mv etc/group info or cp etc/group then mv group info? any help would be great! thanks |
Since both are text files, a simple way would be:
cat /etc/group > info cat /etc/passwd >> info |
All times are GMT -5. The time now is 12:04 PM. |