In: Computer Science
Linux
Create a simple 'user' file -user name, user id, some few other
fields (at your discretion). Name it 'users'. Enter about 10
entries there.
Create a simple 'user_data' file -user name, phone, address etc at your discretion.. User names in both files should match. So there would be 10 users in both files. You probably want to do these files as tab -separated, rather than space separated.
check out the solution and do COMMENT if any queries.
---------------------------------------------------------------------------------
touch - create file command
printf - prints the given text with '\t' tab as delimeter.
>> - this operator used to insert the printf text into given file - 'users.txt'
cat < filename - displays the file contents
-----------------------------------
2.