![]() ![]() Here we are using the cut command to open the /etc/passwd file, whilst telling it to use “:” as the field delimiter, and to output only the first field. We can do so easily by manipulating the output, by using the cut command. With this in mind, to list the users and display only the username we need to output this file, whilst only focussing on displaying the contents of the first field (username) for each entry in the file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |