A super basic example of this can be seen when pairing with the ls command. xargs allows you to run additional commands against the output of a given command. Ls+xargs-This pairing was new to me however, it was really interesting to learn and has some potentially game-changing applications. You can find more information about the command here. For example, if you wanted to find directories that matched a specific name, you could use something like this: find path/ -type d -iname '*dir_name*' So without any further delay, let's jump into these.įind-This command is a part of findutils and allows for custom search commands. After processing the results, 17 of the commands emerged as being essential or at least hugely beneficial to the Linux sysadmin job. A few months ago, I asked the Enable Sysadmin contributor community to help me make a list of their most essential commands.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |